Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: changing user with SU, gives "Xlib: connection to ":0.0" refused by server" (Partily solved)

From: ``-_-´´) -- Fernando <Ubuntu(at)bugabundo.net>
Date: Thu Oct 11 2007 - 17:47:23 EDT


On Thursday 11 October 2007 11:03:39 Andrew Glen-Young wrote:
> On 11/10/2007, (``-_-´´) -- Fernando <Ubuntu@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

-- ubuntu-users mailing list ubuntu-users@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

Received on Fri Oct 12 10:31:55 2007

This archive was generated by hypermail 2.1.8 : Thu Jun 19 2008 - 11:42:58 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library