LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 11-19-2001, 11:30 AM   #1
faustus
LQ Newbie
 
Registered: May 2001
Posts: 4

Rep: Reputation: 0
Stopping the Ctrl-Alt-BackSpace


I am wondering how I can stop remote X terminal users from killing X using the ctrl-alt-bkspace. I have stopped them from ctrl-alt-deleteing and restarting their local machine however they can still still kill X and get to a local logon screen. I want them to get the Login screen but should they enter a bad user/pass or wait more than say 15 seconds, X should restart and begin a new X login.

Any ideas? Can I use the same inittab command I used the catch the ctrl-alt-del to catch the ctrl-alt-bkspace? ex.

was...
ca::ctraltdel:/sbin/shutdown -t3 -r now

now...
ca:ctrlaltdel:/bin/echo "Please Contact your SysAdmin should you need to restart"

Any clues??
Thank you
 
Old 11-19-2001, 01:22 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Maybe http://www.linuxquestions.org/questi...?threadid=8209 and/or http://www.linuxquestions.org/questi...?threadid=8242

Last edited by unSpawn; 11-19-2001 at 01:23 PM.
 
Old 08-14-2004, 03:40 AM   #3
sofian
LQ Newbie
 
Registered: Aug 2004
Posts: 1

Rep: Reputation: 0
dsiable ctrl+alt+backspc,ctrl+alt+f1

I have read that 2 thread, but i still confuse
i want to disable ctra+alt+backspace and ctrl+alt+f1...f5
can i ask you about that?Because i still new in linux, i don't understand your advise.

you said that by adding Dontzap to XFconfig, can you describe it clearly,what is dontzap?or enter +80 chars in password box, where is the passwordbox.

the other thread you said about modify a keymap and edit out the F keys and backspace. Where i can find and modify it?what is a keymap file?

Sorry if my questions seems silly,but i really doesn't get it. thank you very much
 
Old 08-14-2004, 06:43 AM   #4
jcspray
Member
 
Registered: Mar 2004
Location: York, UK
Distribution: Ubuntu
Posts: 132

Rep: Reputation: 15
Below 'Section "ServerFlags"' you just need a line "DontZap". This disables killing X by using ctrl+alt+backsp.

>edit out the F keys and backspace
I wouldn't recommend disabling backspace! :-)

To disable ctrl+alt+f* in X will involve creating an appropriate file to use with xmodmap. I have used xkeycaps, a graphical keymap editor, for this.

So the file reads:

keycode 0x43 = F2
keycode 0x44 = F3

(Note that normally these lines would be something like "keycode 0x44 = F2 XF86_Switch_VT_2")

and so on.

To load it, you use "xmodmap /whereever/myfile.map" or so. Forcing this to happen for each user when they login depends on how your system is otherwise set up.
 
  


Reply


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 01:05 PM
dark screen when pressing Ctrl + Alt + Backspace or Ctrl + Alt F1-F6 in Gnome or KDE trinoo Slackware 5 01-28-2005 08:13 AM
ctrl-alt-backspace suspends wapcaplet Linux - Hardware 19 04-22-2004 09:52 PM
Cannot use Ctrl+Alt+Backspace to kill X tmorton Linux - Laptop and Netbook 3 11-11-2003 06:25 PM
Ctrl+Alt+Backspace Socka Linux - Newbie 8 05-18-2003 07:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:54 PM.

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