Subject: Re: copy registry settings win98->xp all->user
From: Tzafrir Cohen <[email-masked]>
To: [email-masked]
Date: Thu, 06 Jun 2002 23:16:32 +0300
Newsgroups: gmane.os.cygwin

Tzafrir Cohen wrote:

 >
 > For instance, 'startx' doesn't work, due to some X authorization problem.
 > Maybe because mcooky is missing.

mcookie, actually.

On my linux box the startx script runs, right before running xinit:

    mcookie=`mcookie`
    for displayname in $display `hostname -f`$display; do
        if ! xauth list "$displayname" | grep "$displayname " >/dev/null
2>&1; then
            xauth add $displayname . $mcookie
            removelist="$displayname $removelist"
        fi
    done

Basically this snippet creates a random cookie using mcookie and adds it
to the XAUTHORITY list of cookies. It seems that mcookie comes with the
util-linux package on that linux box. I could not find it in any cygwin
package.

Any pointers on how do I make XAuthority work properly?

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/