cygwin x11 doesn't start after windows 10 upgrade

Marco Atzeri marco.atzeri@gmail.com
Sat Jun 13 13:22:09 GMT 2020


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




More information about the Cygwin mailing list