[100706] in RedHat Linux List

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

Re: exmh & Xauthority

daemon@ATHENA.MIT.EDU (Colin Cyr)
Mon Nov 23 02:17:20 1998

To: redhat-list@redhat.com
In-Reply-To: Your message of "Sun, 22 Nov 1998 10:03:52 CST."
             <E0zhbzM-0005nJ-00@cork.local> 
Date: Mon, 23 Nov 1998 00:17:59 -0700
From: Colin Cyr <ccyr@sycore.ml.org>
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)



-- 
  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