Can't get gksudo to work for non-root user
Russell Blau
russblau at hotmail.com
Wed Jan 17 13:53:49 UTC 2007
"Peter Garrett" <peter.garrett at optusnet.com.au> wrote in message
news:20070117193626.c779310e.peter.garrett at optusnet.com.au...
> On Tue, 16 Jan 2007 20:23:36 -0500
> "Russell Blau" <russblau at hotmail.com> wrote:
>
> [snip]
>> russell at abraham:~ $ gksudo -d -u dashboard xterm No ask_pass set,
> [snip]
>
> If you are running X as "russell", the system will complain if you try to
> run an X app as another user ( the other user does not "own" the X
> session on display :0 , and is not authorised to connect to the X server
> for that display)
OK, then how does one run an X application as another user?
> In addition, unless "dashboard" is in the "admin" group, or otherwise
> authorised to used sudo, any attempt to use sudo/gksudo will fail for that
> user.
No, that's not the problem. "sudo -u dashboard echo foo", for example,
works fine. It's only gksudo that causes an error.
Thanks for commenting, though.
Russ
More information about the ubuntu-users
mailing list