From owner-freebsd-questions@FreeBSD.ORG Sat Feb 7 22:09:28 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 94FD416A4CE for ; Sat, 7 Feb 2004 22:09:28 -0800 (PST) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5734743D1D for ; Sat, 7 Feb 2004 22:09:28 -0800 (PST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.10/8.12.10) id i1869PIp097646; Sun, 8 Feb 2004 00:09:25 -0600 (CST) (envelope-from dan) Date: Sun, 8 Feb 2004 00:09:24 -0600 From: Dan Nelson To: zhangweiwu@realss.com Message-ID: <20040208060924.GC43410@dan.emsphone.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-OS: FreeBSD 5.2-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.5.1i cc: questions@freebsd.org Subject: Re: how to use X window server/client mode? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Feb 2004 06:09:28 -0000 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