11 Jul
2014
11 Jul
'14
2:57 p.m.
Op 11 jul. 2014 12:37 schreef "Ralf Mardorf" <ralf.mardorf@rocketmail.com> het volgende: [...]
If you want to run a GUI app, e.g. Firefox as user B, while you're in a user A's X session, you need to do something like this:
xhost + ; gksudo -u B firefox
xhost + is a sledgehammer, I anyway use it that way, xhost could be used smarter.
I haven't tested it, but xhost seems a bit superfluous in combination with gksudo. Doesn't gksudo take care of setting the X auth itself? mvg, Guus