LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   CTRL-ALT-Backspace won't kill X. (https://www.linuxquestions.org/questions/linux-general-1/ctrl-alt-backspace-wont-kill-x-130480/)

zzzt 12-31-2003 09:48 PM

CTRL-ALT-Backspace won't kill X.
 
... Well, it kills X, but restarts it. Is there any way to kill X? I've been shutting down, pressing 'I' during the reboot for Interactive Startup, and then choosing not to start x. There has to be a better way. I know that ctrl-alt-backspace is supposed to kill x, so does anyone know how to keep it dead?

BajaNick 12-31-2003 10:20 PM

I dont know for sure if this will work but have you tried " kill PID " from a console?

contrasutra 12-31-2003 10:35 PM

You can boot into init level 3. Then you can start X manually, and not have a Display Manager "catch" it and keep restarting it.

Open your /etc/inittab file, and look for:

id:5:initdefault:

Change the 5 to a 3, and reboot.

That will boot you into text mode.

You could also edit your Display Managers config file, to turn off auto-respawning.

ac1980 01-08-2004 06:57 PM

If you only want to shut it down from time to time, you can run (as root) "init 3"

However even in runlevel 5 you probably have some console shells: try alt+ctrl+f1-f6

Note: "init 1" will go down to single user mode. Useful for system mantainence/upgrades

Tinkster 01-08-2004 08:39 PM

The "restarting" is done by kdm, gdm or xdm.

skill -9 either of those and X will die with them
(except for in some versions FatRat, errh, RedHat,
no idea how it's retarded, errrh, restarted there).


Cheers,
Tink


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