public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
From: "Scott T. Marshall" <marshallst@appstate.edu>
To: cygwin-xfree@cygwin.com
Subject: No xauth program
Date: Wed, 01 Sep 2010 19:33:00 -0000	[thread overview]
Message-ID: <4C7EA987.9090006@appstate.edu> (raw)

Hi All,
I am struggling to get my ssh server to forward x windows. I have 
followed the cygwin documentation several times and cannot get my 
windows 7 (x64) machine to forward any x windows over ssh. This is 
particularly frustrating because I set this all up with no problem on my 
laptop which is also running windows 7 (x64). Here is my short 
description and info. Please let me know if I need to provide any extra 
info. I've done extensive web searches and searched the cygwin FAQ's and 
mailing lists, but can't seem to find a similar problem.

I have added "ForwardX11 yes" to /etc/ssh_config
I have added "X11Forwarding yes" to /etc/sshd_config
I have the XWin server running and am using xterm with the following 
command (on one line of course)
C:\cygwin\bin\run.exe -p /usr/X11R6/bin xterm -display 127.0.0.1:0.0 -ls 
-g 115x35 +tb -fn 8x16 -sl 1000 -sb -rightbar -ms red -fg yellow -bg black

So, my xterm pops up just like normal and I can successfully ssh to 
localhost, but when I try to open something graphical (e.g xeyes or 
nedit) I get
Error: Cannot open display

when I connect using

ssh -Yv localhost

  the last few lines of output are:

debug1: Entering interactive session.
debug1: No xauth program.
Warning: No xauth data; using fake authentication data for X11 forwarding.
debug1: Requesting X11 forwarding with authentication spoofing.
debug1: Remote: No xauth program; cannot forward with spoofing.
Last login: Wed Sep  1 15:03:40 2010 from ::1

I don't understand the No xauth program part. I have xauth in /bin
which xauth
returns
/usr/bin/xauth
and when I check the permissions on xauth, I see that they are 755 and I 
am the owner.

I even tried the suggestion that someone made on the listserv to add a 
line to ~/.ssh/config
XauthLocation=/usr/bin/xauth
and that didn't work, so I tried
XauthLocation=/bin/xauth
and that didn't work either.

Does anyone have any ideas what is going on here? Any help would be very 
much appreciated.
Cheers,
-Scott

--
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/


             reply	other threads:[~2010-09-01 19:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-01 19:33 Scott T. Marshall [this message]
2010-09-02 15:11 ` Jon TURNEY
2010-09-02 18:06   ` Scott T. Marshall
2010-09-02 22:48     ` Jon TURNEY
2010-09-03 16:50       ` Scott T. Marshall

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C7EA987.9090006@appstate.edu \
    --to=marshallst@appstate.edu \
    --cc=cygwin-xfree@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).