LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-02-2011, 11:07 AM   #1
yigosan
LQ Newbie
 
Registered: Jan 2011
Posts: 2

Rep: Reputation: 0
Force Restart on CTRL+ALT+DEL on XFCE


Hi,

I've hired a dedicated Ubuntu10.10 Server on a remote colocation. I needed a GUI to be able to hook into my KVM guests, so I installed xubuntu-desktop.

My dedicated server provider provides me very useful free service. I can request a CTRL+ALT+DEL to my server through their web based server control panel, and I can boot into a live image from their network. This is vital for me to be able fix back configuration problems.

However after I have installed xubuntu-desktop (XFCE I believe), the CTRL+ALT+DEL no longer reboots the machine.

I've been struggling with this simple issue for quite a few days, I simply can't get it to work.

I've tried setting it through XCFE 4 Settings Manager. It does not work. From my understanding any keyboard shortcuts defined here are specific to user, so I think they'll not work when the server is in login screen (no user logged in).

I've tried to put control-alt-delete.conf files in /etc/init and /etc/event.d/ , neither seems to trigger reboot. Documentary propose /etc/event.d has been deprecated since Ubuntu9.04, i tried it anyways.

Content of the file is

---------------------------------------------------

# control-alt-delete - emergency keypress handling
#
# This task is run whenever the Control-Alt-Delete key combination is
# pressed, and performs a safe reboot of the machine.

description "emergency keypress handling"
author "Scott James Remnant <scott@netsplit.com>"

start on control-alt-delete

task
exec shutdown -r now "Control-Alt-Delete pressed"


---------------------------------------------------

Thanks in advance
 
Old 01-02-2011, 11:30 AM   #2
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,576
Blog Entries: 31

Rep: Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195
Ctrl+Alt+Del may be defined as an application shortcut in Xfce Settings -> Keyboard.
 
Old 01-02-2011, 12:53 PM   #3
yigosan
LQ Newbie
 
Registered: Jan 2011
Posts: 2

Original Poster
Rep: Reputation: 0
Hi catkin, I've tried that, but it doesnt work.
1. As far as I understand, this setting is for user profile. It will not work when no user is logged in (login screen waiting for login)
2. I've tried setting a keyboard shortcut for <Control><Alt>Delete to '/sbin/reboot', and that doesn't work. Also tried a 'gksudo /sbin/reboot', still doesn't work.
This key should be set in /etc/init/control-alt-delete.config , but somehow XCFE seems overrides it, and it's now specific where the override resides.
3. I've tried to remove the <Control><Alt>Delete from the user's keyboard shortcuts, still reboot does not pick it up from 'etc/init/control-alt-delete.config'.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
What does Ctrl+Alt+Del do? Mr. Alex Linux - Newbie 11 10-18-2010 01:11 PM
BOOTMGR is missing, Press Ctrl+Alt+Del to restart ! TheIndependentAquarius General 24 07-16-2010 10:24 AM
prohibit restart by pressing CTRL+ALT+DEL kskkumar Linux - Distributions 2 05-25-2007 03:26 AM
Ctrl + Alt + Del ? funkenbooty Linux - Newbie 7 04-26-2007 07:20 AM
ctrl+alt+del d1l2w3 Linux - General 7 05-30-2006 08:25 AM


All times are GMT -5. The time now is 12:13 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration