X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A3B3038708CD
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1592054534;
	bh=8NjdTEQW4u9KQGi8j7P4iouCtAwXqfb3PMEMZdJfb6Q=;
	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=iugb2wjYbuYNMjv8yijMz3tXd2k5691HK6EHcr9C3kenSVL0jebTZ6W9v3ae2jFnJ
	 gbw8nNDoDLVpuHZIni19TEGsjqn7jKryVHGpetdodmCeRwfhGbtd1rd9NvDMwBMd6+
	 pd1vyonuvCqghD+qSpC0Vt8T/gX75xHOx9WbeYPk=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 3A4EC386F432
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=uZWM2MCIFtj14NownRZMI4TGMHcvHR7Y6dw46kUZfuY=;
 b=Lny2J+RGYya26MnNRy2aVEfyXP9soGIJfjvNCETK1PUXyVwG1e2mGK5VtcetGDyXnC
 0utCM27bdfKQ+qbGo49XLEDdkxI1nm5K5LQKmEr3P9hHjx9obT6EOWMX/Vk7/R+CYbgD
 bZeacuelnkIQWZrkPow1xYU75J5UzXRlYSz92YoMwQwGGY6bJHufQHGmx7E4C3Pk7TF3
 d4k0sFTcFRn+3iEOJ1BpN1xc3bneF/nDc0t0sjBiseD6G3g5CbK5WnPnc6XYpJArTVB7
 /8eKaFoIQORh6sAAr1/CrVlOfmcrn2OiHtgIBiyN25FMMflPySMS+w+2Wrj8tUW4jkt6
 6O+A==
X-Gm-Message-State: AOAM530I+5lWBuqRf/WV7FySrAzGiRag2IA6WVDgNF6vELUKkA3eZJiL
 OeI/O4IhJov8f/XWKIGqlydMXufF
X-Google-Smtp-Source: ABdhPJyC3/itc/z7urNyR7pxOWInoqwTRyQ5uZ+2Pb9/MDdrd7Ykm37MBmWzVN49GeLL0djNWPlXWg==
X-Received: by 2002:adf:ef83:: with SMTP id d3mr18906828wro.145.1592054531050; 
 Sat, 13 Jun 2020 06:22:11 -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> <upzcblln2tzg.fsf@dod.no>
 <96986498-2013-6ae8-929d-64699ec5a4ef@gmail.com> <upzcpna318gd.fsf@dod.no>
Message-ID: <e6416099-8249-9240-0293-d9b59b7e7f04@gmail.com>
Date: Sat, 13 Jun 2020 15:22:09 +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: <upzcpna318gd.fsf@dod.no>
Content-Language: it
X-Spam-Status: No, score=-2.0 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 14:00, Steinar Bang wrote:
>>>>>> Marco Atzeri via Cygwin <cygwin@cygwin.com>:
> 
>> as attachment was mentioned in the link.
>> In line screw up the search function of the mailing list
>> archive.
> 
> Sorry!
> 
>>> USER = 'sbang'
>>> PWD = '/cygdrive/d/Profiles/sbang'
>>> HOME = '/cygdrive/d/Profiles/sbang'
> 
>> It is never a good idea to have the Cygwin Home dir the
>> same of Windows user dir
> 
> Why this not a good idea?

because permissions like the one needed for ssh
can be screwd by Windows ACL permission inherited

>> have you modified the "/etc/nsswitch.conf" ?
> 
> Not intentionally.  It looks like this:
> 
> sbang@ITEM-S63383:~$ cat /etc/nsswitch.conf
> # /etc/nsswitch.conf
> #
> #    This file is read once by the first process in a Cygwin process tree.
> #    To pick up changes, restart all Cygwin processes.  For a description
> #    see https://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-mapping-nsswitch
> #
> # Defaults:
> # passwd:   files db
> # group:    files db
> # db_enum:  cache builtin
> # db_home:  /home/%U
> db_home:  windows
> # db_shell: /bin/bash
> # db_gecos: <empty>

can you reset the default

db_home:  /home/%U


close all processes and try X again ?
This should use /home/sbang as your new home and
we can see if it is a permission problem that is causing
issue to Xwin


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