Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gtk-WARNING **: cannot open display:
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
HomerSimpson
l33t
l33t


Joined: 25 Jan 2003
Posts: 869
Location: Ohio, USA

PostPosted: Wed Dec 17, 2003 7:45 pm    Post subject: Gtk-WARNING **: cannot open display: Reply with quote

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
View user's profile Send private message
Stormy Eyes
Veteran
Veteran


Joined: 09 Apr 2003
Posts: 1064
Location: Watching God spit-shine my boots.

PostPosted: Wed Dec 17, 2003 7:49 pm    Post subject: Re: Gtk-WARNING **: cannot open display: Reply with quote

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
View user's profile Send private message
HomerSimpson
l33t
l33t


Joined: 25 Jan 2003
Posts: 869
Location: Ohio, USA

PostPosted: Wed Dec 17, 2003 8:29 pm    Post subject: Reply with quote

I turned on X11 forwarding on the server and ran ssh -X and that worked. Excellant! Thank you.



:D
_________________
The strong must protect the Sweet.
Back to top
View user's profile Send private message
Stormy Eyes
Veteran
Veteran


Joined: 09 Apr 2003
Posts: 1064
Location: Watching God spit-shine my boots.

PostPosted: Wed Dec 17, 2003 8:37 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum