From: Jean-Paul Bouchet <jean-paul.bouchet@avignon.inra.fr>
To: cygwin@cygwin.com
Subject: Re: Installer of Cygwin 64 seems to freeze when executing /etc/postinstall/xlaunch.sh - version 2.874
Date: Thu, 02 Jun 2016 16:24:00 -0000 [thread overview]
Message-ID: <57505D42.9000908@avignon.inra.fr> (raw)
In-Reply-To: <b757f2c6-8492-a7b9-7388-9bfcaa8a0b10@dronecode.org.uk>
[-- Attachment #1: Type: text/plain, Size: 1235 bytes --]
Hello,
Please find attached the script /etc/postinstall/xlaunch.sh and the
output of its execution (file postinstall_xlaunch.txt).
Thank you.
Best regards,
Jean-Paul Bouchet
On 02/06/2016 15:21, Jon Turney wrote:
> On 31/05/2016 17:36, Jean-Paul Bouchet wrote:
>> I try to install cygwin 64 on a windows 7 PC in order to let users open
>> an X11 session via xlaunch on a linux server (gdm3).
>>
>> I have selected only 3 components of X11 to complete the default
>> selection : xinit, xlaunch and Xorg server.
>>
>> The installer seems to freeze when it executes
>> /etc/postinstall/xlaunch.sh.
>> Information about the progression of the installation is blocked during
>> several minutes with 99% Cygwin - Setup
>>
>> If I don't cancel the installation, it seems to finish correctly.
>>
>> 17:36:33 running: C:\cygwin64\bin\bash.exe --norc --noprofile
>> "/etc/postinstall/xlaunch.sh"
>> 17:55:47 Changing gid to Administrators
>> Ending cygwin install
>>
>> Is it a normal behaviour ?
>
> Thanks for reporting this problem.
>
> No, this is not normal or expected.
>
> Perhaps you could manually run the postinstall script with 'sh -x
> /etc/postinstall/xlaunch.sh.done' to see where it is getting stuck?
>
[-- Attachment #2: postinstall_xlaunch.txt --]
[-- Type: text/plain, Size: 1816 bytes --]
C:\cygwin64\bin\sh -x /etc/postinstall/xlaunch.sh.done
+ case $(uname -s ) in
++ uname -s
/etc/postinstall/xlaunch.sh.done: line 2: uname: command not found
++ /usr/bin/cygpath -P
+ /usr/bin/mkdir -p '/cygdrive/c/Users/jpbouchet/AppData/Roaming/Microsoft/Windows/Start Menu/Programs/Cygwin-X'
+ /usr/bin/mkshortcut -P -i /usr/bin/xlaunch.exe -n Cygwin-X/XLaunch -a '/usr/bin/bash.exe -l -c /usr/bin/xlaunch.exe' /usr/bin/run.exe
+ /usr/share/xlaunch/setupreg.sh add
/usr/share/Xlaunch/setupreg.sh: line 8: which: command not found
/usr/share/Xlaunch/setupreg.sh: line 8: cygpath: command not found
/usr/share/Xlaunch/setupreg.sh: line 9: which: command not found
/usr/share/Xlaunch/setupreg.sh: line 9: cygpath: command not found
/usr/share/Xlaunch/setupreg.sh: line 10: which: command not found
/usr/share/Xlaunch/setupreg.sh: line 10: cygpath: command not found
/usr/share/Xlaunch/setupreg.sh: line 14: which: command not found
/usr/share/Xlaunch/setupreg.sh: line 14: cygpath: command not found
/usr/share/Xlaunch/setupreg.sh: line 38: regtool: command not found
/usr/share/Xlaunch/setupreg.sh: line 39: regtool: command not found
/usr/share/Xlaunch/setupreg.sh: line 42: regtool: command not found
/usr/share/Xlaunch/setupreg.sh: line 43: regtool: command not found
/usr/share/Xlaunch/setupreg.sh: line 45: regtool: command not found
/usr/share/Xlaunch/setupreg.sh: line 46: regtool: command not found
/usr/share/Xlaunch/setupreg.sh: line 47: regtool: command not found
/usr/share/Xlaunch/setupreg.sh: line 49: regtool: command not found
/usr/share/Xlaunch/setupreg.sh: line 50: regtool: command not found
/usr/share/Xlaunch/setupreg.sh: line 51: regtool: command not found
/usr/share/Xlaunch/setupreg.sh: line 53: regtool: command not found
/usr/share/Xlaunch/setupreg.sh: line 54: regtool: command not found
[-- Attachment #3: xlaunch.sh.done --]
[-- Type: text/plain, Size: 412 bytes --]
# add a start menu shortcut
case $(uname -s) in *-WOW*) wow64=" (32-bit)" ;; esac
/usr/bin/mkdir -p "$(/usr/bin/cygpath $CYGWINFORALL -P)/Cygwin-X${wow64}"
/usr/bin/mkshortcut $CYGWINFORALL -P -i /usr/bin/xlaunch.exe -n "Cygwin-X${wow64}/XLaunch" -a "/usr/bin/bash.exe -l -c /usr/bin/xlaunch.exe" /usr/bin/run.exe
# add file association for opening and editing .xlaunch files
/usr/share/xlaunch/setupreg.sh add
[-- Attachment #4: Type: text/plain, Size: 218 bytes --]
--
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
next prev parent reply other threads:[~2016-06-02 16:24 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <574DBD95.1060202@avignon.inra.fr>
2016-06-02 13:22 ` Jon Turney
2016-06-02 16:24 ` Jean-Paul Bouchet [this message]
2016-06-03 12:41 ` Jon Turney
2016-06-03 15:28 ` Jean-Paul Bouchet
2016-06-03 15:59 ` Ken Brown
2016-06-06 13:49 ` Jon Turney
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=57505D42.9000908@avignon.inra.fr \
--to=jean-paul.bouchet@avignon.inra.fr \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).