Mads Martin
Honestly, that never crossed my mind - arcane and similar to
CTRL-ALT-DEL.
Yet what I want is to properly shut all services down which are related
to the GUI - which is more than just blowing away X. Of course I don't
know exactly what is going to be affected by CTRL-ALT-Backspace, but my
suspicion is that it would
'just' kill the server - and a lot of processes are going to die as
collateral dammage.
Anybody care to explain the difference?
Also, _should_ 'init 3' close down xdm (and consequently X) or not?
Martin
-----Original Message-----
From: Mads Martin Jørgensen [mailto:mmj@suse.de]
Sent: December 24, 2001 7:38 PM
To: Martin Schulz
Subject: Re: [SLE] init 3 doesn't shut down X any longer?
* Martin Schulz
Until SuSE 7.1, I could simply restart the X server by typing 'init 3', then 'init 5'.
Why not just hit CTRL-ALT-Backspace? That will have X restart. -- Mads Martin Joergensen, http://mmj.dk "Why make things difficult, when it is possible to make them cryptic and totally illogic, with just a little bit more effort." -- A. P. J.
Yet what I want is to properly shut all services down which are related to the GUI - which is more than just blowing away X. Of course I don't know exactly what is going to be affected by CTRL-ALT-Backspace, but my suspicion is that it would 'just' kill the server - and a lot of processes are going to die as collateral dammage. Yes, that's not wanted, mostly.
Anybody care to explain the difference? Well, letting X shutting down itself by selecting some shutdown-command and killing the server after all other processes have died is the more nice way to do it, as well as init 2 (not 3). ctrl-alt-BS kills the server and takng all procs with it.
Also, _should_ 'init 3' close down xdm (and consequently X) or not?
runlevel 0: reboot runlevel 1: single user runlevel 2: multiuser-network runlevel 3: multiuser-network-GUI runlevel 4: not used runlevel 5: not used runlevel 6: halt
* Martin Schulz
[Dec 24. 2001 19:48]: Until SuSE 7.1, I could simply restart the X server by typing 'init 3', then 'init 5'.
I reckon you are mistaken SuSE Linux with some other OS (I think SunOS or similar); SuSE has always had these runlevels. 5 is never used before AFAIK and runlevel 3 is multi-user with network and GUI. ctrl-alt-bs will indeed restart X but isn't the nicest way, but I could very well be mistaken too. I've only used Linux as servers for anything and nothing, mostly without X. Greetings, Rogier Maas
Martin
-----Original Message----- From: Mads Martin Jørgensen [mailto:mmj@suse.de] Sent: December 24, 2001 7:38 PM To: Martin Schulz Subject: Re: [SLE] init 3 doesn't shut down X any longer?
* Martin Schulz
[Dec 24. 2001 19:48]: Until SuSE 7.1, I could simply restart the X server by typing 'init 3', then 'init 5'.
Why not just hit CTRL-ALT-Backspace? That will have X restart.
-- Mads Martin Joergensen, http://mmj.dk "Why make things difficult, when it is possible to make them cryptic and totally illogic, with just a little bit more effort." -- A. P. J.
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq and the archives at http://lists.suse.com
SuSE has changed the runlevel to be in conformity to LSB. I am running SuSE7.3 and in my /etc/inittab it says: # runlevel 0 is System halt (Do not use this for initdefault!) # runlevel 1 is Single user mode # runlevel 2 is Local multiuser without remote network (e.g. NFS) # runlevel 3 is Full multiuser with network # runlevel 4 is Not used # runlevel 5 is Full multiuser with network and xdm # runlevel 6 is System reboot (Do not use this for initdefault!) On Monday, December 24, 2001, at 05:18 PM, Rogier Maas wrote:
Yet what I want is to properly shut all services down which are related to the GUI - which is more than just blowing away X. Of course I don't know exactly what is going to be affected by CTRL-ALT-Backspace, but my suspicion is that it would 'just' kill the server - and a lot of processes are going to die as collateral dammage. Yes, that's not wanted, mostly.
Anybody care to explain the difference? Well, letting X shutting down itself by selecting some shutdown-command and killing the server after all other processes have died is the more nice way to do it, as well as init 2 (not 3). ctrl-alt-BS kills the server and takng all procs with it.
Also, _should_ 'init 3' close down xdm (and consequently X) or not?
runlevel 0: reboot runlevel 1: single user runlevel 2: multiuser-network runlevel 3: multiuser-network-GUI runlevel 4: not used runlevel 5: not used runlevel 6: halt
* Martin Schulz
[Dec 24. 2001 19:48]: Until SuSE 7.1, I could simply restart the X server by typing 'init 3', then 'init 5'.
I reckon you are mistaken SuSE Linux with some other OS (I think SunOS or similar); SuSE has always had these runlevels. 5 is never used before AFAIK and runlevel 3 is multi-user with network and GUI.
ctrl-alt-bs will indeed restart X but isn't the nicest way, but I could very well be mistaken too. I've only used Linux as servers for anything and nothing, mostly without X.
Greetings, Rogier Maas
Martin
-----Original Message----- From: Mads Martin Jørgensen [mailto:mmj@suse.de] Sent: December 24, 2001 7:38 PM To: Martin Schulz Subject: Re: [SLE] init 3 doesn't shut down X any longer?
* Martin Schulz
[Dec 24. 2001 19:48]: Until SuSE 7.1, I could simply restart the X server by typing 'init 3', then 'init 5'.
Why not just hit CTRL-ALT-Backspace? That will have X restart.
-- Mads Martin Joergensen, http://mmj.dk "Why make things difficult, when it is possible to make them cryptic and totally illogic, with just a little bit more effort." -- A. P. J.
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq and the archives at http://lists.suse.com
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq and the archives at http://lists.suse.com
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tuesday 25 December 2001 2:52 am, Gnu iBook 2 wrote:
SuSE has changed the runlevel to be in conformity to LSB. I am running SuSE7.3 and in my /etc/inittab it says:
# runlevel 0 is System halt (Do not use this for initdefault!) # runlevel 1 is Single user mode # runlevel 2 is Local multiuser without remote network (e.g. NFS) # runlevel 3 is Full multiuser with network # runlevel 4 is Not used # runlevel 5 is Full multiuser with network and xdm # runlevel 6 is System reboot (Do not use this for initdefault!)
SuSE used to differ from most other linux by using 3 as the gui-network runlevel. it seems that from 7.1 onwards they starting using the more redhat-style of the above. Tom - -- Cold, adj.: When the politicians walk around with their hands in their own pockets. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE8KF0kAEYnIVU7X9IRAn+MAJ9VYxohOOBECnSoAI/zhm0+US3+CgCfbj5X 5cRW5rVuUz7j1hoUJAR5qCc= =tPEx -----END PGP SIGNATURE----- _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
On Tuesday 25 December 2001 2:52 am, Gnu iBook 2 wrote:
SuSE has changed the runlevel to be in conformity to LSB. I am running SuSE7.3 and in my /etc/inittab it says:
# runlevel 0 is System halt (Do not use this for initdefault!) # runlevel 1 is Single user mode # runlevel 2 is Local multiuser without remote network (e.g. NFS) # runlevel 3 is Full multiuser with network # runlevel 4 is Not used # runlevel 5 is Full multiuser with network and xdm # runlevel 6 is System reboot (Do not use this for initdefault!)
SuSE used to differ from most other linux by using 3 as the gui-network runlevel. it seems that from 7.1 onwards they starting using the more redhat-style of the above.
AH! There ya go! That's why my info is outdated.. (SuSE 7.0) Merry Christmas all! ;-) Rogier Maas
Oh well, today 'init 3' works nicely whenever I try. Although I have seen it _not_ working at different occasions on different systems, I am unable to come up with the exact circumstances. If it comes up again I'll be a little more circumspect. Thanks for all your replies. Martin -----Original Message----- From: Gnu iBook 2 [mailto:gnu_ibook_2@mac.com] Sent: December 24, 2001 9:53 PM To: suse-linux-e@suse.com Subject: Re: [SLE] init 3 doesn't shut down X any longer? SuSE has changed the runlevel to be in conformity to LSB. I am running SuSE7.3 and in my /etc/inittab it says: # runlevel 0 is System halt (Do not use this for initdefault!) # runlevel 1 is Single user mode # runlevel 2 is Local multiuser without remote network (e.g. NFS) # runlevel 3 is Full multiuser with network # runlevel 4 is Not used # runlevel 5 is Full multiuser with network and xdm # runlevel 6 is System reboot (Do not use this for initdefault!) On Monday, December 24, 2001, at 05:18 PM, Rogier Maas wrote:
Yet what I want is to properly shut all services down which are related to the GUI - which is more than just blowing away X. Of course I don't know exactly what is going to be affected by CTRL-ALT-Backspace, but my suspicion is that it would 'just' kill the server - and a lot of processes are going to die as collateral dammage. Yes, that's not wanted, mostly.
Anybody care to explain the difference? Well, letting X shutting down itself by selecting some shutdown-command and killing the server after all other processes have died is the more nice way to do it, as well as init 2 (not 3). ctrl-alt-BS kills the server and takng all procs with it.
Also, _should_ 'init 3' close down xdm (and consequently X) or not?
runlevel 0: reboot runlevel 1: single user runlevel 2: multiuser-network runlevel 3: multiuser-network-GUI runlevel 4: not used runlevel 5: not used runlevel 6: halt
* Martin Schulz
[Dec 24. 2001 19:48]: Until SuSE 7.1, I could simply restart the X server by typing 'init 3', then 'init 5'.
I reckon you are mistaken SuSE Linux with some other OS (I think SunOS or similar); SuSE has always had these runlevels. 5 is never used before AFAIK and runlevel 3 is multi-user with network and GUI.
ctrl-alt-bs will indeed restart X but isn't the nicest way, but I could very well be mistaken too. I've only used Linux as servers for anything and nothing, mostly without X.
Greetings, Rogier Maas
Martin
-----Original Message----- From: Mads Martin Jørgensen [mailto:mmj@suse.de] Sent: December 24, 2001 7:38 PM To: Martin Schulz Subject: Re: [SLE] init 3 doesn't shut down X any longer?
* Martin Schulz
[Dec 24. 2001 19:48]: Until SuSE 7.1, I could simply restart the X server by typing 'init 3', then 'init 5'.
Why not just hit CTRL-ALT-Backspace? That will have X restart.
-- Mads Martin Joergensen, http://mmj.dk "Why make things difficult, when it is possible to make them cryptic and totally illogic, with just a little bit more effort." -- A. P. J.
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq and the archives at http://lists.suse.com
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq and the archives at http://lists.suse.com
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq and the archives at http://lists.suse.com
On Monday 24 December 2001 08:18 pm, Rogier Maas wrote:
runlevel 0: reboot runlevel 1: single user runlevel 2: multiuser-network runlevel 3: multiuser-network-GUI runlevel 4: not used runlevel 5: not used runlevel 6: halt
This is incorrect. Runlevel 0 is halt, 6 is reboot, 2 is multiuser without network, 3 is multiuser with network, 5 is multiuser-network-GUI. I am certain about this because I've worked with them several times in the past. If you don't believe me, check out the comments in /etc/inittab.
On Monday 24 December 2001 08:18 pm, Rogier Maas wrote:
runlevel 0: reboot runlevel 1: single user runlevel 2: multiuser-network runlevel 3: multiuser-network-GUI runlevel 4: not used runlevel 5: not used runlevel 6: halt
This is incorrect. Runlevel 0 is halt, 6 is reboot, 2 is multiuser without network, 3 is multiuser with network, 5 is multiuser-network-GUI. I am certain about this because I've worked with them several times in the past. If you don't believe me, check out the comments in /etc/inittab.
Okay, I have taken a look in my /etc/inittab. Take a look for yourself: # /sbin/init.d/rc takes care of runlevel handling # # runlevel 0 is halt # runlevel S is single-user # runlevel 1 is multi-user without network # runlevel 2 is multi-user with network # runlevel 3 is multi-user with network and xdm # runlevel 6 is reboot I am certain this has always been the same with al of my SuSE versions. My latest is 7.0; perhaps they have changed it recently? I must say I am completely unfamiliar and very surprised everybody disagrees with me on this one; I know no other configuration than this! ;-) Greetings, Rogier Maas
Rogier Maas schrieb:
On Monday 24 December 2001 08:18 pm, Rogier Maas wrote:
runlevel 0: reboot runlevel 1: single user runlevel 2: multiuser-network runlevel 3: multiuser-network-GUI runlevel 4: not used runlevel 5: not used runlevel 6: halt
This is incorrect. Runlevel 0 is halt, 6 is reboot, 2 is multiuser without network, 3 is multiuser with network, 5 is multiuser-network-GUI. I am certain about this because I've worked with them several times in the past. If you don't believe me, check out the comments in /etc/inittab.
Okay, I have taken a look in my /etc/inittab. Take a look for yourself:
# /sbin/init.d/rc takes care of runlevel handling # # runlevel 0 is halt # runlevel S is single-user # runlevel 1 is multi-user without network # runlevel 2 is multi-user with network # runlevel 3 is multi-user with network and xdm # runlevel 6 is reboot
I am certain this has always been the same with al of my SuSE versions. My latest is 7.0; perhaps they have changed it recently? I must say I am completely unfamiliar and very surprised everybody disagrees with me on this one; I know no other configuration than this! ;-)
Greetings, Rogier Maas
Rogier, I think it changed with SuSE 7.1 to the very above. 7.0 still used the "old" style that you stated just above. Jürgen -- =========================================== __ _ Juergen Braukmann juergen.braukmann@gmx.de| -o)/ / (_)__ __ ____ __ Tel: 0201-743648 dk4jb@db0qs.#nrw.deu.eu | /\\ /__/ / _ \/ // /\ \/ / ===========================================_\_v __/_/_//_/\_,_/ /_/\_\
SuSE moved to LSB run-level style.
----- Original Message -----
From: "Juergen Braukmann"
On Monday 24 December 2001 08:18 pm, Rogier Maas wrote:
runlevel 0: reboot runlevel 1: single user runlevel 2: multiuser-network runlevel 3: multiuser-network-GUI runlevel 4: not used runlevel 5: not used runlevel 6: halt
This is incorrect. Runlevel 0 is halt, 6 is reboot, 2 is multiuser
network, 3 is multiuser with network, 5 is multiuser-network-GUI. I am certain about this because I've worked with them several times in the past. If you don't believe me, check out the comments in /etc/inittab.
Okay, I have taken a look in my /etc/inittab. Take a look for yourself:
# /sbin/init.d/rc takes care of runlevel handling # # runlevel 0 is halt # runlevel S is single-user # runlevel 1 is multi-user without network # runlevel 2 is multi-user with network # runlevel 3 is multi-user with network and xdm # runlevel 6 is reboot
I am certain this has always been the same with al of my SuSE versions. My latest is 7.0; perhaps they have changed it recently? I must say I am completely unfamiliar and very surprised everybody disagrees with me on
without this
one; I know no other configuration than this! ;-)
Greetings, Rogier Maas
Rogier, I think it changed with SuSE 7.1 to the very above. 7.0 still used the "old" style that you stated just above. Jürgen -- =========================================== __ _ Juergen Braukmann juergen.braukmann@gmx.de| -o)/ / (_)__ __ ____ __ Tel: 0201-743648 dk4jb@db0qs.#nrw.deu.eu | /\\ /__/ / _ \/ // /\ \/ / ===========================================_\_v __/_/_//_/\_,_/ /_/\_\ -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq and the archives at http://lists.suse.com
On Tuesday 25 December 2001 10:06 am, Rogier Maas wrote:
On Monday 24 December 2001 08:18 pm, Rogier Maas wrote: This is incorrect. Runlevel 0 is halt, 6 is reboot, 2 is multiuser without network, 3 is multiuser with network, 5 is multiuser-network-GUI.
If you don't believe me, check out the comments in /etc/inittab.
Okay, I have taken a look in my /etc/inittab. Take a look for yourself:
# /sbin/init.d/rc takes care of runlevel handling # # runlevel 0 is halt # runlevel S is single-user # runlevel 1 is multi-user without network # runlevel 2 is multi-user with network # runlevel 3 is multi-user with network and xdm # runlevel 6 is reboot
Yep, read 'em, it's just like I said.
I am certain this has always been the same with al of my SuSE versions. My latest is 7.0; perhaps they have changed it recently? I must say I am
From the comments on the forum, apparantly they have; SuSE is now adhering to a Linux standard concerning run levels. (I didn't know it used to be something else - I started using the SuSE distro starting at 7.2; though I'm not a Linux newbie, I first played with kernel version 0.95; but that was without X so I didn't bother with init levels; if it had them. :-) )
completely unfamiliar and very surprised everybody disagrees with me on this one; I know no other configuration than this! ;-)
It's time to learn something new again. 8-)
On Tuesday 25 December 2001 04:41 pm, Joshua Lee wrote:
Okay, I have taken a look in my /etc/inittab. Take a look for yourself:
# /sbin/init.d/rc takes care of runlevel handling # # runlevel 0 is halt # runlevel S is single-user # runlevel 1 is multi-user without network # runlevel 2 is multi-user with network # runlevel 3 is multi-user with network and xdm # runlevel 6 is reboot
Yep, read 'em, it's just like I said.
Hmm, looking at them carefully I note that your inittab does say "xdm" at run level three. It doesn't say that here; X is run-level 5 here. According to other posts on the thread, it's because SuSE now follows the LSB standard.
Well,.... On my sys (SuSE 7.3) it's runlevel 0: Halt runlevel 1: single user runlevel 2: multiuser-without-network runlevel 3: multiuser-network runlevel 4: not used runlevel 5: Multiuser-network-GUI runlevel 6: Reboot Correct me if I'm wrong, but it was the Same on 7.1, 7.2, and Mandrake 7.2 Unless you running a different distro, that varies from the standard init order, this should be correct?!?! Cheers, Curtis On Monday 24 December 2001 19:18, Rogier Maas wrote:
Yet what I want is to properly shut all services down which are related to the GUI - which is more than just blowing away X. Of course I don't know exactly what is going to be affected by CTRL-ALT-Backspace, but my suspicion is that it would 'just' kill the server - and a lot of processes are going to die as collateral dammage.
Yes, that's not wanted, mostly.
Anybody care to explain the difference?
Well, letting X shutting down itself by selecting some shutdown-command and killing the server after all other processes have died is the more nice way to do it, as well as init 2 (not 3). ctrl-alt-BS kills the server and takng all procs with it.
Also, _should_ 'init 3' close down xdm (and consequently X) or not?
runlevel 0: reboot runlevel 1: single user runlevel 2: multiuser-network runlevel 3: multiuser-network-GUI runlevel 4: not used runlevel 5: not used runlevel 6: halt
* Martin Schulz
[Dec 24. 2001 19:48]: Until SuSE 7.1, I could simply restart the X server by typing 'init 3', then 'init 5'.
I reckon you are mistaken SuSE Linux with some other OS (I think SunOS or similar); SuSE has always had these runlevels. 5 is never used before AFAIK and runlevel 3 is multi-user with network and GUI.
ctrl-alt-bs will indeed restart X but isn't the nicest way, but I could very well be mistaken too. I've only used Linux as servers for anything and nothing, mostly without X.
Greetings, Rogier Maas
Martin
-----Original Message----- From: Mads Martin Jørgensen [mailto:mmj@suse.de] Sent: December 24, 2001 7:38 PM To: Martin Schulz Subject: Re: [SLE] init 3 doesn't shut down X any longer?
* Martin Schulz
[Dec 24. 2001 19:48]: Until SuSE 7.1, I could simply restart the X server by typing 'init 3', then 'init 5'.
Why not just hit CTRL-ALT-Backspace? That will have X restart.
-- Mads Martin Joergensen, http://mmj.dk "Why make things difficult, when it is possible to make them cryptic and totally illogic, with just a little bit more effort." -- A. P. J.
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq and the archives at http://lists.suse.com
participants (8)
-
Curtis Rey
-
Gnu iBook 2
-
Jon
-
Joshua Lee
-
Juergen Braukmann
-
Martin Schulz
-
Rogier Maas
-
Tom Wesley