Matlab R2017b not running on Ubuntu 17.10

1 view (last 30 days)
I had worked using Matlab R2017b installed in Ubuntu 17.04. Yesterday I updated to Ubuntu 17.10, and when I tried to run Matlab, I got the following error message: terminate called after throwing an instance of 'std::runtime_error' what(): Unable to launch the MATLABWindow application Fatal Internal Error: std::exception: map::at I had alredy tried to solve it by reinstalling Matlab, but nothing changed. Can anyone help?
  2 Comments
Michael Lee
Michael Lee on 25 Oct 2017
Edited: Michael Lee on 25 Oct 2017
I'm having the same problem. I tried installing on both Wayland and Xorg, and I get the same error message on both.
Edit: Following the instructions here seemed to fix it!
John Hipp
John Hipp on 15 Nov 2017
I have R2017b running on Ubuntu 17.10, but pop-up windows don't work (eg for logging in or for getting Add-Ons).

Sign in to comment.

Answers (1)

Marcos Rogério Fernandes
Marcos Rogério Fernandes on 31 Oct 2017
Try typing that into the terminal:
xhost si:localuser:root
with adm privileges before running the Matlab application. Maybe can fix your problem!
  4 Comments
Ryan
Ryan on 19 Nov 2017
Thank you Marcos. This solved a related problem for me:
GUI did not open when executing "sudo ./install" but did so after I entered this command and tried again.
Shaowu Pan
Shaowu Pan on 9 Feb 2018
this solves the problem for me..
my problem is the matlab seems to be crashed after updating from Ubuntu 16.04 to Ubuntu 17.10.

Sign in to comment.

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!