Problems with cygwin in Windows 10

Robert McBroom mcforum@bellsouth.net
Thu Jul 23 17:35:00 GMT 2015


On 7/22/2015 4:03 AM, Corinna Vinschen wrote:
> On Jul 21 23:13, Robert McBroom wrote:
>> Having problems with the X interface in Windows 10 (currently build 10240).
>> /bin/startxwin fails with the symptoms in the attached file xwin.txt. The
>> output from cygcheck -cv is also attached. What am I missing?
>> [...]
>> granp@WIN-xx /
>> $ ls -la
>> total 1303
>> drwxrwxrwx+ 1 Unknown+User Unknown+Group      0 May 21 15:33 .
> This looks weird.  Did you copy your /etc/passwd and /etc/group files
> from another machine, by any chance?  If you have both files, simply
> remove them.  Check if you have a /etc/nsswitch.conf(*) file and
> remove it as well.
>
> Exit all Cygwin processes and start a single shell.  What does
> `id' print?  What does `ls -l' print now?
>
>
> Corinna
>
>
> (*) In the long run, you might want to read
>      https://cygwin.com/cygwin-ug-net/ntsec.html
>
Startxwin worked after doing "chown granp:granp /tmp".

/etc/passwd and /etc/group files don't exist.

The file

/etc/nsswitch.conf
was default dated from January. Moved it.

The output from `id and `ls -l is in the attached file.

-------------- next part --------------
granp@WIN-O8GDH3F20D4 ~
$ id
uid=197609(granp) gid=197609(granp) groups=197609(granp),405504(High Mandatory Level),114(Local account and member of Administrators group),544(Administrators),545(Users),4(INTERACTIVE),66049(CONSOLE LOGON),11(Authenticated Users),15(This Organization),68592(MicrosoftAccount+granpamcb@outlook.com),113(Local account),66048(LOCAL),262180(Cloud Account Authentication)

granp@WIN-O8GDH3F20D4 ~
$ ls -l
total 2
drwxrwxr-x+ 1 granp granp   0 Jul 18 00:23 Desktop
drwxrwxr-x+ 1 granp granp   0 Jul 18 00:23 Documents
drwxrwxr-x+ 1 granp granp   0 Jul 18 00:23 Downloads
-rwxrwxr--+ 1 granp granp 302 Jul 21 15:59 Emacs
-rwxrwxr--+ 1 granp granp 100 Jul 21 15:59 fullvt
drwxrwxr-x+ 1 granp granp   0 Jul 18 00:23 Music
drwxrwxr-x+ 1 granp granp   0 Jul 18 00:23 Pictures
drwxrwxr-x+ 1 granp granp   0 Jul 18 00:23 Public
drwxrwxr-x+ 1 granp granp   0 Jul 18 00:23 Templates
drwxrwxr-x+ 1 granp granp   0 Jul 18 00:23 Videos

granp@WIN-O8GDH3F20D4 ~
$ ls -l \
total 1295
lrwxrwxrwx  1 Unknown+User Unknown+Group     21 Jan  1  2014 30cm -> /cygdrive/f/rods/30cm
lrwxrwxrwx  1 Unknown+User Unknown+Group     21 Jan  1  2014 60cm -> /cygdrive/f/rods/60cm
drwxrwxrwx+ 1 Unknown+User Unknown+Group      0 Jul 21 15:48 bin
dr-xr-xr-x  1 granp        granp              0 Jul 23 07:59 cygdrive
-rwxrwxrwx+ 1 Unknown+User Unknown+Group     59 Jul  7 21:58 Cygwin.bat
-rwxrwxrwx+ 1 Unknown+User Unknown+Group     59 Aug  8  2013 Cygwin.bat~
-rwxrwxrwx+ 1 Unknown+User Unknown+Group 157097 Aug  8  2013 Cygwin.ico
-rwxrwxrwx+ 1 Unknown+User Unknown+Group  53342 Aug  8  2013 Cygwin-Terminal.ico
-rwxrwxrwx+ 1 Unknown+User Unknown+Group 132014 Apr 26 11:40 cygwin-ug-net-nochunks.html
drwxrwxrwx+ 1 Unknown+User Unknown+Group      0 Oct 10  2013 dev
drwxrwxrwx+ 1 Unknown+User Unknown+Group      0 Jul 23 07:56 etc
lrwxrwxrwx  1 Unknown+User Unknown+Group     11 Sep  7  2013 f -> /cygdrive/f
drwxrwxrwx+ 1 Unknown+User Unknown+Group      0 Jul  7 21:58 home
lrwxrwxrwx  1 Unknown+User Unknown+Group     11 Sep  7  2013 j -> /cygdrive/j
drwxr-xr-x+ 1 Unknown+User Unknown+Group      0 Jul 21 15:48 lib
lrwxrwxrwx  1 Unknown+User Unknown+Group     26 Sep  7  2013 MCNP_DATA -> /cygdrive/d/MCNP/mcnp_data
drwx---r-x+ 1 Unknown+User Unknown+Group      0 May 31 21:27 mnt
drwx---r-x+ 1 Unknown+User Unknown+Group      0 Apr 26 21:26 opt
dr-xr-xr-x  9 granp        granp              0 Jul 23 07:59 proc
drwxr--r-t+ 1 Unknown+User Unknown+Group      0 Apr 27 21:12 run
drwxrwxr-x+ 1 Unknown+User Unknown+Group      0 Apr 25 15:47 sbin
drwxrwxr-t+ 1 granp        granp              0 Jul 22 07:46 tmp
drwxrwxrwx+ 1 Unknown+User Unknown+Group      0 Jul 11 01:08 usr
drwxr-xr-x+ 1 Unknown+User Unknown+Group      0 Oct  3  2014 var
-------------- next part --------------
--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


More information about the Cygwin mailing list