View previous topic :: View next topic |
Author |
Message |
HomerSimpson l33t
Joined: 25 Jan 2003 Posts: 869 Location: Ohio, USA
|
Posted: Wed Dec 17, 2003 7:45 pm Post subject: Gtk-WARNING **: cannot open display: |
|
|
I configured etc-update to use gtkdiff. From within gnome I open a gnome-terminal, su root, then emerge/etc-update.
Now I am opening a terminal and using ssh to log in as root. I did this because I am caching the key via sshagent and can open a terminal as root without having to type a password. Now I get "Gtk-WARNING **: cannot open display:" when gtkdiff tries to run.
Can this be solved by doing X11 forwarding via SSH? If so is this just a config option in ssh_config?
Thx _________________ The strong must protect the Sweet. |
|
Back to top |
|
|
Stormy Eyes Veteran
Joined: 09 Apr 2003 Posts: 1064 Location: Watching God spit-shine my boots.
|
Posted: Wed Dec 17, 2003 7:49 pm Post subject: Re: Gtk-WARNING **: cannot open display: |
|
|
HomerSimpson wrote: | Can this be solved by doing X11 forwarding via SSH? If so is this just a config option in ssh_config? |
I don't know if using X11 forwarding will help you, but if I remember correctly, you can turn it on by running "ssh -X" instead of just "ssh". Refer to "man ssh". |
|
Back to top |
|
|
HomerSimpson l33t
Joined: 25 Jan 2003 Posts: 869 Location: Ohio, USA
|
Posted: Wed Dec 17, 2003 8:29 pm Post subject: |
|
|
I turned on X11 forwarding on the server and ran ssh -X and that worked. Excellant! Thank you.
_________________ The strong must protect the Sweet. |
|
Back to top |
|
|
Stormy Eyes Veteran
Joined: 09 Apr 2003 Posts: 1064 Location: Watching God spit-shine my boots.
|
Posted: Wed Dec 17, 2003 8:37 pm Post subject: |
|
|
HomerSimpson wrote: | I turned on X11 forwarding on the server and ran ssh -X and that worked. Excellant! Thank you. |
No problem. IIRC, the -z switch turns on compression, which might make things a bit snappier. |
|
Back to top |
|
|
|