From owner-freebsd-questions Wed Nov 13 5:40:32 2002 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 8D4A237B401 for ; Wed, 13 Nov 2002 05:40:30 -0800 (PST) Received: from vms2.rit.edu (vms2.isc.rit.edu [129.21.3.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id C729443E6E for ; Wed, 13 Nov 2002 05:40:29 -0800 (PST) (envelope-from bjm1287@ritvax.isc.rit.edu) Received: from dogbert ([129.21.129.47]) by ritvax.isc.rit.edu (PMDF V5.2-32 #40294) with ESMTPA id <01KOTA63UV22Q7Y1JQ@ritvax.isc.rit.edu> for freebsd-questions@FreeBSD.ORG; Wed, 13 Nov 2002 08:39:48 EST Date: Wed, 13 Nov 2002 08:37:50 -0500 From: Brian McCann Subject: RE: X Remotely on a Win2k Box In-reply-to: <20021113071404.GA81762@amethyst.hypostasis.com> To: 'kit' , 'Brian McCann' Cc: 'paul beard' , freebsd-questions@FreeBSD.ORG Message-id: <001201c28b19$dca26a30$1500a8c0@dogbert> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Mailer: Microsoft Outlook, Build 10.0.2616 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Importance: Normal X-Priority: 3 (Normal) X-MSMail-priority: Normal 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 I'm using Xmanager...it has SSH connection support built into it. I will be trying what you all suggested shortly and post my results. Thanks all! --Brian -----Original Message----- From: kit [mailto:kit@hypostasis.com] Sent: Wednesday, November 13, 2002 2:14 AM To: Brian McCann Cc: 'paul beard'; freebsd-questions@FreeBSD.ORG Subject: Re: X Remotely on a Win2k Box On Tue, Nov 12, 2002 at 10:20:31PM -0500, Brian McCann wrote: > No go. Tried host:0.0, host:0, nothing worked...still ran on the > console. I am starting up X windows using "startx"...should I be > using something different? > > Thanks, > --Brian > > -----Original Message----- > From: owner-freebsd-questions@FreeBSD.ORG > [mailto:owner-freebsd-questions@FreeBSD.ORG] On Behalf Of paul beard > Sent: Tuesday, November 12, 2002 9:20 PM > To: Brian McCann > Cc: freebsd-questions@FreeBSD.ORG > Subject: Re: X Remotely on a Win2k Box > > > Brian McCann wrote: > > Hi all...I tried searching through the archives to find some > > help...but there was WAY to much returned. So...here's my question. > > I need to be able to open an X session (complete with KDE and all) > > from a Win2k Box. I've got Xmanager for Win2k, and I can connect and > > get an xterm session via ssh, but when I type startx, it starts up X > > on the console. I would have thought it would have grabbed the > > name/number of the display I was currently logged into to send the > > output to. Anyone know how I can do this, or a good site with a > > how-to? > > what's your $DISPLAY value set to? If it's :0.0, you need to set > it to be the host you're connecting from. try: > > export DISPLAY=:0.0 > > where is where your ssh connection originates. > > Actually I think that $DISPLAY should be set ot :0.10 (as the default offset) to have the xsession forwarded over the ssh connection. This, if I recall correctly will be related to the way you start your ssh. I have a feeling that some windows ssh clients need to be explicity told to forward X in order to tell the sshd that $DISPLAY needs to be appropriately set. If you set $DISPLAY manually it will not forward over the ssh connection. Which ssh client are you using? --kit -- whois -h whois.gandi.net KM78-GANDI To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message