changing user with SU, gives "Xlib: connection to ":0.0" refused by server" (Partily solved)
(=?utf-8?q?=60=60-=5F-=C2=B4=C2=B4?=) -- Fernando
Ubuntu at bugabundo.net
Thu Oct 11 21:47:23 UTC 2007
On Thursday 11 October 2007 11:03:39 Andrew Glen-Young wrote:
> 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.
using gksu or gksudo -u USER APP will not work.
It fails to connect. only after xhost +a localhost, gksu/gksudo works
Maybe I should report it on launchpad.
Can you guys reproduce this on gutsy?
--
BUGabundo :o)
(``-_-´´) http://Ubuntu.BUGabundo.net
Linux user #443786 GPG key 1024D/A1784EBB
My new micro-blog @ http://BUGabundo.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20071011/86a36a4e/attachment.sig>
More information about the ubuntu-users
mailing list