ir Cohen on Mon, 26 Jan 2004 12:22:11 +0200) Organization: Mivtach-Simon Insurance agencies Reply-to: [EMAIL PROTECTED] References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED] m.co.il> <[EMAIL PROTECTED]> <200401261022= [EMAIL PROTECTED]> X-Mailer: Emacs 21.3.1 rmail (send-msg 1.108) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-8-i Content-Transfer-Encoding: 7bit
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Mon, 26 Jan 2004 12:22:11 +0200, Tzafrir Cohen <[EMAIL PROTECTED]> wrote: > > More direct (and safe for setting permanently for the session): > > XAUTHORITY=/home/aamehl/.Xauthority I use this method for displaying from various machines/users to my display. If you use an explicit display name (i.e. host:n) there is problem at all. The XAUTHORITY file may be placed anywhere you like (like NFS mounted public directory). > But then again, when you look at the cookie (from the output of 'xauth > l'): > > your.hostname:0 MIT-MAGIC-COOKIE-1 67ef3aff1412b23fd091996bbc74d97c > > So when the hostname changes the cookie no longer matches. This is not a problem ! This is the solution ! Remember - You can have the same cookie on several display names. I used this several times in the past when I couldn't access the XAUTHORITY file from the remote machine (i.e. no NFS). 1. Run xauth/list on the host machine. 2. Send the appropriate line/cookie to the remote machine (even by email). 3. Run xauth on the remote machine. 4. Add the needed line (i.e. with the DISPLAY name as seen from the remote) with the sent cookie. Ehud. - -- Ehud Karni Tel: +972-3-7966-561 /"\ Mivtach - Simon Fax: +972-3-7966-667 \ / ASCII Ribbon Campaign Insurance agencies (USA) voice mail and X Against HTML Mail http://www.mvs.co.il FAX: 1-815-5509341 / \ GnuPG: 98EA398D <http://www.keyserver.net/> Better Safe Than Sorry -----BEGIN PGP SIGNATURE----- Comment: use http://www.keyserver.net/ to get my key (and others) iD8DBQFAFPtwLFvTvpjqOY0RAigxAJ9w+9GhVCNiGkODDHZHG1L6kzRX0gCfUcZX Qg6uKpnv7xEdhEh6zb6c+Xc= =yKGt -----END PGP SIGNATURE----- ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]