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

Nils Kassube kassube at gmx.net
Mon Oct 8 16:10:21 UTC 2007


(``-_-ยดยด) -- Fernando 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?
>
> I have a similar prob with
> 	#sudo -u OTHERUSER APP

Try this:

gksu -u OTHERUSER gedit


Nils




More information about the ubuntu-users mailing list