gksudo Xauth magic not working for non-root, non-self user

David Mandelberg mandelbergd at eth0.is-a-geek.org
Sun Feb 6 03:48:30 UTC 2005


Hi,

When I try to run gksudo to root or my current user xauth magic works, but for
any other user it doesn't:

david at local$ gksudo -u root 'xmessage hi'
[shows xmessage window]
david at local$ gksudo -u david 'xmessage hi'
[shows xmessage window]
david at local$ gksudo -u david-chat 'xmessage hi'
Xlib: connection
Error: Can't open display: :0.0

Any ideas?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 256 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20050205/fcf645e4/attachment.sig>


More information about the ubuntu-users mailing list