xhost or where problem?

Alan Coopersmith Alan.Coopersmith at Sun.COM
Tue Jan 17 19:24:29 PST 2006


Some recent versions of OpenSSH work much better with the -Y flag than -X.

Otherwise, common authentication problems include the $HOME/.xauthority file
being removed/corrupted or the Unix domain sockets and/or named pipes in
/tmp/.X11-* being removed by overzealous /tmp cleaners.

	-Alan Coopersmith-           alan.coopersmith at sun.com
	 Sun Microsystems, Inc. - X Window System Engineering


Gene Heskett wrote:
> Greetings;
> 
> I suddenly lost X contact for the ssh -X machine-name functions here.  
> The target machine is behind my firewall along with controlling 
> machine, and the $DISPLAY env var on the target machine is 
> localhost:10.0 which has worked for weeks.
> 
> I've done an xhost + on both ends of the circuit.  I've even rebooted 
> the target box from here & started x after fixing a typo in the target 
> boxes /etc/hosts file.
> 
> But when I login using the ssh -X option and then try to run something 
> from the ssh shell, this comes back:
> gene at shop:~/emc2$ sudo scripts/emc
> X11 connection rejected because of wrong authentication.
> X connection to localhost:10.0 broken (explicit kill or server 
> shutdown).
> 
> Whats the next thing to check, the above error output is a bit obtuse to 
> me, as in wrong auth is plain enough, but which machine issued the 
> error?  And what do I check for correctness?
> 
> FWIW, xorg.6.80-901 here, XFRee86-4.3 on that debian based target box.
> 
> --
> Cheers, Gene
> People having trouble with vz bouncing email to me should add the word
> 'online' between the 'verizon', and the dot which bypasses vz's
> stupid bounce rules.  I do use spamassassin too. :-)
> Yahoo.com and AOL/TW attorneys please note, additions to the above
> message by Gene Heskett are:
> Copyright 2005 by Maurice Eugene Heskett, all rights reserved.
> _______________________________________________
> xorg mailing list
> xorg at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xorg



More information about the xorg mailing list