Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 08-15-2003, 06:53 PM   #1
Registered: Jan 2002
Distribution: Debian
Posts: 43

Rep: Reputation: 15
Disabling <ctrl><alt><backspace> in X

I am trying to diable Disabling <ctrl><alt><backspace> in X. I don't want anyone to be able to shutdown my session when I lock the screen with a screensaver.

I have uncommented the line "DontZap" in XF86Config but this didn't fix it.

Any help would be appreciated.
Old 08-15-2003, 08:16 PM   #2
Mega Man X
LQ Guru
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 64
This is pretty funny. I have the opposite problem of you. I cannot kill X with ctrl+alt+backspace . This is due a little problem I'm having with my keyboard layout in Slackware 9.0 and graphical mode. To correct the problem, I have to load the correct xmodmap. Loading xmodmap (for my swedish layout) it corrects the keyboard and the backspace/killX thing stops working.
Try looking if this works for you. This is far the most inaccurate solution, but would be a "working around" untill somebody explanes why "DontZap" does not work for you and why my xmodmap kills my shortcut in killing X.

Go into /usr/share/xmodmap

find your keyboard layout there and type

xmodmap (this is just a guess)

If it works, and you are satisfied with this n00b work around I did, copy your modmap to home directory using:

cp /home/user/.Xmodmap

Good luck and sorry for not having a wiser solution
Old 08-17-2003, 06:20 PM   #3
Senior Member
Registered: Dec 2001
Location: 35.7480 N, 95.3690 W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 46
Just so everone knows:

I added a ServerFlags section to my XF86Config-4 file containing the DontZap line.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ctrl+alt+backspace marsques Linux - Newbie 2 02-04-2009 02:05 PM
dark screen when pressing Ctrl + Alt + Backspace or Ctrl + Alt F1-F6 in Gnome or KDE trinoo Slackware 5 01-28-2005 09:13 AM
Stopping the Ctrl-Alt-BackSpace faustus Linux - General 3 08-14-2004 07:43 AM
Cannot use Ctrl+Alt+Backspace to kill X tmorton Linux - Laptop and Netbook 3 11-11-2003 07:25 PM
Ctrl+Alt+Backspace Socka Linux - Newbie 8 05-18-2003 08:18 AM

All times are GMT -5. The time now is 06:17 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration