cygwin 3.1.2 + Windows 10 Home Build 10.0.18362 - alt+space hotkeys not working
after upgrade cygwin to latest 3.1.2 (mintty i have following bugs alt+space hotkeys not working in any cygwin applications screen inside cygwin ssh have wrong tab completion i try get help on IRC freenode, but nobody answer me ;-( Is anybody here who have same bugs as me? -- 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
Re: startx cygwin
On 2019-12-24 16:11, Sanjay Gupta wrote: > starting startx following error > Unable to init server: Could not connect to 127.0.0.1: Connection refused > > while startxwin runs fine ( I see X server listening) > > > Welcome to the XWin X Server > Vendor: The Cygwin/X Project > Release: 1.20.5.0 > OS: CYGWIN_NT-10.0-18362 USD61FFDZ1 3.1.2-340.x86_64 2019-12-21 15:25 UTC > x86_64 > OS: Windows 10 [Windows NT 10.0 build 18362] (Win64) > Package: version 1.20.5-3 built 2019-09-06 > > XWin was started with the following command line: > > /usr/bin/X :0 -auth /home/user/.serverauth.8467 > > (--) Windows reports only 2 mouse buttons, defaulting to -emulate3buttons > (II) xorg.conf is not supported > (II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information > LoadPreferences: /home/user/.XWinrc not found > LoadPreferences: /etc/X11/system.XWinrc not found > LoadPreferences: See "man XWinrc" to customize the XWin menu. > LoadPreferences: Loading built-in default > winDetectSupportedEngines - RemoteSession: yes > winDetectSupportedEngines - DirectDraw4 installed, allowing ShadowDDNL > winDetectSupportedEngines - Returning, supported engines 0005 > winSetEngine - Using Shadow DirectDraw NonLocking > winScreenInit - Using Windows display depth of 32 bits per pixel > winWindowProc - WM_SIZE - new client area w: 1424 h: 821 > winFinishScreenInitFB - Masks: 00ff ff00 00ff > MIT-SHM extension disabled due to lack of kernel support > XFree86-Bigfont extension local-client optimization disabled due to lack of > shared memory support in the kernel > (EE) AIGLX: No native OpenGL in modes with a root window > (II) IGLX: Loaded and initialized swrast > (II) GLX: Initialized DRISWRAST GL provider for screen 0 > winPointerWarpCursor - Discarding first warp: 712 410 > (--) 2 mouse buttons found > (--) Setting autorepeat to delay=500, rate=31 > (--) Windows keyboard layout: "0409" (0409) "US", type 4 > (--) Found matching XKB configuration "English (USA)" > (--) Model = "pc105" Layout = "us" Variant = "none" Options = "none" > Rules = "base" Model = "pc105" Layout = "us" Variant = "none" Options = "none" > winProcEstablishConnection - winInitClipboard returned. > winClipboardThreadProc - DISPLAY=:0.0 > winClipboardProc - xcb_connect () returned and successfully opened the > display. > libGL error: Windows-DRI extension disabled for GDI Generic renderer > winWindowProc - WM_ENTERSIZEMOVE > winWindowProc - WM_EXITSIZEMOVE > > ** (gnome-session-check-accelerated:8505): WARNING **: Error retrieving > accessibility bus address: org.freedesktop.DBus.Error.NoReply: Message > recipient disconnected from message bus without replying > gnome-session-binary: PID 8489: WARNING: Using null backend for session > tracking > Unable to init server: Could not connect to 127.0.0.1: Connection refused > > ** (gnome-session-failed:8511): WARNING **: Cannot open display: > xinit: connection to X server lost > > waiting for X server to shut down winDeinitMultiWindowWM - Noting shutdown in > progress > (II) Server terminated successfully (0). Closing log file. Your X Window startx startup files must start and leave a window manager running, if you wish to have window management available, and not exit, otherwise the X server will exit. As this is not the assumed default operating mode (which is startxwin multi-window with only local clients) under Cygwin/X, you will have to set this up yourself, so please read and understand the Cygwin/X UG and FAQ in /usr/share/doc/cygwin-x-doc/{ug,faq}/cygwin-x-{ug,faq}.{html,pdf,ps.gz,rtf,txt} and the docs and man pages for xinit and startx. -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada This email may be disturbing to some readers as it contains too much technical detail. Reader discretion is advised. -- 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
startx cygwin
starting startx following error Unable to init server: Could not connect to 127.0.0.1: Connection refused while startxwin runs fine ( I see X server listening) Welcome to the XWin X Server Vendor: The Cygwin/X Project Release: 1.20.5.0 OS: CYGWIN_NT-10.0-18362 USD61FFDZ1 3.1.2-340.x86_64 2019-12-21 15:25 UTC x86_64 OS: Windows 10 [Windows NT 10.0 build 18362] (Win64) Package: version 1.20.5-3 built 2019-09-06 XWin was started with the following command line: /usr/bin/X :0 -auth /home/user/.serverauth.8467 (--) Windows reports only 2 mouse buttons, defaulting to -emulate3buttons (II) xorg.conf is not supported (II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information LoadPreferences: /home/user/.XWinrc not found LoadPreferences: /etc/X11/system.XWinrc not found LoadPreferences: See "man XWinrc" to customize the XWin menu. LoadPreferences: Loading built-in default winDetectSupportedEngines - RemoteSession: yes winDetectSupportedEngines - DirectDraw4 installed, allowing ShadowDDNL winDetectSupportedEngines - Returning, supported engines 0005 winSetEngine - Using Shadow DirectDraw NonLocking winScreenInit - Using Windows display depth of 32 bits per pixel winWindowProc - WM_SIZE - new client area w: 1424 h: 821 winFinishScreenInitFB - Masks: 00ff ff00 00ff MIT-SHM extension disabled due to lack of kernel support XFree86-Bigfont extension local-client optimization disabled due to lack of shared memory support in the kernel (EE) AIGLX: No native OpenGL in modes with a root window (II) IGLX: Loaded and initialized swrast (II) GLX: Initialized DRISWRAST GL provider for screen 0 winPointerWarpCursor - Discarding first warp: 712 410 (--) 2 mouse buttons found (--) Setting autorepeat to delay=500, rate=31 (--) Windows keyboard layout: "0409" (0409) "US", type 4 (--) Found matching XKB configuration "English (USA)" (--) Model = "pc105" Layout = "us" Variant = "none" Options = "none" Rules = "base" Model = "pc105" Layout = "us" Variant = "none" Options = "none" winProcEstablishConnection - winInitClipboard returned. winClipboardThreadProc - DISPLAY=:0.0 winClipboardProc - xcb_connect () returned and successfully opened the display. libGL error: Windows-DRI extension disabled for GDI Generic renderer winWindowProc - WM_ENTERSIZEMOVE winWindowProc - WM_EXITSIZEMOVE ** (gnome-session-check-accelerated:8505): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying gnome-session-binary: PID 8489: WARNING: Using null backend for session tracking Unable to init server: Could not connect to 127.0.0.1: Connection refused ** (gnome-session-failed:8511): WARNING **: Cannot open display: xinit: connection to X server lost waiting for X server to shut down winDeinitMultiWindowWM - Noting shutdown in progress (II) Server terminated successfully (0). Closing log file. Sanjay Gupta -- 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
[PATCH] Cygwin: fhandler_socket::open: set errno according to POSIX
Set errno to EOPNOTSUPP instead of ENXIO when 'open' is called on a socket. This is consistent with POSIX, starting with the 2016 edition. Earlier editions were silent on this issue. --- winsup/cygwin/fhandler_socket.cc | 2 +- winsup/cygwin/release/3.1.3 | 5 + winsup/doc/new-features.xml | 4 3 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 winsup/cygwin/release/3.1.3 diff --git a/winsup/cygwin/fhandler_socket.cc b/winsup/cygwin/fhandler_socket.cc index 9f33d8087..227004b43 100644 --- a/winsup/cygwin/fhandler_socket.cc +++ b/winsup/cygwin/fhandler_socket.cc @@ -269,7 +269,7 @@ fhandler_socket::fcntl (int cmd, intptr_t arg) int fhandler_socket::open (int flags, mode_t mode) { - set_errno (ENXIO); + set_errno (EOPNOTSUPP); return 0; } diff --git a/winsup/cygwin/release/3.1.3 b/winsup/cygwin/release/3.1.3 new file mode 100644 index 0..654201c6f --- /dev/null +++ b/winsup/cygwin/release/3.1.3 @@ -0,0 +1,5 @@ +What changed: +- + +- The errno is now EOPNOTSUPP instead of ENXIO when 'open' is called + on a socket. diff --git a/winsup/doc/new-features.xml b/winsup/doc/new-features.xml index 65bdc17ab..1d93c7730 100644 --- a/winsup/doc/new-features.xml +++ b/winsup/doc/new-features.xml @@ -54,6 +54,10 @@ Allow times(2) to have a NULL argument, as on Linux. Improve /proc/cpuinfo output and align more closely with Linux. + +The errno is now EOPNOTSUPP instead of ENXIO when 'open' is called on a socket. + + -- 2.21.0
Re: Files created with CYGWIN have "NULL SID:(DENY)" windows ACL, inter alia
Greetings, Peter Binney! > Hello Andrey - many thanks for that. I have now removed /etc/passwd > and /etc/group which didn't change anything. > I read some of your earlier posts on this and had already tried the noacl > route. > Unfortunately it has made no difference. I added a second line to my > fstab so it read: > none /cygdrive cygdrive binary,posix=0,user 0 0 Add "noacl" here. > e: /cygdrive/e ntfs noacl,binary,posix=0,user,auto 0 0 Avoid overlapping mount points. The end result could be surprising. > with "mount" showing: > C:/cygwin/bin on /usr/bin type ntfs (binary,auto) > C:/cygwin/lib on /usr/lib type ntfs (binary,auto) > C:/cygwin on / type ntfs (binary,auto) > E: on /cygdrive/e type ntfs (binary,noacl,posix=0,user) > C: on /cygdrive/c type ntfs (binary,posix=0,user,noumount,auto) > D: on /cygdrive/d type ntfs (binary,posix=0,user,noumount,auto) > N: on /cygdrive/n type smbfs (binary,posix=0,user,noumount,auto) > P: on /cygdrive/p type smbfs (binary,posix=0,user,noumount,auto) > But when creating files on an E: I still get DENY for "NULL SID" and > other accounts. $ cat /etc/fstab && mount # For a description of the file format, see the Users Guide # http://cygwin.com/cygwin-ug-net/using.html#mount-table # This is default anyway: #none /cygdrive cygdrive binary,posix=0,user 0 0 none / cygdrive noacl,binary,nouser,posix=0 0 0 W:/ /var/run ntfs acl,binary,nouser,posix=0 0 0 C:/Users /home bind noacl,binary,exec,posix=0 0 0 none /tmp usertemp binary,nouser,posix=1 0 0 C:/Users/ANRDAE~1/AppData/Local/Temp on /tmp type ntfs (binary,usertemp) C:/Programs/Cygwin_64/bin on /usr/bin type ntfs (binary,auto) C:/Programs/Cygwin_64/lib on /usr/lib type ntfs (binary,auto) C:/Programs/Cygwin_64 on / type ntfs (binary,auto) C:/Users on /home type ntfs (binary,exec,noacl,posix=0) W: on /var/run type ntfs (binary,posix=0) C: on /c type ntfs (binary,noacl,posix=0,noumount,auto) M: on /m type vfat (binary,noacl,posix=0,noumount,auto) Y: on /y type smbfs (binary,noacl,posix=0,noumount,auto) Z: on /z type smbfs (binary,noacl,posix=0,noumount,auto) -- With best regards, Andrey Repin Tuesday, December 24, 2019 12:14:33 Sorry for my terrible english... -- 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
Re: A permissions puzzle
Greetings, Eliot Moss! > On 12/22/2019 7:34 AM, Andrey Repin wrote: >> Drive has specific network path, use it. > Thank you, Andrey, but with (admittedly minimal) searching and > playing around, I could not figure out how to determine what > that path is. This is a locally attached (USB) external drive. > And I may be on networks where network discovery is not wise ... Sorry, I somehow read "removable" as "remote". There's two possible solutions: 1. Forcibly assign a specific drive letter. They would stay as long as the FS UUID remain the same and the letter is not assigned to another drive. 2. Use USBDLM https://www.uwe-sieber.de/usbdlm_e.html and configure letters as you wish. For what I recall, it lets you use drive label as the anchor. > Is there a canonical network name for a locally attached drive > with a particular label? -- With best regards, Andrey Repin Tuesday, December 24, 2019 12:10:55 Sorry for my terrible english... -- 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