Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

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

From: ``-_-´´) -- Fernando <Ubuntu(at)bugabundo.net>
Date: Mon Oct 08 2007 - 11:36:29 EDT


On Monday 08 October 2007 16:24:44 Andrew Glen-Young wrote:
> On 08/10/2007, (``-_-´´) -- Fernando <Ubuntu@bugabundo.net> wrote:
> > I did :
> > #su OTHERUSER
> > and :
> > OTHERUSER@PC:~$ gedit
> > just to get:
> > Xlib: connection to ":0.0" refused by server
> > Xlib: No protocol specified
> >
> > Any ideas?
>
> The problem is that the user you're changing to does not have
> permissions to write to your Xserver socket.
> I'm not sure of the "best" way to fix this, but using xhost(1) should work.
>
> user@host $ xhost +otheruser
> user@host $ su otheruser
> etc...

Got this
$ xhost +OTHERUSER
xhost: bad hostname "OTHERUSER"

>
> I cannot verifiy that this works as I am running headless at the moment.
>

It seems you have a bit of head scratching to do. lolol

> Hope this helps.
>
> - A.
>

-- 
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 Mon Oct 8 11:38:04 2007

This archive was generated by hypermail 2.1.8 : Thu Jun 19 2008 - 02:02:25 EDT

Do you need help?X

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