Xauth and cygwin-X

Kris Thielemans kris.thielemans@csc.mrc.ac.uk
Wed Oct 5 16:44:00 GMT 2005


Hi

I'm trying to get xauth going. From some previous posts and some reading I
do the following:

On my PC (called bach)

$ xauth generate bach:0 . trusted timeout 300
$ xauth nextract - bach:0   | ssh 172.16.2.55 xauth nmerge -
$ ssh -f -n  172.16.2.55 xterm -display bach:0

xterm launches, but my application (Analyze, a commercial image processing
program) still says:
"Attempted a 'send' command, but X server insecure (must use xauth-style
authorization)."

I also tried to tunnel X after this

$ ssh -f -n -Y  172.16.2.55 xterm

but I have exactly the same behaviour as above. Note that ssh still outputs
the message
"Warning: No xauth data; using fake authentication data for X11 forwarding."
I had this message already before using xauth, and the tunnel works exactly
the same.

I get the feeling that I do this wrong. From "man Xsecurity" I get the
impression I should  pass -auth to the X server, but there is no such option
documented for Xwin.

I've seen some emails from other people that they cannot get this to work.
Hopefully somebody on this list knows better...

Many thanks!

Kris Thielemans
Hammersmith Imanet, part of GE Healthcare
London, United Kingdom



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



More information about the Cygwin-xfree mailing list