[100762] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: exmh & Xauthority

daemon@ATHENA.MIT.EDU (John Duquette)
Mon Nov 23 09:30:42 1998

To: redhat-list@redhat.com
In-Reply-To: Your message of "Mon, 23 Nov 1998 00:17:59 MST."
             <199811230717.AAA04658@sycore.ml.org> 
Date: Mon, 23 Nov 1998 09:37:10 -0500
From: John Duquette <jduquette@icsa.net>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

> > in my startx file (/usr/X11R6/bin) add the following line directly after the initial comment:
> > mcookie|sed -e 's/^/add :0 . /'|xauth -q
> > 
> > then in that same file, change the last line of the file (or whatever line calls xinit) to:
> > xinit $clientargs -- $serverargs -auth "$HOME/.Xauthority"
> 
> Just a comment on simplifying the above commands.  This just gets rid of all the piping and having to invoke sed.
> 
> Use the following instead of: mcookie|...
> 
> xauth -q add :0 . `mcookie`
> 
> It generates the same thing.
> 
> Thanks for the suggestion Padraic, without it I'd be doomed to sending the output into the ether.
> 
> Now, the question that has to be asked is:
> 
> What did I miss to not have this included automatically, or what did RedHat miss when packaging X or xauth?
> 
> -- 
> Colin Cyr			(ccyr at home dot com)
> 

You didn't miss anything.  RedHat ships using xhosts security for X, which is disabled by default.  TCL/Tk requires user security for X which means using the magic cookie approach, it just takes a little digging to find the answer.



-- 
John Duquette			| "It is harder to preserve than to 
Field Security Analyst		|  obtain liberty"
ICSA Inc.			|
				| - John C. Calhoun



-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
		http://www.redhat.com http://archive.redhat.com
         To unsubscribe: mail redhat-list-request@redhat.com with 
                       "unsubscribe" as the Subject.


home help back first fref pref prev next nref lref last post