Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Nov 2002 20:14:04 +1300
From:      kit <kit@hypostasis.com>
To:        Brian McCann <bjm1287@ritvax.rit.edu>
Cc:        "'paul beard'" <paulbeard@mac.com>, freebsd-questions@FreeBSD.ORG
Subject:   Re: X Remotely on a Win2k Box
Message-ID:  <20021113071404.GA81762@amethyst.hypostasis.com>
In-Reply-To: <000501c28ac3$a1754c30$1500a8c0@dogbert>
References:  <3DD1B6E9.1080506@mac.com> <000501c28ac3$a1754c30$1500a8c0@dogbert>

next in thread | previous in thread | raw e-mail | index | archive | help
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?20021113071404.GA81762>