From owner-freebsd-questions Tue Mar 19 7:49:28 2002 Delivered-To: freebsd-questions@freebsd.org Received: from web9703.mail.yahoo.com (web9703.mail.yahoo.com [216.136.129.139]) by hub.freebsd.org (Postfix) with SMTP id 52BA937B447 for ; Tue, 19 Mar 2002 07:48:28 -0800 (PST) Message-ID: <20020319154827.46477.qmail@web9703.mail.yahoo.com> Received: from [141.154.38.211] by web9703.mail.yahoo.com via HTTP; Tue, 19 Mar 2002 07:48:27 PST Date: Tue, 19 Mar 2002 07:48:27 -0800 (PST) From: Peter Gatsoulis Reply-To: pg@eth1.com Subject: Re: ssh -X forwarding fails To: Kris Kennaway Cc: freebsd-questions@freebsd.org In-Reply-To: <20020318230853.A83083@xor.obsecurity.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi Thanx for responding I guess i should explain just a bit further. I have the remote X working fine if I ssh -X from inside my local FBSD X desktop to the remote FBSD system. But I didn't want to just run individual X apps what I wanted to do was start the whole X desktop on my system but it'd really be the remote desktop I was seeing.. Is this possible w/ the "startx" or "startx -listen_tcp" commands? I now am setting the DISPLAY variables correctly but the startx and xinit and XFree86 man pages say that this DISPLAY variable is "set and not read". Thanx again --- Kris Kennaway wrote: > On Sun, Mar 17, 2002 at 04:21:07PM -0800, Peter > Gatsoulis wrote: > > > also doing "env" shows me that there IS NO > "DISPLAY" > > variable present in either the remote or local > > machines. > > > > I suspect this is the problem??? > > Yep. You have to set DISPLAY to the correct value > before ssh'ing, > otherwise ssh has no idea which display you want X > traffic forwarded > to. It should usually be something like ":0.0" to > indicate the > primary local display, but it doesn't always have to > be. __________________________________________________ Do You Yahoo!? Yahoo! Sports - live college hoops coverage http://sports.yahoo.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message