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?


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

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

Reply via email to