I don't know where else i can put this, but command line is similar to programming and is programming if you want to make a script rather than just using one line commands but yeah. Anyway, I've tried google and haven't found a fix yet.
I'm using Ubuntu 9.04.
Jaunty or whatever.
Anyway, I can't get a gnome-terminal to open in root.
I can get to root by typing "sudo su" "su" "sudo -s" "sudo -i" and so on.
It's simple enough. But what i want is a shortcut to a root terminal.
It should be possible by making a launcher and setting the command to "sudo gnome-terminal".
Nothing happens. So obviously, it's time to see why.
I open a terminal and type "sudo gnome-terminal" to see the error.
I get "Failed to contact the GConf daemon; exiting."
Okay, here's the debug info.
[Can be gotten by typing "gksu -d -S gnome-terminal"]
Quote:
personoid@smart-linux:~$ gksu -d -S gnome-terminal
No ask_pass set, using default!
xauth: /tmp/libgksu-Mh17Wa/.Xauthority
STARTUP_ID: gksu/gnome-terminal/8822-0-smart-linux_TIME4811426
cmd[0]: /usr/bin/sudo
cmd[1]: -H
cmd[2]: -S
cmd[3]: -p
cmd[4]: GNOME_SUDO_PASS
cmd[5]: -u
cmd[6]: root
cmd[7]: --
cmd[8]: gnome-terminal
buffer: -Failed to contact the GConf daemon; exiting.-
brute force GNOME_SUDO_PASS ended...
No password prompt found; we'll assume we don't need a password.
Failed to contact the GConf daemon; exiting.xauth: /tmp/libgksu-Mh17Wa/.Xauthority
xauth_env: /home/personoid/.Xauthority
dir: /tmp/libgksu-Mh17Wa |
Okay, so basically, I'm completely stumped. I've seen several fixes but none worked for me. Can anyone think up a way to stop the error? I don't want to usre a script to make sure it contacts the daemon or whatever. I tried that already, and i can't get it working.
Never found a solution. Got a laptop. Replaced OS.
-closes thread-