install issues 2021b on Ubuntu

R2021b$ ./install
terminate called after throwing an instance of 'std::runtime_error'
what(): Failed to launch web window with error: Unable to launch the MATLABWindow application. The exit code was: 127
Aborted

4 Comments

The "answer" I posted was more appropriate as a comment. Reposted for informational purposes.
I suggested
xhost +SI:localuser:root
following the comment at
John replied:
"xhost does not help. xeyes works as root. DISPLAY is set and X11 is working without issue."
Chris
Chris on 4 Nov 2021
Edited: Chris on 4 Nov 2021
It sounds like you're trying to install as root?
If so, can you install it as a local user with sudo instead? It doesn't appear the GUI is designed to work as root.
If not, perhaps this post will be helpful:
I've tried as root and non-root, both fail.
But the install matrix shows aht support for Ubuntu 16.04 has been dropped? And that is the platform that I am using.
I guess that's your answer, then. There's already not a ton of support or expertise available for linux installs. I wouldn't know how to troubleshoot it, other than upgrade one, or downgrade the other

Sign in to comment.

Categories

Products

Release

R2021b

Asked:

on 3 Nov 2021

Answered:

on 16 Nov 2021

Community Treasure Hunt

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

Start Hunting!