delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/03/24/06:36:48

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=NpdKhMnpcXpKjow5f1eAIqrGqRM6gEXIjzB1XZZaupljfIdhiZE15
fnjMvx/0fF4QXdiHpqOQK7c0O5e4AaYcIAohjqMHnzio1ELCl6MhitQ5OmPk2PSm
4wtagm4p7kstlwa+NlIX6+nJym2cUIY/m/YZz6HijzgrQhZPa9CIjg=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=pLfuWrogqkTDCl8lWRCWpuGlBC0=; b=wJjpHwZ8ykKSfsL4uvAEiKiXY7Ic
DJC6YfsEMD30CJNXBMk/lsBUoSrtMbsizJhmwlZYLzjT797LtOIX3TU74moyXPfJ
SuCF+U1HZx8NDEs8wRbULGXy1T6dEZrnySebMvUwxOwa2tMGlIT6L5BMJTh2NSlH
GmmhVMUpcJ0yu0Y=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2
X-HELO: calimero.vinschen.de
Date: Mon, 24 Mar 2014 11:36:27 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Bingo... cygserver-config script installed inconsistent path in registry.
Message-ID: <20140324103627.GB27624@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <532CC553 DOT 9000700 AT tlinx DOT org>
MIME-Version: 1.0
In-Reply-To: <532CC553.9000700@tlinx.org>
User-Agent: Mutt/1.5.21 (2010-09-15)

--ZfOjI3PrQbgiZnxM
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mar 21 16:03, Linda Walsh wrote:
> Finally tracked this down.
>=20
> when I ran the cygserver-config, it installed a different
> path for cygserver-config than what everything else
> thinks it is running under...
>=20
> I.e. even though my shell and the dbus server, both think
> they are running under C:/bin (which is a symlink ->
> cygwin64/bin, through C:\windows\system32\cygwin)

Why did you mess around with the install paths that badly?  Don't
install anything Cygwin into C:\windows.

> The cygserver-config installed C:\cygwin64\bin\cygrunsrv.exe
> in the registry -- which worked for starting it, but it thought
> it was a different instance than anything else.
>=20
> i.e. bash, and X11 and dbus are all started off of C:\bin.
>=20
> I changed the path of the service to correspond to the others
> (->C:\bin\cygrunsrv.exe), and now my X server picks up the shared
> memory.
>=20
> (But glxgears still don't turn... -- I thought the lack of shared
> memory might be a problem there, but guess its another problem).
>=20
> So why didn't cygserver-config install what all the other progs
> thought they were under ("C:\bin")?

The script just calls cygrunsrv.  cygrunsrv fetches it's own path via
the Win32 API GetModuleFileName and that API returns the path apparently
cleaned from symlinks.


Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--ZfOjI3PrQbgiZnxM
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJTMAqrAAoJEPU2Bp2uRE+gcT0P/3h3Sg+607R/xW/RsoyX9rSj
++D4Q7/tLffFONNLXuo3v62m8iS4g9vhhEkAKycT39Lm21K6Mmtr63xo5mhNPwx2
AfLgGuzYAU29vpHP1/4BuWY6M0VyBNLk2n1FxltIVJiqb6u/PZyW1jCvcsjpunjz
qRycQ3zE4o+L6yG58/j6Lfdbi/jBdjeOBKLFcT2B/OH1P18AYnHfU2roKvpZ9zvh
dTbpFF/GRkblPdbOHhNduDMrtZv79EkHzPa0L8sSga8qojXjq7zD5s7Hy9ZbtvQ8
an/0Atjlu0gJ5ZsII5JHR2OvQ3+XaWhT5N4nLik929n2gk+SticIREm8sPU67jMH
g3nbI20lOyLNMcpxerbn+lr1/A1RNehpr3+IEGf4sPl1Vx8U+YxbxEJuZkVaa9+m
zxO/AeddHCZHViOHZWcl4tGE7Lcw4Ky/fTWRnG5YIv1GJCVVi9VTyjJrqO/u3tPw
GpE8JZKrX591Nuxl2b6mUbjpBiszgPrH+j4KAn/diUkdS+AJ+zzJcGP3DR+rnejA
EG60ko4TmldRDtxPiTqHQz3vgfCvj+ewTdQcETCA0nGCSlzlC2A6zC5KiR3cmLVN
8yEgrbigYjxnuqaFky5Vz6C5eMhX9A8vqIEpGFlykW7ewigQJ6h8B3My3pCVRDqN
AV11yEAN4crYLIu/bs4Z
=qvEX
-----END PGP SIGNATURE-----

--ZfOjI3PrQbgiZnxM--

- Raw text -


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