Date: Sun, 8 Feb 2004 00:09:24 -0600 From: Dan Nelson <dnelson@allantgroup.com> To: zhangweiwu@realss.com Cc: questions@freebsd.org Subject: Re: how to use X window server/client mode? Message-ID: <20040208060924.GC43410@dan.emsphone.com> In-Reply-To: <LAW11-F15zAZOTLocEB0004df4e@hotmail.com> References: <LAW11-F15zAZOTLocEB0004df4e@hotmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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. -- Dan Nelson dnelson@allantgroup.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040208060924.GC43410>