I didn't work, until I caught on the typo (ticks instead of backticks). Here is the corrected script:
#!/bin/sh eval `dbus-launch --sh-syntax --exit-with-session` /usr/lib/libgconf2-4/gconfd-2& gnome-terminal
Now it does indeed work. I can gksudo this script and can also invoke it remotely.
I didn't work, until I caught on the typo (ticks instead of backticks). Here is the corrected script:
#!/bin/sh with-session` libgconf2- 4/gconfd- 2&
eval `dbus-launch --sh-syntax --exit-
/usr/lib/
gnome-terminal
Now it does indeed work. I can gksudo this script and can also invoke it remotely.