On Mon, 17 Apr 2000, Jim Sabatke wrote:
I'm trying to get an X session to my work-site. I perform the xhost +<netstat string> and it does not show up in "xauth list". Any idea what's going on.
Hi Jim! Adding a host via the "xhost" client to the X access control list simply does what it does: it adds the hosts to the ACL residing inside the X server. Another method to grant access to other clients is via MIT-MAGIC-COOKIE: the "~/.Xauthority" is a list of cookies in the user's home directory for each display. If a client tries to connect to an X server, it has to send the cookie read from this file to the server, which also has access to the "~/.Xauthority". The server compares the cookies and grants access or denies it. So you see that the cookie-based authentification and authorisation system is user-based as each client needs to read the user's home directory or get the cookie otherwise, e.g. via the "xauth" command. For short: Xhost ACL and Xauthority/Magic Cookie are two different methods for authentification and authorisation! Best regards Oliver Tennert /********************************************\ * * * Oliver Tennert * * * * +49 -7071 -9457-598 * * * * e-mail: O.Tennert@science-computing.de * * science + computing GmbH * * Hagellocher Weg 71 * * D-72070 Tuebingen * * * \********************************************/ -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/