I have ubuntu + x11 + gnome.
I want to run a graphical application as another user.
However, when I start it from the command line using sudo -u otheruser app
I get the error "No protocol specified".
How can I work arround this?
I have ubuntu + x11 + gnome.
I want to run a graphical application as another user.
However, when I start it from the command line using sudo -u otheruser app
I get the error "No protocol specified".
How can I work arround this?
You probably need to tell your X server to accept connections from another user than the one owning the server instance (you). Look into the xhost command.