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 just upgraded to Jauunty alpha6 from intrepid. The bug is new.
gnome-terminal opens fine from my user account. However
gksudo gnome-terminal
sudo gnome-terminal
end with just the line:
Failed to contact the GConf daemon; exiting.
(there was not even a linefeed at the end)
Tried the same wit
Now it works! Both suspend and hibernate work!
Major change since my last report:
hutzpa:/home/am# uname -a
Linux hutzpa 2.6.27-11-generic #1 SMP Thu Jan 29 19:24:39 UTC 2009 i686
GNU/Linux
The weird message I reported earlier:
hutzpa:/home/am# echo mem >/sys/power/state
bash:
I see the same problem. The core problem seems to be this:
hutzpa:/home/am# echo mem >/sys/power/state
bash: echo: write error: No such device or address
hutzpa:/home/am# ll /sys/power/state
-rw-r--r-- 1 root root 4096 2009-01-22 08:19 /sys/power/state
hutzpa:/home/am# uname -a
Linux hutzpa 2.6.