Re: cannot open display
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Roland M. Kruggel wrote:
| Hallo Liste,
|
| ich logge mich im KDE grundsätzlich als normaler User ein. Für
| administrative Tätigkeiten wechsele ich im Terminal dann mittels
| 'su -' zu root.
|
| Wenn ich jetzt ein Programm als root aufrufe welches dir grafische
| Oberfläche benötigt (hier z.b. firestarter) bekomme ich folgende
| Fehlermeldung:
Hallo, Roland!
Bevor Du root wirst solltest du dann entweder (quick and dirty)
'xhost +' eintippen (oder besser xhost 127.0.0.1, oder xhost
localhost) und dann nachdem su musst Du noch die DISPLAY Variable
passend setzen, also evtl. ein 'export DISPLAY=localhost:0'. Ich
persönlich mache das im Profile per default - bin tippfaul.
HTH,
Jan
- --
GPG-KeyID: 82201FC4
Available at my public sks keyserver sks.nerdcamp.net
Please report any problems using sks.nerdcamp.net!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFBClTtvvmCkIIgH8QRAtrEAJ9uDaAVr3dm6lvkWbZc6jMhj3tLRQCfegwH
7Vp7DNBRwasLowFF+qbLoI0=
=fnfB
-----END PGP SIGNATURE-----
Reply to: