Re: Starting X programs
Dale Scheetz <dwarf@polaris.net> writes:
> export XAUTHORITY=/home/user/.Xauthority
> works! Can you explain why? It appears that the user is the only thing
> mentioned in the .Xauthority file (althought there are unreadable binary
> portions of this file) so why does this work? (or not work, as the case
> may be)
> Thanks for all the info,
Type "xauth list :0", you see something like:
hostname/unix:0 MIT-MAGIC-COOKIE-1 12345123451234512345123451234512
The number is your magic cookie. It can be used to connect to your X
server. If you go to any other machine and type:
xauth add host.domain.etc:0 MIT-MAGIC-COOKIE-1 12345123451234512345123451234512
Then that machine can talk to the X server at: host.domain.etc:0
(Until X is restarted and the cookie changes.)
The collection of cookies is stored in ~/.Xauthority
"xauth list"
will list all of them.
Steve
dunham@cps.msu.edu
--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: