LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 10-17-2010, 09:24 AM   #1
Mr. Alex
Senior Member
 
Registered: May 2010
Distribution: Arch + X.org + IceWM
Posts: 1,202

Rep: Reputation: Disabled
Question What does Ctrl+Alt+Del do?


Does it restart Xorg? Or it does something else? Question is about Arch.
 
Old 10-17-2010, 09:42 AM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,644

Rep: Reputation: 523Reputation: 523Reputation: 523Reputation: 523Reputation: 523Reputation: 523
Cleanly reboots, unless you (or Arch) disabled it. Have you tried it?
 
Old 10-17-2010, 09:42 AM   #3
honeybadger
Member
 
Registered: Aug 2007
Location: India
Distribution: Slackware (mainly) and then a lot of others...
Posts: 847

Rep: Reputation: Disabled
Hi there,
In a cli mode the combination will reboot the pc. This is determined by the file /etc/inittab.
In a gui enviorment (atleast in ubuntu) the combination will ask you if you want to log off, shut down the pc etc.
Hope this helps.
 
Old 10-17-2010, 09:52 AM   #4
mirchichamu
Member
 
Registered: Aug 2008
Distribution: Ubuntu ultimate edition 2.7
Posts: 59

Rep: Reputation: 19
In ubuntu it will give you a choice to reboot, hibernate, sleep or shot down...after 60 seconds it will shot down.
 
Old 10-17-2010, 10:21 AM   #5
Mr. Alex
Senior Member
 
Registered: May 2010
Distribution: Arch + X.org + IceWM
Posts: 1,202

Original Poster
Rep: Reputation: Disabled
Question

Quote:
Originally Posted by SilverBack View Post
Hi there,
In a cli mode the combination will reboot the pc. This is determined by the file /etc/inittab.
Can I configure this combination via /etc/inittab?
 
Old 10-17-2010, 10:22 AM   #6
Mr. Alex
Senior Member
 
Registered: May 2010
Distribution: Arch + X.org + IceWM
Posts: 1,202

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by AlucardZero View Post
Cleanly reboots, unless you (or Arch) disabled it. Have you tried it?
Yes, and I am not sure what exactly it does. I mean what exactly it reboots.
 
Old 10-17-2010, 10:46 AM   #7
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,644

Rep: Reputation: 523Reputation: 523Reputation: 523Reputation: 523Reputation: 523Reputation: 523
The computer.
 
Old 10-17-2010, 10:54 AM   #8
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,150

Rep: Reputation: 330Reputation: 330Reputation: 330Reputation: 330
Usually ctrl-alt-del will reboot your system. If you want to reboot your X-server (assuming you're using a version 4 release), you need a "ServerFlags" stanza in your xorg.conf file somewhat like this:
Code:
Section "ServerFlags"
        Option      "AIGLX" "on"
        Option      "Xinerama" "0"
        Option      "DontZap" "off"
        Option      "DontVTSwitch" "off"
EndSection
(Where he relevant setting is in bold.)

That will enable ctrl-alt-backspace (not ctrl-alt-del) as the key combination to force the X-server to reboot.

On most modern distributions, the actions associated with various events are found in the /etc/event.d directory. If Arch follows the newer standard, look for a file /etc/event.d/control-alt-delete for the action invoked by that key combination.
 
1 members found this post helpful.
Old 10-17-2010, 11:50 AM   #9
Mr. Alex
Senior Member
 
Registered: May 2010
Distribution: Arch + X.org + IceWM
Posts: 1,202

Original Poster
Rep: Reputation: Disabled
I don't have section "ServerFlags" in xorg.conf. And "DontZap" is not in that file.
 
Old 10-17-2010, 11:59 AM   #10
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 11,204
Blog Entries: 3

Rep: Reputation: 1433Reputation: 1433Reputation: 1433Reputation: 1433Reputation: 1433Reputation: 1433Reputation: 1433Reputation: 1433Reputation: 1433Reputation: 1433
Hi,

You seem to need to gain some basic understnading along with background. Just a few links to aid you to gaining some understanding;


Linux Documentation Project
Rute Tutorial & Exposition
Linux Command Guide
Ultimate Linux Newbie Guide
LinuxSelfHelp
Getting Started with Linux
Bash Reference Manual
Advanced Bash-Scripting Guide
Linux Home Networking
Virtualiation- Top 10

The above links and others can be found at '
Slackware-Links'. More than just SlackwareŽ links!

"Wisdom is only found in truth."-Goethe

 
Old 10-17-2010, 12:04 PM   #11
Mr. Alex
Senior Member
 
Registered: May 2010
Distribution: Arch + X.org + IceWM
Posts: 1,202

Original Poster
Rep: Reputation: Disabled
Thanks onebuck, but I already was answered with this post.
And my bad, I was actually asking about Ctrl+Alt+Backspace. Sorry. So how do I edit function of this combination? As I have already mentioned, I don't have section "ServerFlags" in xorg.conf. And "DontZap" is not in that file.

Sorry again...

P. S. Does Xorg restarting restart GDM?
 
Old 10-18-2010, 12:11 PM   #12
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,150

Rep: Reputation: 330Reputation: 330Reputation: 330Reputation: 330
Quote:
Originally Posted by Mr. Alex View Post
I don't have section "ServerFlags" in xorg.conf. And "DontZap" is not in that file.
So, if you want to be able to reboot your server, add that stanza to your xorg.conf file. See the output of man xorg.conf for a complete description of your various settings and stanza available for you to use if you chose to do so.

And, of course, rebooting the X-server will reboot anything (like GDM) that depends on the server and which is automatically started. By the way, you should have different servers running of your different ttys so you can "play" with your server setting in one session, while maintaining a working session in another tty. That can make experimenting with different settings mush less painful.

The way to do this is to open a terminal session in where you have a working server running, and start a new server on a different tty with a startx -- :n command, where "n" is the server number. (Specifying a different xorg.conf file if you're playing with that. See man startx for details.) When you reboot the server - or logout - you should revert to the tty on which your startx session is running.

Note that, if the "DontVtSwitch" is "off" in the settings stanza, you should be able to switch between your X-server sessions using a "control-alternate-Functionn" key combination.

Note also that startx is a script that invokes the xorg command with many defaults. See man xorg if the complete hairy details interest you.

Last edited by PTrenholme; 10-18-2010 at 12:37 PM.
 
1 members found this post helpful.
  


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
ctrl Alt Del jnreddy Linux - Server 5 07-08-2010 01:53 PM
ctrl+alt+del linux_newbie79 Linux - Newbie 3 07-01-2009 03:31 AM
Ctrl + Alt + Del ? funkenbooty Linux - Newbie 7 04-26-2007 06:20 AM
ctrl+alt+del d1l2w3 Linux - General 7 05-30-2006 07:25 AM
ctrl, alt, del hornet74 Linux - Software 8 01-13-2004 08:06 PM


All times are GMT -5. The time now is 12:05 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration