Installation doesn't start with admin rights under Linux

25 ビュー (過去 30 日間)
Quant
Quant 2022 年 10 月 24 日
編集済み: Quant 2022 年 10 月 27 日
I have a following pretty weird problem:
First I installed MATLAB 2022b to upgrade to current version. That installation completed with no problem. But it turned out that our IT haven't yet upgraded the license server. So I deleted 2022b and downloaded 2022a.
But I am unable to start the installer. after
sudo ./install
no window appears and it gets stuck. Confusingly, the window does show up pretty quickly after simple
./install
but It doesn't let me to install in the system folders of course.
The log:
(Oct 24, 2022 19:12:01) ##################################################################
(Oct 24, 2022 19:12:01) #
(Oct 24, 2022 19:12:01) # Today's Date:
(Oct 24, 2022 19:12:01) Oct 24, 2022 19:12:01 +0200
(Oct 24, 2022 19:12:01)
(Oct 24, 2022 19:12:01) System Info
(Oct 24, 2022 19:12:01) OS: Linux Ubuntu 18.04.1 LTS
(Oct 24, 2022 19:12:01) Arch: amd64
(Oct 24, 2022 19:12:01) Language: de_DE
(Oct 24, 2022 19:12:01) Release Description: R2022a Update 5
(Oct 24, 2022 19:12:01) Installer build number: 9.12.0.2039608
(Oct 24, 2022 19:12:01) Session key: [redacted]
(Oct 24, 2022 19:12:02) Activation Service Reachable? true
(Oct 24, 2022 19:12:02) Product Files Folder: /home/a**/Downloads/Matlab_2022a/archives
This is a remote machine with multiple users. It is accessed over VNC.
Addition: there appears to be a problem with MATLABWindow application. Here is output when I run it standalone:
[1025/194633.365357:INFO:client_app.cpp(368)] In ClientApp::OnBeforeChildProcessLaunch
[1025/194633.365468:INFO:client_app.cpp(373)] Not appending enable-binary-transport
[1025/194633.366429:INFO:client_app.cpp(368)] In ClientApp::OnBeforeChildProcessLaunch
[1025/194633.366464:INFO:client_app.cpp(373)] Not appending enable-binary-transport
Xlib: extension "XInputExtension" missing on display ":2.0".
[1025/194633.468135:INFO:client_app.cpp(368)] In ClientApp::OnBeforeChildProcessLaunch
[1025/194633.468178:INFO:client_app.cpp(373)] Not appending enable-binary-transport
Xlib: extension "RANDR" missing on display ":2.0".
Client is not authorized to connect to Server[1025/194633.470825:INFO:client_app.cpp(949)] Terminating transport...
[1025/194633.470972:INFO:client_app.cpp(950)] Is Transport Initialized? 0
[1025/194633.471047:INFO:client_app.cpp(952)] Transport not intialized. No need to terminate.
Xlib: extension "RANDR" missing on display ":2.0".
[1025/194633.477738:WARNING:gpu_process_host.cc(1233)] The GPU process has crashed 1 time(s)
[1025/194633.478165:INFO:client_app.cpp(368)] In ClientApp::OnBeforeChildProcessLaunch
[1025/194633.478193:INFO:client_app.cpp(373)] Not appending enable-binary-transport
Client is not authorized to connect to Server[1025/194633.480868:INFO:client_app.cpp(949)] Terminating transport...
[1025/194633.480966:INFO:client_app.cpp(950)] Is Transport Initialized? 0
[1025/194633.481014:INFO:client_app.cpp(952)] Transport not intialized. No need to terminate.
[1025/194633.485862:WARNING:gpu_process_host.cc(1233)] The GPU process has crashed 2 time(s)
[1025/194633.486185:INFO:client_app.cpp(368)] In ClientApp::OnBeforeChildProcessLaunch
[1025/194633.486209:INFO:client_app.cpp(373)] Not appending enable-binary-transport
Client is not authorized to connect to Server[1025/194633.488440:INFO:client_app.cpp(949)] Terminating transport...
[1025/194633.488545:INFO:client_app.cpp(950)] Is Transport Initialized? 0
[1025/194633.488605:INFO:client_app.cpp(952)] Transport not intialized. No need to terminate.
[1025/194633.493959:WARNING:gpu_process_host.cc(1233)] The GPU process has crashed 3 time(s)
[1025/194633.494349:INFO:client_app.cpp(368)] In ClientApp::OnBeforeChildProcessLaunch
[1025/194633.494379:INFO:client_app.cpp(373)] Not appending enable-binary-transport
Client is not authorized to connect to Server[1025/194633.497524:INFO:client_app.cpp(949)] Terminating transport...
[1025/194633.497743:INFO:client_app.cpp(950)] Is Transport Initialized? 0
[1025/194633.497925:INFO:client_app.cpp(952)] Transport not intialized. No need to terminate.
[1025/194633.504148:WARNING:gpu_process_host.cc(1233)] The GPU process has crashed 4 time(s)
[1025/194633.504626:INFO:client_app.cpp(368)] In ClientApp::OnBeforeChildProcessLaunch
[1025/194633.504662:INFO:client_app.cpp(373)] Not appending enable-binary-transport
Client is not authorized to connect to Server[1025/194633.507777:INFO:client_app.cpp(949)] Terminating transport...
[1025/194633.508012:INFO:client_app.cpp(950)] Is Transport Initialized? 0
[1025/194633.508208:INFO:client_app.cpp(952)] Transport not intialized. No need to terminate.
[1025/194633.514138:WARNING:gpu_process_host.cc(1233)] The GPU process has crashed 5 time(s)
[1025/194633.514720:INFO:client_app.cpp(368)] In ClientApp::OnBeforeChildProcessLaunch
[1025/194633.514763:INFO:client_app.cpp(373)] Not appending enable-binary-transport
Client is not authorized to connect to Server[1025/194633.523289:INFO:client_app.cpp(949)] Terminating transport...
[1025/194633.523523:INFO:client_app.cpp(950)] Is Transport Initialized? 0
[1025/194633.523708:INFO:client_app.cpp(952)] Transport not intialized. No need to terminate.
[1025/194633.529555:WARNING:gpu_process_host.cc(1233)] The GPU process has crashed 6 time(s)
[1025/194633.530243:INFO:client_app.cpp(368)] In ClientApp::OnBeforeChildProcessLaunch
[1025/194633.530297:INFO:client_app.cpp(373)] Not appending enable-binary-transport
Client is not authorized to connect to Server[1025/194633.533829:INFO:client_app.cpp(949)] Terminating transport...
[1025/194633.534107:INFO:client_app.cpp(950)] Is Transport Initialized? 0
[1025/194633.534259:INFO:client_app.cpp(952)] Transport not intialized. No need to terminate.
[1025/194633.540706:WARNING:gpu_process_host.cc(1233)] The GPU process has crashed 7 time(s)
[1025/194633.630043:INFO:client_app.cpp(368)] In ClientApp::OnBeforeChildProcessLaunch
[1025/194633.630134:INFO:client_app.cpp(373)] Not appending enable-binary-transport
[1025/194633.631304:INFO:client_app.cpp(368)] In ClientApp::OnBeforeChildProcessLaunch
[1025/194633.631363:INFO:client_app.cpp(373)] Not appending enable-binary-transport
Client is not authorized to connect to Server[1025/194633.633237:INFO:client_app.cpp(949)] Terminating transport...
[1025/194633.633443:INFO:client_app.cpp(950)] Is Transport Initialized? 0
[1025/194633.633512:INFO:client_app.cpp(952)] Transport not intialized. No need to terminate.
Xlib: extension "XInputExtension" missing on display ":2.0".
Xlib: extension "XInputExtension" missing on display ":2.0".
[1025/194633.638759:WARNING:gpu_process_host.cc(1233)] The GPU process has crashed 8 time(s)
[1025/194633.643360:WARNING:cefclient_gtk.cpp(44)] X error received: type 0, serial 236, error_code 8, request_code 42, minor_code 0
[1025/194633.643654:INFO:WindowEventHandler.cpp(603)] In OnBrowserCreated
[1025/194633.644235:INFO:client_app.cpp(368)] In ClientApp::OnBeforeChildProcessLaunch
[1025/194633.644266:INFO:client_app.cpp(373)] Not appending enable-binary-transport
[1025/194633.644376:INFO:client_app.cpp(368)] In ClientApp::OnBeforeChildProcessLaunch
[1025/194633.644407:INFO:client_app.cpp(373)] Not appending enable-binary-transport
[1025/194633.644732:INFO:client_app.cpp(368)] In ClientApp::OnBeforeChildProcessLaunch
[1025/194633.644761:INFO:client_app.cpp(373)] Not appending enable-binary-transport
Client is not authorized to connect to Server[1025/194633.646714:INFO:client_app.cpp(949)] Terminating transport...
[1025/194633.646827:INFO:client_app.cpp(950)] Is Transport Initialized? 0
[1025/194633.646885:INFO:client_app.cpp(952)] Transport not intialized. No need to terminate.
[1025/194633.652860:WARNING:gpu_process_host.cc(1233)] The GPU process has crashed 9 time(s)
[1025/194633.652911:FATAL:gpu_data_manager_impl_private.cc(439)] GPU process isn't usable. Goodbye.
Trace/Breakpoint ausgelöst

採用された回答

Ankit
Ankit 2022 年 10 月 27 日
If I understand correctly, you are not able to run the installer on your Linux machine with admin privileges. It shows no error message & no window appears. You can run the installer without sudo, but the installer then does not have the required permissions.
This seems to be related to the environment variables not being passed from your user account to root when running the installer.
For a workaround & more information you can refer to the Accepted Answer here –
  1 件のコメント
Quant
Quant 2022 年 10 月 27 日
編集済み: Quant 2022 年 10 月 27 日
Thanks,
xhost +
did help
Still odd that the problem occurs with 2022a, but not with 2022b

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

タグ

製品


リリース

R2022a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by