delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/06/06/16:17:12

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
X-Injected-Via-Gmane: http://gmane.org/
Path: not-for-mail
From: Tzafrir Cohen <tzafrir AT gadot DOT org DOT il>
Newsgroups: gmane.os.cygwin
Subject: Re: copy registry settings win98->xp all->user
Date: Thu, 06 Jun 2002 23:16:32 +0300
Lines: 27
Message-ID: <3CFFC320.4010701@gadot.org.il>
NNTP-Posting-Host: station-131.gadot.org.il
Mime-Version: 1.0
X-Trace: main.gmane.org 1023394611 13669 212.179.40.132 (6 Jun 2002 20:16:51 GMT)
X-Complaints-To: usenet AT main DOT gmane DOT org
NNTP-Posting-Date: Thu, 6 Jun 2002 20:16:51 +0000 (UTC)
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.0rc3) Gecko/20020523
X-Accept-Language: he, he-il, en-us

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019