I've got problems with X server authentication using `xauth'. The problem is, that I have my local computer running NetBSD 5.1 and a remote computer in LAN which is running Debian GNU Linux. During the login to my NetBSD computer `xdm' generates a magic cookie for my DISPLAY. Then I transfer this cookie via `ssh' to the Debian computer:
After that when making `xauth list', I can see identical magic cookies on both computers. But when I'm trying to start an `xterm' on the Debian computer I only get the following error message:
Thanks for your suggestion, but unfortunately it seems not to help. I've tried adding the keys manually, but the result stayed the same. Actually the keys were already correctly added with `ssh', so I think that the problem is not with keys but with something else.
Here is the output of `xauth -list' from both machines. For security reasons I've replaced the magic numbers with key1, key2, etc.:
NetBSD Machine (sidorenko):