[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: gnome-session (Gtk-WARNING **: cannot open display)



On Tuesday 30 November 2004 06:40, froinds@bellsouth.net wrote:
> Hello
> I'm trying to open a remote session in this manner and getting the
> error below
> ssh -X user@10.0.0.15
>
> then after successfully logging in
>
> gnome-session
>
> which leads me to this message
>
> Gtk-WARNING **: cannot open display
>
> What is it, and what can I do about it?
> Thanks

Check in /etc/ssh/sshd_config for the line:

X11Forwarding yes

If it is missing, add it, and restart the ssh daemon.

If that doesnt fix it, type 'echo $DISPLAY' on the remote system after ssh'ing 
in, and tell us what it says.

David


-- 
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS d- s-: a-- C++ UL++++ P L+++ E--- W++ N+ o+ K- w---
O M V- PS+ PE+ Y+ PGP t 5- X+ R- tv+ b+ DI++ D+
G+ e++ h--- r++ y++
------END GEEK CODE BLOCK------



Reply to: