LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Sabayon
User Name
Password
Sabayon This forum is for the discussion of Sabayon Linux.

Notices


Reply
  Search this Thread
Old 01-20-2010, 08:47 AM   #1
Pooped
LQ Newbie
 
Registered: Jul 2009
Posts: 16

Rep: Reputation: 0
ctrl alt backspace doesn't exit X ??


How do i force quit x? using a key combo.
 
Old 01-20-2010, 09:10 AM   #2
mdg
Member
 
Registered: Sep 2003
Distribution: Slackware
Posts: 626

Rep: Reputation: 38
If ctrl-alt-backspace doesn't work, the machine is probably frozen (or your keyboard died)

You can raise skinny elephants to exit gracefully.
 
Old 01-20-2010, 09:15 AM   #3
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
Kinda premature to guess the machine is frozen given the recent HAL code and newer versions of X, perhaps among other things.

Magic SysRq will work if you have it configured, but before doing that, if the OP just wants to kill X, but doesn't want to reboot the whole machine, why not try switching to a different VT with CTRL-ALT-Fn and logging in, then either switch to a non-X runlevel, or give a `killall X` or `gdm stop` sort of command?

Sasha
 
Old 01-21-2010, 08:45 AM   #4
Pooped
LQ Newbie
 
Registered: Jul 2009
Posts: 16

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by GrapefruiTgirl View Post
Kinda premature to guess the machine is frozen given the recent HAL code and newer versions of X, perhaps among other things.

Magic SysRq will work if you have it configured, but before doing that, if the OP just wants to kill X, but doesn't want to reboot the whole machine, why not try switching to a different VT with CTRL-ALT-Fn and logging in, then either switch to a non-X runlevel, or give a `killall X` or `gdm stop` sort of command?

Sasha
killall X works but the problem is i have to be root to use it... my video gets pooped every so often and i can't see poop all so what do i need to do to let a normal user use killall X without having type a password, that way ill just assign the keys to it.

Last edited by XavierP; 01-21-2010 at 09:55 AM. Reason: sanitised for your safety and convenience
 
Old 01-21-2010, 08:48 AM   #5
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Re-disable DontZap in your xorg.conf.

https://wiki.ubuntu.com/X/Config/Don...0Jaunty%209.04

Last edited by AlucardZero; 01-21-2010 at 08:49 AM.
 
Old 01-21-2010, 09:26 AM   #6
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
"Init 3" works nicely.....

I was used to distros enabling ctrl-alt-backspace by default, but lately I have not seen it. Does disabling DontZap make ctrl-alt-backspace work?
 
Old 01-21-2010, 09:27 AM   #7
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Pooped;

Watch the language please---Please edit your post above
 
Old 01-21-2010, 09:33 AM   #8
nateb
LQ Newbie
 
Registered: Oct 2009
Distribution: PopOS, Alma
Posts: 12

Rep: Reputation: 2
If you're using hal, it's (I think...) best to configure it through the .fdi files. They are in /usr/share/hal/fdi/policy/10osvendor/*.fdi from memory.

So they don't get overwritten on update, copy to etc:
Code:
cp /usr/share/hal/fdi/policy/10osvendor/10-keymap.fdi /etc/hal/fdi/policy/
Open 10-keymap.fdi in your editor, and add the following line in with the other merge lines (along with your keymap:
Code:
<merge key="input.xkb.options" type="string">terminate:ctrl_alt_bksp</merge>
Finally restart hal - that should do the trick.

Of course, if you're not using hal, ignore this post!
 
Old 01-23-2010, 07:11 AM   #9
Pooped
LQ Newbie
 
Registered: Jul 2009
Posts: 16

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by nateb View Post
If you're using hal, it's (I think...) best to configure it through the .fdi files. They are in /usr/share/hal/fdi/policy/10osvendor/*.fdi from memory.

So they don't get overwritten on update, copy to etc:
Code:
cp /usr/share/hal/fdi/policy/10osvendor/10-keymap.fdi /etc/hal/fdi/policy/
Open 10-keymap.fdi in your editor, and add the following line in with the other merge lines (along with your keymap:
Code:
<merge key="input.xkb.options" type="string">terminate:ctrl_alt_bksp</merge>
Finally restart hal - that should do the trick.

Of course, if you're not using hal, ignore this post!
That worked.
 
  


Reply



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 + backspace or Logout to exit X or whatever ? afreitascs Slackware 9 11-30-2009 09:07 PM
Ctrl+alt+backspace marsques Linux - Newbie 2 02-04-2009 01:05 PM
Freezing, ctrl-alt-backspace does nothing and..... M$ISBS General 2 06-22-2006 11:55 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 Socka Linux - Newbie 8 05-18-2003 07:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Sabayon

All times are GMT -5. The time now is 03:36 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
Open Source Consulting | Domain Registration