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?
Use
xdg-su -u user -c command