Bug 391349

Summary: Can't kill X with ctrl-alt-backspace (it does not beep)
Product: [openSUSE] openSUSE 11.0 Reporter: Juergen Weigert <jw>
Component: Release NotesAssignee: Karl Eichwalder <ke>
Status: RESOLVED FIXED QA Contact: Stephan Kulow <coolo>
Severity: Normal    
Priority: P5 - None CC: aj, coolo, ke
Version: Beta 3   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 357354, 388189    

Description Juergen Weigert 2008-05-16 14:07:45 UTC
+++ This bug was initially created as a clone of Bug #388189 +++

ctrl-alt-backspace was changed to beep instead of kill the X-Server immediatly.
It does not beep on my Lenovo X60s, nevertheless, I am required to press
ctrl-alt-backspace twice.
Comment 1 Stephan Kulow 2008-05-16 14:15:47 UTC
yeah, that's why we added the fact you need to press twice to the release notes. The hardware not beeping (unless muted) is pretty rare though.



*** This bug has been marked as a duplicate of bug 388189 ***
Comment 2 Juergen Weigert 2008-05-16 14:39:05 UTC
The beep is supposed to come from a plain and simple pc-beeper.
Not from the possibly muted or misconfigured sound system.
Comment 3 Stefan Dirsch 2008-05-16 15:35:57 UTC
Well, you can also mute the PC speaker. :-)

> The hardware not beeping (unless muted) is pretty rare though.
I think we need to add this information to the release notes.
Comment 4 Karl Eichwalder 2008-05-16 16:23:27 UTC
I think the current text covers this somehow implicitely resp. the reader might get a clue to press it twice within 2 seconds ;)
Comment 5 Stefan Dirsch 2008-05-16 17:56:45 UTC
I don't think so.

> [...] If you press Ctrl-Alt-Backspace within 2 seconds again, it terminates        > the X server.

People will wait for the beep and if there is no beep they will become desperated and need to assume that SUSE broke it completely. We should add
something like this:

"On some hardware there is no PC Speaker availabe or it is disconnected, so you
 can't hear the beep. In this case just press Ctrl-Alt-Backspace twice."

Comment 6 Stephan Kulow 2008-05-16 20:58:13 UTC
That's weird wording. If you have to mention it, then mentioned it positively:

If you press CAB within 2 seconds, it terminates the X server. On most hardware you hear a beep after the first time."
Comment 8 Karl Eichwalder 2008-05-19 09:02:53 UTC
New version in SVN:

  <!-- Bug 388189 -->
  <sect3 id="c-a-b" status="2008-05-16">
   <title>Press Ctrl-Alt-Backspace Twice to Terminate the X Server</title>

   <para>Pressing Ctrl-Alt-Backspace on GNOME, KDE, or any other graphical
desktop does not terminate the X server any longer.  If you press
Ctrl-Alt-Backspace within 2 seconds again, it terminates the X server.  On most
hardware you hear a beep after the first Ctrl-Alt-Backspace press.</para>

   <para>In the past it was possible to accidentally terminate an X session
using this key combination. Nevertheless, if you want to continue to use this
feature, remove the following line from the <literal>ServerFlags</literal>
section of the <filename>/etc/X11/xorg.conf</filename> file:</para>

   <screen
>Option "ZapWarning" "on"</screen>

   <para>For more information, see the <systemitem>xorg.conf</systemitem>
manpage.</para>
      </sect3>
Comment 9 Stefan Dirsch 2008-05-19 09:14:58 UTC
Thanks, sounds better now. While we're on it.

> In the past it was possible to accidentally terminate an X session
> using this key combination. Nevertheless, if you want to continue to use this
> feature, ...

This makes "accidentally terminating an X session" a feature !?! Which sounds weird to me. I suggest to replace it with

[...] if you want to continue to use this key combination to terminate your X session, remove ...
Comment 10 Stephan Kulow 2008-05-19 12:56:17 UTC
For me both versions are fine.
Comment 11 Karl Eichwalder 2008-05-19 13:19:47 UTC
Ok, so we go for Stefan's version:

  <!-- Bug 388189 -->
  <sect3 id="c-a-b" status="2008-05-19">
   <title>Press Ctrl-Alt-Backspace Twice to Terminate the X Server</title>

   <para>Pressing Ctrl-Alt-Backspace on GNOME, KDE, or any other graphical
desktop does not terminate the X server any longer.  If you press
Ctrl-Alt-Backspace within 2 seconds again, it terminates the X server.  On most
hardware you hear a beep after the first Ctrl-Alt-Backspace press.</para>

   <para>In the past it was possible to accidentally terminate an X server
using this key combination. Nevertheless, if you want to continue to use this
key combination to terminate your X server, remove the following line from the
<literal>ServerFlags</literal> section of the
<filename>/etc/X11/xorg.conf</filename> file:</para>

   <screen
>Option "ZapWarning" "on"</screen>

   <para>For more information, see the <systemitem>xorg.conf</systemitem>
manpage.</para>
      </sect3>
Comment 12 Karl Eichwalder 2008-05-21 13:40:49 UTC
done. -> /work