X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 211953946C34
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1592047913;
	bh=XgWA8uxJcDrgGMKuiPTChyIaAVRhZY0U3pys3HeqVqs=;
	h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe:
	 List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
	 From;
	b=C/F6AK9HwxF+Szf+fbp5tVb0VVJ15pGFy24zBahGSMnIPZ7tx+pX5QfzK61VnYlcQ
	 3F8sDRobYI2Fw/K5tzGkg1VpJWNhoUBvM5k3dCTrPC/tkrLN0ZOyzSUIKV0XjRbQkc
	 jJv7p+B6bxW8EDOm/Mp8LOYll+Z6anCj6iKNV3J8=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org B7E063851C07
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:subject:to:references:from:message-id:date
 :user-agent:mime-version:in-reply-to:content-language
 :content-transfer-encoding;
 bh=8DOypozkKyInsT9fCQFP4FHoNQMSzLpWAKzSFzIfGKo=;
 b=JcCePFgUT9rglvIBblG11yLXzSQMombMxSeQMOjoPsfzzNR34vQl57ggWaXHjr5SEu
 OqV0NDGx5hROy9lQUXu3U7o85+fwmhhMjufL4OVg3JywuPxtV1nPm3305PhCIKCYyFzo
 yz6gKqhYxu6t/LDA03Sb7IZsn/uyBu7/e0wYiyM7Rsw8UoA6pcXnGHZOg5CS1n88h7U4
 zGZDfbuhcVt+4GDm1MEbbPJAkoBEbERHG9q60MkhtgqFT1Sg6C658MtHufxy0Ld23j+j
 jtaKitZE+x3IL/Qq3kXGM5GF2lE3lSRYYjUHTEx86UB4wbRKshDcTmatF0Yq0m96Wjqi
 8raQ==
X-Gm-Message-State: AOAM5308yNoNN/CK6pe28rd1krPdFdJA0HDhHG3X5klqBkOXl8EJyKJo
 sp5I65WATPmwIMC5MVeMUrMeIEeP
X-Google-Smtp-Source: ABdhPJxvYpQSPZciy7Dlcpo6TmCbJMGZObFdb6UpQ+0GD3L/ZZlmmch8YfljXYHJDKVh5YHcG7Itww==
X-Received: by 2002:a1c:3b8b:: with SMTP id i133mr3555211wma.111.1592047908463; 
 Sat, 13 Jun 2020 04:31:48 -0700 (PDT)
Subject: Re: cygwin x11 doesn't start after windows 10 upgrade
To: cygwin@cygwin.com
References: <upzcv9jx3891.fsf@dod.no>
 <00a576fe-1539-f890-6cea-8ec00875623a@gmail.com> <upzc7dwb2tri.fsf@dod.no>
 <upzc366z2suj.fsf@dod.no>
Message-ID: <6c31264a-fe71-df5e-5fca-37e423325263@gmail.com>
Date: Sat, 13 Jun 2020 13:31:46 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101
 Thunderbird/68.9.0
MIME-Version: 1.0
In-Reply-To: <upzc366z2suj.fsf@dod.no>
Content-Language: it
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, DKIM_SIGNED,
 DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,
 SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
 server2.sourceware.org
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <http://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <http://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: Marco Atzeri via Cygwin <cygwin@cygwin.com>
Reply-To: Marco Atzeri <marco.atzeri@gmail.com>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Errors-To: cygwin-bounces@cygwin.com
Sender: "Cygwin" <cygwin-bounces@cygwin.com>

