On Sat, 07 Feb 2004 01:00:48 -0800, Jean Magnan de Bornier muttered: > Le 02/07/04 riki <[EMAIL PROTECTED]> a �crit notamment: > > > Oh, I've got a followup question. > > > > If I'm logged in as a regular user, I open up a terminal, su to root, > > then try to launch emacs. I get the following error: > > > > Xlib: connection to ":0.0" refused by server > > Xlib: No protocol specified. > > > > [...] > > as regular user type "xhost +" before trying to open emacs as root, or > open emacs in the terminal with "emacs -nw"
NO. That'll open up your machine to anyone who tries to connect to it - a SERIOUS security issue. Use sudo to run X programs as root. -- Andrew Farmer [EMAIL PROTECTED]
pgp00000.pgp
Description: PGP signature
