Linux Matlab 2022b "Error Starting Desktop"

33 views (last 30 days)
George Zhou
George Zhou on 28 Dec 2022
Commented: George Zhou on 5 Mar 2023
Whenever I start Matlab 2022b with a new named license, I always have "Error Starting Desktop" error.
When I added -nodesktop optional to matlab, it was fine. However I would like to see desktop.
I have this issue with 2022b and a named license in linux. However it is fine with 2019b and a floating license on the same linux.
  3 Comments
Antoni Jankowski
Antoni Jankowski on 5 Mar 2023
Have you solved this issue? I just bumped into the same thing with R2022b
George Zhou
George Zhou on 5 Mar 2023
No, I didn't. Since Matlab works fine with my Mac, I didn't put much time on this issue.

Sign in to comment.

Answers (1)

Prateek
Prateek on 4 Jan 2023
Edited: Prateek on 4 Jan 2023
Hello George,
I believe one of the solutions provided on the page should resolve the issue.
Hope this helps.
Regards,
Prateek
  2 Comments
George Zhou
George Zhou on 6 Jan 2023
It seems the issue is associated with Java library. However I cannot figure out what is the exactly issue and solution.
matlab -nodesktop
matlab -nojvm
matlab -nodisplay
all are fine.
Linux version:
Virtualization: kvm
Operating System: Debian GNU/Linux rodete
Kernel: Linux 5.19.11-1rodete1-amd64
Architecture: x86-64
Java version:
openjdk version "11.0.13" 2022-12-02
OpenJDK Runtime Environment (build 11.0.13+8-google-release-492526841)
OpenJDK 64-Bit Server VM (build 11.0.13+8-google-release-492526841, mixed mode, sharing)
Prateek
Prateek on 24 Jan 2023
Hi George,
I believe you would have found a solution by now. If that is not the case, I suggest you approach the MathWorks Technical Support for this. Here's the link for it - https://in.mathworks.com/support/contact_us.html?requestedDomain=
Regards,
Prateek

Sign in to comment.

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!