Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 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 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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/