28.03.2024, 16:12 UhrDeutsch | English
Hallo Gast [ Registrierung | Anmelden ]

Neues Thema eröffnen   Neue Antwort erstellen
Vorheriges Thema anzeigen Druckerfreundliche Version Einloggen, um private Nachrichten zu lesen Nächstes Thema anzeigen
Autor Nachricht
feffer777
Titel: Init 3 still boots to gui  BeitragVerfasst am: 23.07.2006, 03:48 Uhr



Anmeldung: 01. Feb 2006
Beiträge: 128
Wohnort: SF Bay area
Some say they do a d-u by booting to grub adding 3 (or init 3) and going directly into runlevel 3, then doing the d-u from there. I've tried this, but my system always boots to the gui login manager anyway. Sure, I can get back to CLI by doing CTL-ALT-F1 or logging into a CLI session, but I wonder if I'm doing it wrong. Why do I always get the gui login manager first even in runlevel 3?

Thanks,
Ron

_________________
To whom much is given, much shall be required.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
jackiebrown
Titel: RE: Init 3 still boots to gui  BeitragVerfasst am: 23.07.2006, 04:17 Uhr



Anmeldung: 13. Mai 2005
Beiträge: 732
Wohnort: Texas
check what you have starting in that runlevel

_________________
Always acknowledge a fault. This will throw those in authority off their guard and give you an opportunity to commit more.
Mark Twain
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
mzilikazi
Titel: Re: Init 3 still boots to gui  BeitragVerfasst am: 23.07.2006, 05:04 Uhr
Team Member
Team Member


Anmeldung: 17. Dez 2003
Beiträge: 1109
Wohnort: Ganymede
feffer777 hat folgendes geschrieben::
Some say they do a d-u by booting to grub adding 3 (or init 3) and going directly into runlevel 3, then doing the d-u from there. I've tried this, but my system always boots to the gui login manager anyway. Sure, I can get back to CLI by doing CTL-ALT-F1 or logging into a CLI session, but I wonder if I'm doing it wrong. Why do I always get the gui login manager first even in runlevel 3?

Thanks,
Ron


If you look at the Debian run levels you'll see that Run levels 2 through 5 are full multi-user mode unlike some other distros that use init 3 for a text console login and init 5 for a graphical login. As hinted at by jackiebrown above, this is not to say that you can't remove the symlink that starts KDM in init 3. Winken

If you just want to stop your login manager it's quite simple.
Code:
CTRL+ALT+F1
login: root
/etc/init.d/kdm stop

Or if you use GDM:
Code:
/etc/init.d/gdm stop


A good read about Debian run levels.

_________________
Ubuntu - An ancient African word for "Can't install Debian"
 
 Benutzer-Profile anzeigen Private Nachricht senden E-Mail senden Website dieses Benutzers besuchen  
Antworten mit Zitat Nach oben
schnorrer
Titel: Re: Init 3 still boots to gui  BeitragVerfasst am: 23.07.2006, 12:27 Uhr



Anmeldung: 09. Jan 2006
Beiträge: 1720

Feffer777, you got the login screen to choose the user and WM. There is an option "session" where Textmode does the same as init 3 in the bootsplash for the Cheat's.

Choose textmode and login as a root otherwise a D-U can fail on some updates(cups Xorg ...)
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
hubi
Titel: Re: Init 3 still boots to gui  BeitragVerfasst am: 23.07.2006, 13:32 Uhr



Anmeldung: 22. Jan 2006
Beiträge: 1296
Wohnort: Budapest
feffer777 hat folgendes geschrieben::
Some say they do a d-u by booting to grub adding 3 (or init 3) and going directly into runlevel 3, then doing the d-u from there. I've tried this, but my system always boots to the gui login manager anyway.


Ron,
what's in your /etc/rc3.d? Mine looks like this:
Zitat:
ls -l /etc/rc3.d
insgesamt 4
lrwxrwxrwx 1 root root 13 2006-06-16 21:31 K01kdm -> ../init.d/kdm
lrwxrwxrwx 1 root root 18 2006-07-16 04:34 K08vmware -> /etc/init.d/vmware
-rw-r--r-- 1 root root 556 2006-05-06 21:15 README
lrwxrwxrwx 1 root root 18 2006-06-16 21:31 S10sysklogd -> ../init.d/sysklogd
lrwxrwxrwx 1 root root 15 2006-06-16 21:31 S11klogd -> ../init.d/klogd
lrwxrwxrwx 1 root root 15 2006-06-16 21:31 S20acpid -> ../init.d/acpid
lrwxrwxrwx 1 root root 20 2006-06-16 21:30 S20alsa-utils -> ../init.d/alsa-utils
lrwxrwxrwx 1 root root 16 2006-06-23 02:07 S20cupsys -> ../init.d/cupsys
lrwxrwxrwx 1 root root 14 2006-06-16 21:31 S20dbus -> ../init.d/dbus
lrwxrwxrwx 1 root root 17 2006-06-16 21:31 S20makedev -> ../init.d/makedev
lrwxrwxrwx 1 root root 13 2006-06-16 21:31 S89atd -> ../init.d/atd
lrwxrwxrwx 1 root root 14 2006-06-16 21:31 S89cron -> ../init.d/cron
lrwxrwxrwx 1 root root 18 2006-07-16 04:34 S90vmware -> /etc/init.d/vmware
lrwxrwxrwx 1 root root 19 2006-06-16 21:31 S99rmnologin -> ../init.d/rmnologin
lrwxrwxrwx 1 root root 23 2006-06-16 21:31 S99stop-bootlogd -> ../init.d/stop-bootlogd
If you have sth like SXXkdm, just kick it out of that directory.

If you do not have a K01kdm, then create it by:
# ln -s /etc/init.d/kdm /etc/rc3.d/K01kdm

Suppose you use standard Kanotix with KDE.

hubi

_________________
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
feffer777
Titel: RE: Re: Init 3 still boots to gui  BeitragVerfasst am: 24.07.2006, 00:49 Uhr



Anmeldung: 01. Feb 2006
Beiträge: 128
Wohnort: SF Bay area
Thanks you were all right on target. Coming from Fedora, the runlevels were structured a bit differently. As hubi suggested:

Zitat:
If you have sth like SXXkdm, just kick it out of that directory.

If you do not have a K01kdm, then create it by:
ln -s /etc/init.d/kdm /etc/rc3.d/K01kdm


fixes the issue. I can now boot into CLI directly from grub.

Regards,
Ron

_________________
To whom much is given, much shall be required.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
Mike Shepard
Titel:   BeitragVerfasst am: 28.07.2006, 22:43 Uhr



Anmeldung: 20. Mai 2005
Beiträge: 250

I have the same problem, only I no longer have kde or kdm (I use gdm and fluxbox). Typing "init 3" into a console does nothing, not even an output. Also adding a 3 into the grub line does nothing either. Here is the output of my /etc/rc3.d directory

Code:

lrwxrwxrwx 1 root root  15 May 31 06:38 K20mysql -> ../init.d/mysql
lrwxrwxrwx 1 root root  13 May 31 06:38 K20xdm -> ../init.d/xdm
-rw-r--r-- 1 root root 556 May  6 19:15 README
lrwxrwxrwx 1 root root  18 May 27 06:44 S10sysklogd -> ../init.d/sysklogd
lrwxrwxrwx 1 root root  15 May 27 06:44 S11klogd -> ../init.d/klogd
lrwxrwxrwx 1 root root  16 May 27 06:44 S15pcmcia -> ../init.d/pcmcia
lrwxrwxrwx 1 root root  15 May 27 06:44 S20acpid -> ../init.d/acpid
lrwxrwxrwx 1 root root  20 May 27 06:42 S20alsa-utils -> ../init.d/alsa-utils
lrwxrwxrwx 1 root root  14 May 27 06:44 S20dbus -> ../init.d/dbus
lrwxrwxrwx 1 root root  17 May 27 06:44 S20makedev -> ../init.d/makedev
lrwxrwxrwx 1 root root  13 May 27 06:44 S89atd -> ../init.d/atd
lrwxrwxrwx 1 root root  14 May 27 06:44 S89cron -> ../init.d/cron
lrwxrwxrwx 1 root root  13 May 27 17:38 S99gdm -> ../init.d/gdm
lrwxrwxrwx 1 root root  19 May 27 06:44 S99rmnologin -> ../init.d/rmnologin
lrwxrwxrwx 1 root root  23 May 27 06:44 S99stop-bootlogd -> ../init.d/stop-bootlogd


any ideas? It's been this way for a while now, and everything I've tried has failed. Thanks in advance

Cheers,
Mike

_________________
"It's 106 miles to Chicago, we've got a full tank of gas, half a pack of cigarettes, it's dark, and we're wearing sunglasses." -The Blues Brothers (1980)
 
 Benutzer-Profile anzeigen Private Nachricht senden E-Mail senden  
Antworten mit Zitat Nach oben
hubi
Titel:   BeitragVerfasst am: 28.07.2006, 22:55 Uhr



