Hallo Andreas,
Zitat
leider aber nicht die Lösung.
...leider
Das Problem ist zu wissen wo genau die Ursache zu finden ist... dann wäre auch eine Lösung machbar; irgendwie
Ich habe in meiner Script-Sammlung etwas gefunden was Du vielleicht mal testen möchtest.
Auf meinem GENOME 12.3 Live-Linux sieht dies so aus:
Beispiel 'nautilus' mit root-Rechten starten:
linux@linux:~> sudo nautilus
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.
No protocol specified
** (nautilus:2526): WARNING **: Could not open X display
(nautilus:2526): Gtk-WARNING **: cannot open display:
linux@linux:~>
Alles anzeigen
linux@linux:~> ./xroot nautilus
Initializing nautilus-open-terminal extension
Shutting down nautilus-open-terminal extension
linux@linux:~>
(hat also mit 'xroot' funktioniert)
==========
Beispiel 'gedit' mit root-Rechten starten:
linux@linux:~> sudo gedit
No protocol specified
** (gedit:2668): WARNING **: Could not open X display
Cannot open display:
Run 'gedit --help' to see a full list of available command line options.
linux@linux:~>
(ebenso, hat mit 'xroot' funktioniert; ich habe aus gedit eine Datei nach '/boot' abgespeichert)
==========
Das Script 'xroot':
#!/bin/sh
# ref.: http://www.tldp.org/HOWTO/Remote-X-Apps-7.html
if [ $# -lt 1 ]
then echo "usage: `basename $0` command" >&2
exit 2
fi
su - -c "exec env DISPLAY='$DISPLAY' \
XAUTHORITY='${XAUTHORITY-$HOME/.Xauthority}' \
"'"$SHELL"'" -c '$*'"
# end of script 'xroot'
Alles anzeigen
den Code in eine Datei kopieren,
abspeichern als z.B. xroot,
"chown 755 xroot"
nach /usr/local/bin/ kopieren
>>> Funktionierts "xroot thunar" bei Dir?
(übrigens: es gibt auch noch 'gksu' bzw. 'gksudo' ?)
Gruss,
Roland