Matlab prompt is not opening when Trying to install matlab 2021b in ubuntu 20.04

Trying to install matlab in ubuntu 20.04, but after running the command sudo./install.sh, nothing shows up. Not able to understand why the prompt of matlab isnt showing up

19 Comments

I have seen two other people report the same difficulty, one for the same release as you, and the other person was using Parrot OS, if I recall correctly.
Sorry I have not seen any solutions yet
Thank you sir, hope someone will give the solution
Doesn't work for (X)ubunto 20.04 ... ´cause you can't do su export ....
There is only sudo available.
xhost +SI:localuser:root
finally worked for me :-)
The solution pointed out by Kondamu worked for me as well: run
xhost +SI:localuser:root
before running the install script as super user.
Same problem here, nothing happens when I run ./install
The problem is that it will not rum in sudo, and as a regular user it cannot use the default directories
xhost +SI:localuser:root
This fixed it, thanks a lot!
and what if i wish to install matlab without a display/x server?
xhost +SI:localuser:root
This solve the issue for me too.
Thanks.
Thanks for helping, it took about 2 hours to to get it installed and found that your comment about xhost helped me a ton.
had the same issue,
xhost +SI:localuser:root
worked for me as well. Thanks!!

Sign in to comment.

 Accepted Answer

It worked for me in Ubuntu when I ran the installation as superuser.
sudo -s --> password --> cd PATH_TO_DIC --> sudo .\install

Categories

Community Treasure Hunt

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

Start Hunting!