XForwarding problem

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: OpenBSD Questions <misc@...>
Date: Thursday, February 28, 2008 - 5:17 am

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1

For the last couple of days I've tried everything I can think of to
make XForwarding work with ssh. As per the FAQ, I have set it like so:

In sshd_config

X11Forwarding yes

In ssh_config

ForwardAgent yes
ForwardX11 yes

I can use it passably well in one direction from a box across the
room to the one I do most of my work on. But, when I try it from
this box to the one across the room, I get the xauth error message
along with all typed characters doubled on the screen. I went ahead
anyway and typed 'display somefile.jpg' just to see what I'd get &
got this:

Xlib: connection to "localhost:10.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
display: unable to open X server `localhost:10.0'.

I've read the man page on xauth(1) and experimented with its
commands. I've even wiped out the .Xauthority file on both boxes
and restarted X, to no avail. Possibly I should mention too, that
I boot on both boxes to a xdm login. I don't know if that would
have any bearing on the problem or not. Thanks for any help I
can get on this.

--

Denny White

All messages scanned by ClamAssassin
http://jameslick.com/clamassassin/
===============================================================
GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net
Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A
===============================================================
iD8DBQFHxmmwy0Ty5RZE55oRAkCZAKCmv+v4WuYFL2VyOkxFqb+fo8XxHgCfSCRN
ztvs2xWmvsc8CZw9T6t4o7M=
=EtWY
-----END PGP SIGNATURE-----

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
XForwarding problem, Denny White, (Thu Feb 28, 5:17 am)
Re: XForwarding problem, Predrag Punosevac, (Thu Feb 28, 5:46 am)
Re: XForwarding problem, Denny White, (Thu Feb 28, 6:35 am)