changing user with SU, gives "Xlib: connection to ":0.0" refused by server" (Partily solved)
Andrew Glen-Young
aglenyoung at gmail.com
Thu Oct 11 10:03:39 UTC 2007
On 11/10/2007, (``-_-ยดยด) -- Fernando <Ubuntu at bugabundo.net> wrote:
>
> I tried a different approach:
> sudo xhost +127.0.0.1
>
> That way, i guess, it will only open a connection to the localhost.
> What do you think?
Seems like a good enough workaround. However, the suggestion to use
'gksudo' or 'gksu' is the proper, accepted solution. So use 'gksudo'
if you can.
My suggestion of using 'xhost' was really only for a quick 'n dirty
hack and I wouldn't really suggest you use it.
- A.
More information about the ubuntu-users
mailing list