From owner-freebsd-questions@FreeBSD.ORG Sat Feb 7 23:04:20 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 3CD5F16A4CE for ; Sat, 7 Feb 2004 23:04:20 -0800 (PST) Received: from mail27.cn4e.com (unknown [218.107.207.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 04F3F43D1D for ; Sat, 7 Feb 2004 23:04:20 -0800 (PST) (envelope-from zhangweiwu@realss.com) Received: from realss.com (unknown [218.85.104.247]) by mail27.cn4e.com (WorldPost) with ESMTP id E47BC7EF240F; Sun, 8 Feb 2004 15:23:50 +0800 (CST) Message-ID: <4025DF6D.4030503@realss.com> Date: Sun, 08 Feb 2004 15:04:13 +0800 From: Zhang Weiwu User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20040120 X-Accept-Language: zh-cn, en-us, en MIME-Version: 1.0 To: Dan Nelson References: <20040208060924.GC43410@dan.emsphone.com> In-Reply-To: <20040208060924.GC43410@dan.emsphone.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 07:04:20 -0000 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. > > >