-nounixkill doesn't seem to work (Was Re: Ctrl-Alt-Backspace)

Igor Pechtchanski pechtcha@cs.nyu.edu
Sat Dec 6 05:18:00 GMT 2003


On Fri, 5 Dec 2003, Jack Tanner wrote:

> Er, so Ctrl-Alt-Backspace kills the X-server (quite efficiently, and
> with no confirmation). This is bad (for example, when Ctrl-Alt-Backspace
> happens to match an Emacs incantation).
>
> Since Xwin plays nicely with the system tray icon for exiting, is there
> any reason to listen for Ctrl-Alt-Backspace? I can think of two reasons
> -- compatibility with XFree86 convention across platforms, and
> preserving keyboard accessibility. I'm not sure that either one is very
> important here.
>
> The least disruptive fix is probably to make Ctrl-Alt-Backspace invoke
> the same confirmation dialog that the system tray icon invokes.
>
> Thanks,
> JT

Well, technically, adding "-nounixkill" to the XWin.exe parameter list
should do it, but it doesn't work for me.  When I open an XWin session on
a Win2k SP3 machine, Ctrl-Alt-Backspace still happily kills the server,
even with -nounixkill.  The command I used to start the X server was

XWin :1.0 -nounixkill

(since I have Exceed running on display :0.0) and pressed
Ctrl-Alt-Backspace in the window once the screen appeared to have
initialized (after a minute or so).  /tmp/XWin.log is attached, and the
versions of the relevant (IMO) installed software are below.  Please let
me know what further information I can provide (or experiments I could
try) to help diagnose the problem.
	Igor

$ cygcheck -cd | egrep 'XFree|cygwin '
cygwin                  1.5.5-1
XFree86-base            4.3.0-1
XFree86-bin             4.3.0-7
XFree86-etc             4.3.0-5
XFree86-f100            4.2.0-3
XFree86-fcyr            4.2.0-3
XFree86-fenc            4.2.0-3
XFree86-fnts            4.2.0-3
XFree86-lib             4.3.0-1
XFree86-lib-compat      4.3.0-2
XFree86-man             4.3.0-2
XFree86-prog            4.3.0-10
XFree86-startup-scripts 4.2.0-5
XFree86-xserv           4.3.0-22

-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton
-------------- next part --------------
ddxProcessArgument - Initializing default screens
winInitializeDefaultScreens - w 1024 h 768
winInitializeDefaultScreens - Returning
OsVendorInit - Creating bogus screen 0
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
(EE) Unable to locate/open config file
InitOutput - Error reading config file
winDetectSupportedEngines - Windows NT/2000/XP
winDetectSupportedEngines - DirectDraw installed
winDetectSupportedEngines - Allowing PrimaryDD
winDetectSupportedEngines - DirectDraw4 installed
winDetectSupportedEngines - Returning, supported engines 0000001f
InitOutput - g_iNumScreens: 1 iMaxConsecutiveScreen: 1
winSetEngine - Using Shadow DirectDraw NonLocking
winAdjustVideoModeShadowDDNL - Using Windows display depth of 32 bits per pixel
winCreateBoundingWindowWindowed - User w: 1024 h: 768
winCreateBoundingWindowWindowed - Current w: 1024 h: 768
winAdjustForAutoHide - Original WorkArea: 0 0 715 1024
winAdjustForAutoHide - Adjusted WorkArea: 0 0 715 1024
winCreateBoundingWindowWindowed - WindowClient w 1018 h 690 r 1018 l 0 b 690 t 0
winCreateBoundingWindowWindowed -  Returning
winCreatePrimarySurfaceShadowDDNL - Creating primary surface
winCreatePrimarySurfaceShadowDDNL - Created primary surface
winCreatePrimarySurfaceShadowDDNL - Attached clipper to primary surface
winAllocateFBShadowDDNL - lPitch: 4072
winAllocateFBShadowDDNL - Created shadow pitch: 4072
winAllocateFBShadowDDNL - Created shadow stride: 1018
winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff
winInitVisualsShadowDDNL - Masks 00ff0000 0000ff00 000000ff BPRGB 8 d 24 bpp 32
winCreateDefColormap - Deferring to fbCreateDefColormap ()
winFinishScreenInitFB - returning
winScreenInit - returning
InitOutput - Returning.
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
(==) winConfigKeyboard - Layout: "00000409" (00000409) 
(EE) No primary keyboard configured
(==) Using compiletime defaults for keyboard
Rules = "xfree86" Model = "pc101" Layout = "us" Variant = "(null)" Options = "(null)"
Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/Type1/, removing from list!
winPointerWarpCursor - Discarding first warp: 509 345
winBlockHandler - Releasing pmServerStarted
winBlockHandler - pthread_mutex_unlock () returned
winDeinitClipboard - Noting shutdown in progress
winDeinitMultiWindowWM - Noting shutdown in progress


More information about the Cygwin-xfree mailing list