www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/08/02/13:24:06

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:to:subject:date:message-id:references
:in-reply-to:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=OtbN352FJK3Yk2Su
w2f/ry6m8UzZfWFpiAgp6hrU0ydVnGo+kF57X0n1SzsuneRj9iVB5EBqaeQdY5Oi
ZYqL0Ln/OStoLCyRHXb/gddaZ/A1ZmGyrwFLze0PhWVUd0LC2vWm+egvmfKszc0J
13peHpNLa1eYwTLEk64l4C5iSbs=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:to:subject:date:message-id:references
:in-reply-to:mime-version:content-type
:content-transfer-encoding; s=default; bh=6No/Bb1hLDl35pOyW8uxT1
tlAug=; b=v228RlcmbjjjmB+AvMNsxnCq/3JMUBt2DfRoT8mIK160ovzEtPu74e
tdsq38n+U6IPfy9pF0zoxBaEwT4lMltTKwRfRU1rMu59989PVBOl+ZKm0PqI/UiK
d0zYqQrTT4RRRfym67LF0u8rlg8JJx5S0HSDxwIQLdOAguyzIIqbs=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=instructed, R0b0t1, r0b0t1
X-HELO: EUR04-DB3-obe.outbound.protection.outlook.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=livereadingac.onmicrosoft.com; s=selector1-reading-ac-uk; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=IS25RVP+9zQEgCke7amJhbaRmFrb/LogVvz6/sdFVNk=; b=fRPOxrvGHCi1tFmr3seE1f/vUhEurkMGRrwnGqpFoDTieDjIWIki3UueeCmJL8fWJhFm+sg7qhBd/5uiyAhKTRvY8p2+msZ2xcG3cQ2JG5W9F54aX1qfvbrdVWkRv3TZLx2awyP+jf3CZHL4iocnwF40EF6U+AKYC1CGbq2bbTY=
From: Zuowei Wang <zuowei DOT wang AT reading DOT ac DOT uk>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: RE: Problem with installing Cygwin/X on Windows 10 PC: no icon created
Date: Thu, 2 Aug 2018 17:23:42 +0000
Message-ID: <AM0PR01MB41809C435100F399AF2B5F53BE2C0@AM0PR01MB4180.eurprd01.prod.exchangelabs.com>
References: <AM0PR01MB4180C7A1F47109637D076976BE2C0 AT AM0PR01MB4180 DOT eurprd01 DOT prod DOT exchangelabs DOT com> <AM0PR01MB4180EBF208CE083BAE7A30DDBE2C0 AT AM0PR01MB4180 DOT eurprd01 DOT prod DOT exchangelabs DOT com> <AM0PR01MB4180A362AA3121D33C23A069BE2C0 AT AM0PR01MB4180 DOT eurprd01 DOT prod DOT exchangelabs DOT com>
In-Reply-To: <AM0PR01MB4180A362AA3121D33C23A069BE2C0@AM0PR01MB4180.eurprd01.prod.exchangelabs.com>
authentication-results: spf=none (sender IP is ) smtp.mailfrom=zuowei DOT wang AT reading DOT ac DOT uk;
received-spf: None (protection.outlook.com: reading.ac.uk does not designate permitted sender hosts)
MIME-Version: 1.0
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id w72HO4Xv007796

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 AT cygwin DOT com
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 AT cygwin DOT com<mailto:cygwin AT cygwin DOT com>
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 AT cygwin DOT com<mailto:cygwin AT cygwin DOT com>
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 AT cygwin DOT com'
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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019