This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Re: Tunneling does not seem to work here (newbie)?
- From: Alexander Gottwald <alexander dot gottwald at s1999 dot tu-chemnitz dot de>
- To: cygwin-xfree at cygwin dot com
- Date: Fri, 15 Oct 2004 17:48:07 +0200 (MEST)
- Subject: Re: Tunneling does not seem to work here (newbie)?
- References: <20041015151301.GVVE26541.lakermmtao05.cox.net@smtp.east.cox.net>
- Reply-to: cygwin-xfree at cygwin dot com
On Fri, 15 Oct 2004 savantsaro@cox.net wrote:
> >This looks like X11 forwarding works. Maybe DISPLAY is >reset in some login scripts.
> >
> >what does this report:
> >ssh -Y remotehost
> >echo $DISPLAY
> >
> >bye
> > ago
>
> I'm sure I added too many exports this time, was just running out of things to try.....
>
> --------------
>
> award@mpeas04 ~
> $ echo $DISPLAY
> 127.0.0.1:0.0
>
> award@mpeas04 ~
> $ export DISPLAY=:0.0
>
> award@mpeas04 ~
> $ echo $DISPLAY
> :0.0
>
> award@mpeas04 ~
> $ ssh -Y serverName -l Administrator
> Administrator@serverName's password:
> Warning: No xauth data; using fake authentication data for X11 forwarding.
This is usually a good sign that the ssh part of X11Forwarding works
> Last login: Fri Oct 15 10:53:54 2004
> Welcome to Darwin!
> serverName:~ administrator$ echo $DISPLAY
>
I guess this means somewhere DISPLAY is reset. These files might be of interest:
/etc/profile
/etc/profile.d/*
~/.profile
~/.bash_login
running bash -x shows all commands that are executed. Check if DISPLAY is reset somewhere.
Also check if X11Forwarding is not disabled in /etc/ssh/sshd_config
> serverName:~ administrator$ export DISPLAY=:0.0
I think ssh uses display 10 and above.
serverName$ export DISPLAY=:10.0
serverName$ emacs
does this work?
bye
ago
--
Alexander.Gottwald@s1999.tu-chemnitz.de
http://www.gotti.org ICQ: 126018723