[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: su/sudo cannot X



On Tuesday 17 January 2006 14:29, Lei Kong wrote:

> $xhost +
> $ sudo -s
> #kedit
> kedit: cannot connect to X server

Leave off the xhost line when using sudo.  It inheirets the parent shell's 
environment.

-- 
Paul Johnson
Email and IM (XMPP & Google Talk): baloo@ursine.ca
Got Jabber?  http://ursine.ca/Ursine:Jabber

Attachment: pgp24YE02aSLu.pgp
Description: PGP signature


Reply to: