![](https://seccdn.libravatar.org/avatar/4d316d8e896806314ca37210ebc6a103.jpg?s=120&d=mm&r=g)
Zaphod Beebelbrox schrieb:
ich habe ein Problem unter SuSE 7.2: Wenn ich unter WindowMaker (als root) die bash öffne und auf emacs zugreifen will passiert sowas: ----------------------------------------------- root@linux:/etc > emacs Xlib: connection to ":0.0" refused by server Xlib: Invalid MIT-MAGIC-COOKIE-1 key 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.
root@linux:/etc > echo $DISPLAY :0.0 root@linux:/etc > xhost Xlib: connection to ":0.0" refused by server Xlib: Invalid MIT-MAGIC-COOKIE-1 key xhost: unable to open display ":0.0" root@linux:/etc > xhost + Xlib: connection to ":0.0" refused by server Xlib: Invalid MIT-MAGIC-COOKIE-1 key xhost: unable to open display ":0.0"
Könnte es sein, daß Du vorher ein su gemacht hast und dadurch zum root geworden bist? Mach mal als User vor dem su-Befehl ein xhost + und wechsle dann in den root-Account. Dann solte es gehen. Gruß Jens