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

Re: Newbee-ish X and root question



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, Mar 25, 2003 at 08:14:44AM -0800, Lukas Latz wrote:
> Normally I log in as a normal user but sometimes I need to su to root
> and would like to start for instance an editor, or something like
> Gnome-Apt and then I get:
> 
> Xlib: connection to ":0.0" refused by server
> Xlib: No protocol specified

Try running xhost +local:localhost as the user you initially logged in
as from an xterm or similar program.  Things will Just Work(tm) then.

- -- 
 .''`.     Baloo Ursidae <baloo@ursine.dyndns.org>
: :'  :    proud Debian admin and user
`. `'`
  `-  Debian - when you have better things to do than fix a system
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+grB3J5vLSqVpK2kRAt+IAJ9xC2ssDHZsC5UptTjQ4tqfONLAsACfXZH4
EheLqsKknMNJKRKg7VLy1LM=
=vOaO
-----END PGP SIGNATURE-----



Reply to: