[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Starting X programs



On 2 Apr 1998, Steve Dunham wrote:

> 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.)
> 
Where would I put the export statement to get the changes instituted
automatically?

If I put it in the .profile of the user, how do I destinguish between a
console login and an xterm one?

Is there a better place for it?

Thanks,

Dwarf
--
_-_-_-_-_-   Author of "The Debian Linux User's Guide"  _-_-_-_-_-_-

aka   Dale Scheetz                   Phone:   1 (850) 656-9769
      Flexible Software              11000 McCrackin Road
      e-mail:  dwarf@polaris.net     Tallahassee, FL  32308

_-_-_-_-_-_- If you don't see what you want, just ask _-_-_-_-_-_-_-


--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: