[EMAIL PROTECTED] wrote:

>There's a lot of information in the manuals so I succeeded to generate the
>.Xauthority
>I also have the XAUTHORITY=$HOME/.Xauthority
>but I don't know how to start the secure server
>
>how can I fix that (XFree86 3.3.1 with motif 2.0.1 on RH5)

Run xinit with a -auth parameter, like:
xinit -auth "$HOME/.Xauthority"

I use the following script to run xinit. It generates a new
cookie every time it is run. I picked the info quite a while ago,
so I can't remember where from :(
The exmh FAQ led me there, though...

------------

#!/bin/sh

## /usr/local/bin/x

#generate a new random magic cookie for the xserver
dd if=/dev/urandom count=1 | md5sum | sed -e 's/^\([0-9a-f]*\).*$/add :0 . \1/' | 
xauth -q

xinit -- $@ -auth "$HOME/.Xauthority"

------------

Note that ``| xauth -q'' should actually be on the same line as ``dd etc...''


Hope this helps

sb.



-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to