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 commentaires

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 le 4 Nov 2021
Modifié(e) : Chris le 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:
John Dey
John Dey le 4 Nov 2021
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.
Chris
Chris le 5 Nov 2021
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

Connectez-vous pour commenter.

Catégories

Produits

Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by