Re: Possible flaw in XFree?

From: Valdis.Kletnieks@vt.edu
Date: 06/28/02


To: "William N. Zanatta" <william@veritel.com.br>
From: Valdis.Kletnieks@vt.edu
Date: Fri, 28 Jun 2002 12:48:21 -0400

On Thu, 27 Jun 2002 16:06:55 -0300, "William N. Zanatta" <william@veritel.com.br> said:

> 5. Then, 'ctrl-alt-backspace' and voila... X is down and my console
> is there, opened for me.

Working as designed.

XFree is just following the X Consortium here - X servers have used
control-alt-backspace as a "shutdown now" hotkey at least as far back
as X11.1 or maybe even X10.4, 15 years ago.

If this is a problem in your environment:

1) dont use 'startx', but use 'gdm' or something to manage logins.
This way, when the X server exits, you go back to the login screen.

2) 'man 5 XF86Config' and read this in the 'Serverflags section':

      Option "DontZap" "boolean"
              This disallows the use of the Ctrl+Alt+Backspace
              sequence. That sequence is normally used to termi-
              nate the X server. When this option is enabled,
              that key sequence has no special meaning and is
              passed to clients. Default: off.

Hope this helps..

-- 
				Valdis Kletnieks
				Computer Systems Senior Engineer
				Virginia Tech




Relevant Pages

  • Re: Replication problems
    ... shutdown a few months ago which held Schema Master and Operations Master ... You cannot DCPromo a missing DC. ... the replication process ny monitring that operation. ... the 2 servers apparently stopped replicating each other. ...
    (microsoft.public.windows.server.active_directory)
  • Re: Automatic Updates Restart Problem on Server 2003
    ... PowerEdge servers, ... it appears that a shutdown is initiated, but the server hangs in the ... Windows will display its shutdown screens, and the reboot will ...
    (microsoft.public.windows.server.general)
  • Re: UPS and remote shutdowns
    ... four servers, I wanted a software solution that would allow all the ... servers to shutdown once the UPS "Master" server deemed necessary. ... all the client data resides there. ...
    (comp.os.linux.networking)
  • Re: Connection Error when Rebooting
    ... Most likely there is something running on your servers that is cancelling/stopping the shutdown. ... Using the /F option prevents a process from stopping a shutdown by responding false or not at all--each process is terminated regardless. ... Even with /F there are cases where a kernel mode driver or other core windows process could prevent the shutdown from completing. ... If there is one of your servers that has this problem frequently, you could run tests by stopping certain services and then seeing if the restart happens without fail. ...
    (microsoft.public.windows.terminal_services)
  • Re: tsshutdn causes TS to hang
    ... shutdown goes ok, the TS service is set to autostart, which it does. ... We are managing 15 terminal servers at 12 ... I found 2 servers that reboot nice every night. ... the other one didn’t install any updates for a couple of months. ...
    (microsoft.public.windows.terminal_services)