flybywire flybywire - 1 year ago 65
Linux Question

X11: run a gnome app as another user

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?

Answer Source


xdg-su -u user -c command
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download