On 13.06.2020 11:55, Steinar Bang wrote:
>>>>>> Steinar Bang <sb@dod.no>:
> 
>>>>>> Marco Atzeri via Cygwin <cygwin@cygwin.com>:
>>> can you start X11 with startxwin ?
>>> If you start with just "XWin :0 -multiwindow -clipboard"
>>> does it work ?
> 
>> startxwin isn't found:
>>   sbang@ITEM-S63383:~$ startxwin
>>   -bash: startxwin: command not found
>>   sbang@ITEM-S63383:~$ which startxwin
>>   which: no startxwin in (/usr/local/bin:/usr/bin:/cygdrive/c/Program Files (x86)/Common Files/Oracle/Java/javapath:/cygdrive/c/ProgramData/Oracle/Java/javapath:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/WINDOWS/System32/WindowsPowerShell/v1.0:/cygdrive/c/Program Files/Intel/WiFi/bin:/cygdrive/c/Program Files/Common Files/Intel/WirelessCommon:/cygdrive/c/Program Files/Git/cmd:/cygdrive/c/ProgramFiles/apache-maven-3.6.3/bin:/cygdrive/c/Program Files (x86)/Calibre2:/cygdrive/c/ProgramFiles/GnuWin32/bin:/cygdrive/c/Program Files/nodejs:/cygdrive/c/WINDOWS/System32/WindowsPowerShell/v1.0:/cygdrive/c/Program Files/Java/jdk1.8.0_241/bin:/cygdrive/c/Program Files/PuTTY:/cygdrive/c/WINDOWS/System32/OpenSSH:/cygdrive/d/Profiles/sbang/AppData/Local/
>>   Microsoft/WindowsApps:/cygdrive/d/Profiles/sbang/AppData/Local/Programs/Fiddler:/cygdrive/d/Profiles/sbang/AppData/Roaming/npm:/cygdrive/c/Program Files/Microsoft VS Code/bin:/cygdrive/c/Application
>>   s/Atlassian/atlassian-plugin-sdk-8.0.16/bin:/cygdrive/d/Profiles/sbang/AppData/Local/Microsoft/WindowsApps:/cygdrive/d/Profiles/sbang/apps/bin:/usr/local/go)
>>   sbang@ITEM-S63383:~$
> 
>> I thought it might be because xorg-scripts wasn't installed, so I
>> installed xorg-scripts 1.0.1-1, but it didb't make startxwin appear.
> 
>> I *do* have xorg-server 1.20.5-3 installed (and it was working until a
>> couple of days ago).
> 
>> startxwin is supposed to be installed with xorg-server?
> 
> I was missing the xinit package and installed xinit 1.4.1-1 and then I
> got startxwin.
> 
> It failed in the startup with messages that looks similar to the ones
> output to the log file:
> sbang@ITEM-S63383:~$ startxwin
> xauth:  file /cygdrive/d/Profiles/sbang/.Xauthority does not exist
> xauth:  file /cygdrive/d/Profiles/sbang/.Xauthority does not exist
> 
> Welcome to the XWin X Server
> Vendor: The Cygwin/X Project
> Release: 1.20.5.0
> OS: CYGWIN_NT-10.0-18363 ITEM-S63383 3.1.5-340.x86_64 2020-06-01 08:59 UTC x86_64
> OS: Windows 10  [Windows NT 10.0 build 18363] (Win64)
> Package: version 1.20.5-3 built 2019-09-06
> 
> XWin was started with the following command line:
> 
> /usr/bin/XWin :0 -multiwindow -auth
>   /cygdrive/d/Profiles/sbang/.serverauth.1056
> 
> (II) xorg.conf is not supported
> (II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
> LoadPreferences: /cygdrive/d/Profiles/sbang/.XWinrc not found
> LoadPreferences: Loading /etc/X11/system.XWinrc
> LoadPreferences: Done parsing the configuration file...
> winDetectSupportedEngines - RemoteSession: no
> winDetectSupportedEngines - DirectDraw4 installed, allowing ShadowDDNL
> winDetectSupportedEngines - Returning, supported engines 00000005
> xinit: giving up
> xinit: unable to connect to X server: Connection refused


this looks like another program blocking the effort
and it can be as Xwin can NOT write files with the needed
permission on your home directory


What is the output of
   grep home  /etc/nsswitch.conf

Regards
Marco

--
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
