changing user with SU, gives "Xlib: connection to ":0.0" refused by server"
(=?utf-8?q?=60=60-=5F-=C2=B4=C2=B4?=) -- Fernando
Ubuntu at bugabundo.net
Mon Oct 8 15:36:29 UTC 2007
On Monday 08 October 2007 16:24:44 Andrew Glen-Young wrote:
> On 08/10/2007, (``-_-´´) -- Fernando <Ubuntu at bugabundo.net> wrote:
> > I did :
> > #su OTHERUSER
> > and :
> > OTHERUSER at 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 at host $ xhost +otheruser
> user at 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
-------------- 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/20071008/c3b4a378/attachment.sig>
More information about the ubuntu-users
mailing list