On Wed, Oct 23, 2013 at 12:57 AM, Ralf Mardorf <ralf.mard...@alice-dsl.net> wrote: > On Tue, 2013-10-22 at 20:34 -0400, Frank McCormick wrote: >> >> I have also had this problem for a while - I thought it was related to >> Mate which I run. >> gksudo will run it here...but pkexec will not. > > I don't know pkexec. Does it allow something gksudo doesn't allow? > If there should be the need to log in as another user with gksudo, this > does the trick: > > xhost + > gksudo -u add_another_user_here "$*" > xhost - > exit
"xhost +" is a sledge-hammer. "xhost +si:localuser:another_user" -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CAOdo=SxN2HeeWezfwuYO+Zje7x69rffUiKadSguX65FnY=u...@mail.gmail.com