delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2025/01/13/13:08:46

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 50DI8jYV2927061
Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com
Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com
DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 50DI8jYV2927061
Authentication-Results: delorie.com;
dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=UuXCoH+N
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 46A3B3857723
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1736791723;
bh=81f1RYsq8u+efWzbz9cVDOy1H5XmUQsteXiNecOpYLM=;
h=Date:Subject:To:References:Cc:In-Reply-To:List-Id:
List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe:
From:Reply-To:From;
b=UuXCoH+N8V9YR4cm3LfrCR9NuUDlPAIONBOtoQ5CirjXIYEiGePZHfaYBBDm77jpJ
Ybm+7xhI3dwmevFtET7QnFJT1cuRI590hF4T9hAf2XUurYjm1U0MWTn0aTLcz6WzHD
UvEVSwP4aXcg7FyhFl4wDHkWeY2mklrPjyFW7Cls=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 1914A385782C
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 1914A385782C
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1736791633; cv=none;
b=oB/ELfzeVQORSZZJ0e+dwvtGvLNiiHjIJ99QBQAe2NaWjuJ81I+3A0+NmLyhUWoZpb2nqNRV4IfqOW5b2bkuFskSm6nTw6TOX/ugS+Lppu1aXBlv46Pty7uGx7mji8THEDXwpwGy+3jSQk2vZVWDryImGSQFL4qb7RKr4LCGU7c=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1736791633; c=relaxed/simple;
bh=t8iSY11kSuk4PcnWRUPbL2TgVGg+pJ7WW6uYpLt0cnU=;
h=Message-ID:Date:MIME-Version:Subject:To:From;
b=jcbiV+yyZ6nigcU28McYDXkYti4nPMjxrwt8MhfHxBj5tqPFHZO7BLSC4VKa7UwUb4p4A8i8SKBcMqsUBbHIR9FlwaF2vEDhRMpGCKUfJ5Zr8HU30k+nCJRuB2TjK4K/dyYC+IAnRcDViWlng/IDWdVtanuC6JyfL17FCliOVOs=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1914A385782C
X-SNCR-Rigid: 6749020904DAD2DF
X-Originating-IP: [86.140.193.34]
X-OWM-Source-IP: 86.140.193.34
X-OWM-Env-Sender: jon DOT turney AT dronecode DOT org DOT uk
X-RazorGate-Vade: gggruggvucftvghtrhhoucdtuddrgeefuddrudehgedguddtkecutefuodetggdotefrodftvfcurfhrohhfihhlvgemuceutffkvffkuffjvffgnffgvefqofdpqfgfvfenuceurghilhhouhhtmecufedtudenucenucfjughrpefkffggfgfuvfhfhfevjggtgfesthejredttddvjeenucfhrhhomheplfhonhcuvfhurhhnvgihuceojhhonhdrthhurhhnvgihsegurhhonhgvtghouggvrdhorhhgrdhukheqnecuggftrfgrthhtvghrnhepgfeghfdvvdeijeettdfgleetffetfedtuefgfeevhedthefgffelfeethfdvleffnecuffhomhgrihhnpegthihgfihinhdrtghomhenucfkphepkeeirddugedtrdduleefrdefgeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhephhgvlhhopegludelvddrudeikedruddruddtlegnpdhinhgvthepkeeirddugedtrdduleefrdefgedpmhgrihhlfhhrohhmpehjohhnrdhtuhhrnhgvhiesughrohhnvggtohguvgdrohhrghdruhhkpdhrvghvkffrpehhohhsthekiedqudegtddqudelfedqfeegrdhrrghnghgvkeeiqddugedtrdgsthgtvghnthhrrghlphhluhhsrdgtohhmpdgruhhthhgpuhhsvghrpehjohhnthhurhhnvgihsegsthhinhhtvghrnhgvthdrtghomhdpghgvohfkrfepifeupdfovfetjfhoshhtpegsthhprhgurhhgohdtuddvpdhnsggprhgtphhtthhopedvpdhrtghpthhtoheptgihghifihhnsegthihgfihinhdrtghomhdp
rhgtphhtthhopehmlhesnhgvthhfvghntggvrdhith
X-RazorGate-Vade-Verdict: clean 0
X-RazorGate-Vade-Classification: clean
X-VadeSecure-score: verdict=clean score=0/300, class=clean
Message-ID: <17ebd011-52e0-4527-acde-5cb41c086ec1@dronecode.org.uk>
Date: Mon, 13 Jan 2025 18:06:59 +0000
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: No more Cygwin-X start menu entries
To: Andrea Venturoli <ml AT netfence DOT it>
References: <4ae87cce-e7b7-4d2f-bbb3-7347dbf3b519 AT netfence DOT it>
Cc: cygwin AT cygwin DOT com
In-Reply-To: <4ae87cce-e7b7-4d2f-bbb3-7347dbf3b519@netfence.it>
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Jon Turney via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Jon Turney <jon DOT turney AT dronecode DOT org DOT uk>
Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>

On 13/01/2025 17:42, Andrea Venturoli via Cygwin wrote:
> Hello.
> 
> Today I run setup to upgrade all packages: an error popped up saying 
> xinit post-install script was not able to complete.
> I'm in fact missing Cygwin-X entries in start menu.
> I tried running it again, but I always get the same error.
> 
> Extract from setup.log.full:
> 
[...]
>> 2025/01/13 18:30:58 running: C:\cygwin\bin\bash.exe --norc --noprofile 
>> "/etc/postinstall/xinit.sh"
>> mkshortcut: Saving "/cygdrive/c/ProgramData/Microsoft/Windows/Start 
>> Menu/Programs/Cygwin-X/XWin Server.lnk" failed; does the target 
>> directory exist?
>> mkshortcut: Saving "/cygdrive/c/ProgramData/Microsoft/Windows/Start 
>> Menu/Programs/Cygwin-X/User .xsession script.lnk" failed; does the 
>> target directory exist?
>> 2025/01/13 18:30:59 abnormal exit: exit code=3
[...]
> 
> Any idea on how to fix this?

Thanks for reporting this.

This seems to be something that's changed in Windows 11(?) that prevents 
mkshortcut from working to create these start menu shortcuts.

We've never really got to the bottom of what causes that, why it only 
effects some people and what we need to do to fix it. (See the 
discussion around [1]).

As a workaround you might see if the script can be run in an elevated 
shell (right-click on the "Cygwin64 Terminal" icon, choose "Run As 
Administrator", run the /etc/postinstall/xinit.sh script)

[1] https://cygwin.com/pipermail/cygwin/2024-November/256775.html


-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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