Anmeldung: 22. Jan 2006
Beiträge: 1296
Wohnort: Budapest
Mike,

with "typing init 3 into a konsole" means, you are still in X? If yes, that does not work, IIRC.

Do first ctrl+alt+F1, that kills X, login as root and type "init 3".

Should work Mr. Green

EDIT:
Just see a S99gdm in your /etc/rc3.d. I'm not sure if that's correct, you should not starting it in init 3. And you do not have a K01gdm (which kills gdm when you get to init 3). You might need to do the same as I suggested for kdm earlier, just with gdm (same syntax).

Greetings
hubi

_________________
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
feffer777
Titel:   BeitragVerfasst am: 29.07.2006, 04:26 Uhr



Anmeldung: 01. Feb 2006
Beiträge: 128
Wohnort: SF Bay area
Mike,
As far as I know, the command "init 3" shows no return, but does put you into runlevel 3. Use the command "runlevel" to show your previous and current runlevel. For instance, if you were in runlevel 5 and dropped down to 3, you'll see something like, "N 5 3". Hope this helps with at least part of your issue.

Regards,
Ron

_________________
To whom much is given, much shall be required.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
Mike Shepard
Titel:   BeitragVerfasst am: 29.07.2006, 05:54 Uhr



Anmeldung: 20. Mai 2005
Beiträge: 250

In all my other kanotix installs typing "init 3" into a console in X kills X and drops my to a command prompt. But either way, on this install no matter which way I do it, it doesn't work, X is still running. I've been getting bye by killing it manually. I did try adding the K01gdm but still nothing. Typing "runlevel" does show that I am in 3 btw, but X is still up and running. Any other idea's? Thanks for all the help.

Cheers,
Mike

_________________
"It's 106 miles to Chicago, we've got a full tank of gas, half a pack of cigarettes, it's dark, and we're wearing sunglasses." -The Blues Brothers (1980)
 
 Benutzer-Profile anzeigen Private Nachricht senden E-Mail senden  
Antworten mit Zitat Nach oben
schnorrer
Titel:   BeitragVerfasst am: 29.07.2006, 11:46 Uhr



Anmeldung: 09. Jan 2006
Beiträge: 1720

on some installs, there might be a ln to xserver-xorg in /etc/rc3.d. kick it of or set it to KXXxserver-xorg, and all related x-running scripts.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
mzilikazi
Titel:   BeitragVerfasst am: 29.07.2006, 15:10 Uhr
Team Member
Team Member


Anmeldung: 17. Dez 2003
Beiträge: 1109
Wohnort: Ganymede
hubi hat folgendes geschrieben::
Do first ctrl+alt+F1, that kills X, login as root and type "init 3".


Well actually no it doesn't kill X. You have only switched to VT1 and X is still running on VT7. Winken

You are right about the startup link S99gdm. That's what starts gdm. Remove that and gdm will not start in run level 3.

_________________
Ubuntu - An ancient African word for "Can't install Debian"
 
 Benutzer-Profile anzeigen Private Nachricht senden E-Mail senden Website dieses Benutzers besuchen  
Antworten mit Zitat Nach oben
Mike Shepard
Titel:   BeitragVerfasst am: 29.07.2006, 17:40 Uhr



Anmeldung: 20. Mai 2005
Beiträge: 250

Zitat:
You are right about the startup link S99gdm. That's what starts gdm. Remove that and gdm will not start in run level 3.


worked like a charm Sehr glücklich Thanks everyone.

Cheers,
Mike

_________________
"It's 106 miles to Chicago, we've got a full tank of gas, half a pack of cigarettes, it's dark, and we're wearing sunglasses." -The Blues Brothers (1980)
 
 Benutzer-Profile anzeigen Private Nachricht senden E-Mail senden  
Antworten mit Zitat Nach oben
Beiträge vom vorherigen Thema anzeigen:     
Gehe zu:  
Alle Zeiten sind GMT + 1 Stunde
Neues Thema eröffnen   Neue Antwort erstellen
Vorheriges Thema anzeigen Druckerfreundliche Version Einloggen, um private Nachrichten zu lesen Nächstes Thema anzeigen
PNphpBB2 © 2003-2007 
 
Deutsch | English
Logos and trademarks are the property of their respective owners, comments are property of their posters, the rest is © 2004 - 2006 by Jörg Schirottke (Kano).
Consult Impressum and Legal Terms for details. Kanotix is Free Software released under the GNU/GPL license.
This CMS is powered by PostNuke, all themes used at this site are released under the GNU/GPL license. designed and hosted by w3you. Our web server is running on Kanotix64-2006.