14 Sep
2003
14 Sep
'03
12:39
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sat, 13 Sep 2003 13:47:42 -0400 "Chun Ki Shin"wrote: > hi, guys, > > I can't open emacs as a root. > When I tried, I got the following message, > > linux:/home/shin0135/03fall/cs5551_uid/pro1 # emacs memo3.c & > [1] 2925 > linux:/home/shin0135/03fall/cs5551_uid/pro1 # Xlib: connection to > ":0.0" refused by server > Xlib: Invalid XDM-AUTHORIZATION-1 key (failed key comparison) > emacs: Cannot connect to X server :0.0. > Check the DISPLAY environment variable or use `-d'. > Also use the `xhost' program to verify that it is set to permit > connections from your machine. > > wha can I do to fix this ..? As root:export DISPLAY= :0.0 - From anmother window as a user: foo@ :~> xhost + being added to access control list - -- Jerry Feldman Boston Linux and Unix user group http://www.blu.org PGP key id:C5061EA9 PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245 FB00 3ED5 C506 1EA9 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux) iD8DBQE/ZGF0+wA+1cUGHqkRAjuHAKCDjUhXHMdjoFZvq1M5xFkstkDOXACdHuDE 2mpx7bzpq8/EmzQfmWOo2AU= =4Hrt -----END PGP SIGNATURE-----