This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Tunneling does not seem to work here (newbie)?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]