Web lists-archives.com

RE: Problem with installing Cygwin/X on Windows 10 PC: no icon created




Dear Marco (and R0b0t1),

Following your suggestions, I have tried to re-install X11 in the Windows Safe Mode to exclude the influence of AV. The X icons still didn't show up. So I am not sure the problem was caused by AV.

On the other hand, I tried to run the \etc\postinstall\xinit.sh.done and \etc\postinstall\xlaunch.sh.done commands in the Cygwin terminal. Now both the Xwin Server and XLaunch icons showed up under the Cygwin-X direction in the Start Menu. Thanks for the guidance in the previous email!

However, when trying to run XLaunch, I got the problem of "A fatal error has occurred and Cygwin/X will now exit. Can't read lock file /tmp/.X0-lock".  I have tried the following to resolve the problem (as instructed in FAQ Q. 2.3 and Q. 4.2):


1)      In the start menu shortcut,  amended the target of Xwin Server to add an "-- -nolock" option, which didn't work;

2)      In the Cygwin terminal, ran "startxwin -- -nolock", but got the error

" cat: /tmp/.X0-lock: No such file or directory
                 xauth:  error in locking authority file /home/xp902121/.serverauth.5048
                 xauth:  timeout in locking authority file /home/xp902121/.Xauthority"

So far, I still couldn't solve the problem. If you have any suggestions, that will be very appreciated. If needed, I may send separate email to the mailing list.

Many thanks,

Zuowei

From: Zuowei Wang
Sent: 02 August 2018 15:17
To: cygwin@xxxxxxxxxx
Subject: RE: Problem with installing Cygwin/X on Windows 10 PC: no icon created

Dear Marco,

Thank you very much for the suggestions.

Concerning your questions:

1. What system and AV do you have ?

System type: 64-bit Operating System, x64-based processor (Intel(r) Core(tm) i7-6700CPU @3.40GHz)
Operating system: Windows 10 Enterprise
AV: Sophos Anti-Virus; Windows firewall

2. Can you follow https://cygwin.com/problems.html and provide as attachment the cygcheck.out ?

The cygcheck.out file is 891KB in size, so when being attached as a plain-text attachment, the email was rejected. Would it be possible to send this output file to a different email address or in two separate files?

There is no "/var/log/xwin/XWin.0.log" file in the related directory.

3. What is the output of rebase -si | grep cygiconv-2.dll

$ rebase -si | grep cygiconv-2.dll
/usr/bin/cygiconv-2.dll
            base 0x0003e3ca0000 size 0x00105000

4. and of grep System32 /proc/self/maps | head -n 5

$ grep System32 /proc/self/maps | head -n 5
02610000-026D5000 r--s 00000000 5AE2:1602 281474976813647     /cygdrive/c/Windows/System32/locale.nls
7FF928280000-7FF928281000 r--p 00000000 5AE2:1602 281474976813532   /cygdrive/c/Windows/System32/authz.dll
7FF928281000-7FF9282AB000 r-xp 00001000 5AE2:1602 281474976813532   /cygdrive/c/Windows/System32/authz.dll
7FF9282AB000-7FF9282C4000 r--p 0002B000 5AE2:1602 281474976813532   /cygdrive/c/Windows/System32/authz.dll
7FF9282C4000-7FF9282C5000 rw-p 00044000 5AE2:1602 281474976813532   /cygdrive/c/Windows/System32/authz.dll


Many thanks,

Zuowei


From: Zuowei Wang
Sent: 02 August 2018 11:10
To: cygwin@xxxxxxxxxx<mailto:cygwin@xxxxxxxxxx>
Subject: RE: Problem with installing Cygwin/X on Windows 10 PC: no icon created

Sorry to both again. Below is what I got when running the command in the Cygwin terminal :

$ /etc/postinstall/xinit-1.3.4-14.sh
      1 [main] bash 4160 child_info_fork::abort: C:\cygwin64\bin\cygiconv-2.dll: Loaded to different address: parent(0x3FD990000) != child(0x3E3CA0000)
-bash: fork: retry: Resource temporarily unavailable
      1 [main] bash 4316 child_info_fork::abort: C:\cygwin64\bin\cygiconv-2.dll: Loaded to different address: parent(0x3FD990000) != child(0x3E3CA0000)
-bash: fork: retry: Resource temporarily unavailable
      1 [main] bash 6092 child_info_fork::abort: C:\cygwin64\bin\cygiconv-2.dll: Loaded to different address: parent(0x3FD990000) != child(0x3E3CA0000)
-bash: fork: retry: Resource temporarily unavailable
      1 [main] bash 10672 child_info_fork::abort: C:\cygwin64\bin\cygiconv-2.dll: Loaded to different address: parent(0x3FD990000) != child(0x3E3CA0000)
-bash: fork: retry: Resource temporarily unavailable
      1 [main] bash 10408 child_info_fork::abort: C:\cygwin64\bin\cygiconv-2.dll: Loaded to different address: parent(0x3FD990000) != child(0x3E3CA0000)
-bash: fork: Resource temporarily unavailable

Zuowei

From: Zuowei Wang
Sent: 02 August 2018 10:19
To: cygwin@xxxxxxxxxx<mailto:cygwin@xxxxxxxxxx>
Subject: RE: Problem with installing Cygwin/X on Windows 10 PC: no icon created

Dear Marco,

Thank you very much for the suggestion!

I have run the command line as you suggested and got the output of xinit-1.3.4-14, but nothing else happened. Is there anything else I need to do, say reboot the PC?

Many thanks,

Zuowei

the Cygwin-X entries in the Menu are created by the
script:

/etc/postinstall/xinit.sh{.done}

It belongs to the package
$ cygcheck -f /etc/postinstall/xinit.sh
xinit-1.3.4-14

You can run it again by the cygwin terminal.




From: Zuowei Wang
Sent: 02 August 2018 09:28
To: 'cygwin@xxxxxxxxxx'
Subject: Problem with installing Cygwin/X on Windows 10 PC: no icon created

Dear All,

I have been trying multiple times to install Cygwin/X on my Windows 10 PC using setup-x86_64.exe and as an administrator. Even though the installation was shown to be successful, there was NO Cygwin-X icons such as XLaunch/Xwin Server icons created either on Desktop or Start menu. I have followed the installation instructions precisely and read through many posts about installation of Cygwin/X, but couldn't find any solutions.

To give some more background: I have been installing Cygwin and Cygwin/X many times on different windows PCs and never had such a problem before. On this Windows 10 PC, the Cgywin64 Terminal was installed successfully and is running properly. But Cygwin/X does seem to be installed properly.

Any suggestions will be high appreciated.

Best regards,

Zuowei Wang
University of Reading, UK


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