You are not logged in.

#1 2018-09-14 17:25:18

joaocandre
Member
Registered: 2013-02-23
Posts: 166

Can't run Matlab installer with sudo

I'm trying to install Matlab R2017a, and when  I call the installer with sudo, the GUI isn't loaded, but no error message appears. If, on the other hand, I just run the install as a normal user,  everything works but I'm obviously unable to install it to anywhere outside my home folder, which I'd like to avoid.

I don't think there is anything wrong with the installer - could it be something to do with JRE, or do I need additional flags when calling the installer?

Offline

#2 2018-09-14 17:35:53

CarbonChauvinist
Member
Registered: 2012-06-16
Posts: 413
Website

Re: Can't run Matlab installer with sudo

See Running graphical applications as root; but, the real question is why are you installing manually? There appears to be an AUR package for the version you specified (R2017a). Did you already try and have issues with that package?


"the wind-blown way, wanna win? don't play"

Offline

#3 2018-09-15 18:04:05

joaocandre
Member
Registered: 2013-02-23
Posts: 166

Re: Can't run Matlab installer with sudo

@CarbonChauvinist I was not even aware there were packages for Matlab, I've been installing manually for some years now. Good to know anyway!


While I understand that running graphical applications is inherently different if one desires super-user rights, it bugs me that i.e. on my desktop I can safely just run the installer with sudo and it work just fine. However, something I failed to mention on my original post was that I'm running X on my desktop and Wayland on my laptop, where the issue arose, and I suspect that may have been the reason.

Last edited by joaocandre (2018-09-15 18:10:56)

Offline

Board footer

Powered by FluxBB