cgubjo
01.04.03, 21:37
hallo
problem beim starten von X-anwendungen als su im terminal
bsp(<.....Eingabe, >.....Ausgabe).:
< su
< passwort
< emacs /etc/fstab
> xLib: Connection to ":0.0" refused by server.
> xLib: No protocoal specified.
> 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.
-------------------
wenn ich dann xhost eintippe kommt folgendes:
> xLib: Connection to ":0.0" refused by server.
> xLib: No protocoal specified.
> xhost: unable to open display ":0.0".
----------------------
die environment variable DISPLAY sieht folgendermaßen aus:
DISPLAY=:0.0
wenn ich im terminal ohne superuserrechte emacs tippe funktioniert alles einwandfrei.
danke schon mal im voraus
lg sebastian
problem beim starten von X-anwendungen als su im terminal
bsp(<.....Eingabe, >.....Ausgabe).:
< su
< passwort
< emacs /etc/fstab
> xLib: Connection to ":0.0" refused by server.
> xLib: No protocoal specified.
> 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.
-------------------
wenn ich dann xhost eintippe kommt folgendes:
> xLib: Connection to ":0.0" refused by server.
> xLib: No protocoal specified.
> xhost: unable to open display ":0.0".
----------------------
die environment variable DISPLAY sieht folgendermaßen aus:
DISPLAY=:0.0
wenn ich im terminal ohne superuserrechte emacs tippe funktioniert alles einwandfrei.
danke schon mal im voraus
lg sebastian