This is the mail archive of the
cygwin-xfree
mailing list for the Cygwin XFree86 project.
Re: ssh -Y not working / possible xauth bug?
- From: Igor Peshansky <pechtcha at cs dot nyu dot edu>
- To: cygwin-xfree at cygwin dot com
- Date: Sun, 12 Mar 2006 10:14:55 -0500 (EST)
- Subject: Re: ssh -Y not working / possible xauth bug?
- References: <44142BFE.9020707@fericom.net>
- Reply-to: cygwin-xfree at cygwin dot com
- Reply-to: cygwin-xfree at cygwin dot com
On Sun, 12 Mar 2006, Eddy Ilg wrote:
> Hi,
>
> I have a working cygwin xserver installed. When trying to connect to a
> remote machine I always get the following:
>
> Administrator@FREEDOM:~ > xterm &
> [1] 2184 # works fine
> Administrator@FREEDOM:~ > ssh -Y -l eddy 10.189.87.1
> Password:
> Warning: No xauth data; using fake authentication data for X11 forwarding. # !!!!!!!!!!!! <-Whats this?
> Linux amadillo 2.4.27-2-686 #1 Wed Nov 30 21:55:37 JST 2005 i686 GNU/Linux
> ....
> Last login: Sun Mar 12 14:58:40 2006 from 10.189.87.2
> eddy@amadillo:~ > xterm
> Xt error: Can't open display:
> DISPLAY is not set
> eddy@amadillo:~ >
>
> xauth list does the following:
> Administrator@FREEDOM:~ > xauth list
> xauth: creating new authority file /h/.Xauthority
>
> But the file /h/.Xauthority is not created!
>
> Any ideas what I am doing wrong? What could cause the message "Warning:
> No xauth data; using fake authentication data for X11 forwarding."?
You're seeing two unrelated symptoms: the "No xauth data" message, and the
"DISPLAY is not set" problem. The former is just a warning you get from
ssh -- Googling for it produces a bunch of descriptions and fix recipes
(in fact, someone posted one to this list earlier this year).
The latter is actually your problem. It could be that the X forwarding is
disabled on the server. Try "ssh -Y -vvv", and see what it gives you...
HTH,
Igor
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha@cs.nyu.edu | igor@watson.ibm.com
ZZZzz /,`.-'`' -. ;-;;,_ Igor Peshansky, Ph.D. (name changed!)
|,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ: http://x.cygwin.com/docs/faq/