Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 08 Feb 2004 15:04:13 +0800
From:      Zhang Weiwu <zhangweiwu@realss.com>
To:        Dan Nelson <dnelson@allantgroup.com>
Cc:        questions@freebsd.org
Subject:   Re: how to use X window server/client mode?
Message-ID:  <4025DF6D.4030503@realss.com>
In-Reply-To: <20040208060924.GC43410@dan.emsphone.com>
References:  <LAW11-F15zAZOTLocEB0004df4e@hotmail.com> <20040208060924.GC43410@dan.emsphone.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Oh how nice! I start with ssh -X and everything goes okay. Thank you.

Dan Nelson wrote:

>In the last episode (Feb 08), Zhang Weiwu said:
>  
>
>>Hello. I know this looks like a dump question ... I wish I can find a easy 
>>tutorial, but a quick google search didn't give me one. Perhaps you can 
>>tell me where to find a good tutorial.
>>
>>Now I have freebsd 5.2 & gnome 2 running on my notebook, X is started by 
>>gdm. My friend's computer run RedHat linux 9. I login to gnome, ssh login 
>>to my friends computer in a xterm, set $DISPLAY to be "mynotebook:0.0". 
>>Then I type "gedit", I'm expecting gedit to come out on my desktop, but I 
>>got "cannot open display" message.
>>    
>>
>
>Try with xterm, which generates much better error messages.  Possible
>causes:  DISPLAY variable not exported, nothing listing on
>mynotebook:0.0, "host +" or "xhost +otherserver" not run on mynotebook.
>
>If you add the -X flag to ssh, ssh will automatically set $DISPLAY on
>the other end and tunnel the display back to the local server.
>
>  
>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4025DF6D.4030503>