Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Nov 2002 08:37:50 -0500
From:      Brian McCann <bjm1287@ritvax.isc.rit.edu>
To:        'kit' <kit@hypostasis.com>, 'Brian McCann' <bjm1287@ritvax.isc.rit.edu>
Cc:        'paul beard' <paulbeard@mac.com>, freebsd-questions@FreeBSD.ORG
Subject:   RE: X Remotely on a Win2k Box
Message-ID:  <001201c28b19$dca26a30$1500a8c0@dogbert>
In-Reply-To: <20021113071404.GA81762@amethyst.hypostasis.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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=<remotehost>:0.0
> 
> where <remotehost> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001201c28b19$dca26a30$1500a8c0>