Click to See Complete Forum and Search --> : graphical login
complication
03-10-2001, 12:16 AM
I am running a Debian system.
Yesterday I installed ximian (helix) gnome.
I then changed my .xinitrc file in my home directory to start blackbox when startx is issued.
That went over fine, but when i rebooted my box today it did a graphical login and started GNOMe. Even if i try and alt+ctrl+del out it just starts X right back up.
Anyone know how to change it from a graphical login to a CLI login?
Thanks a lot!
Debian start up scripts are located in /etc/init.d. I would think you could move gdm from there to get to a cli login.
I have not tried this... so.... remember where you moved it to, just in case.
Yep. that will do it too. I figured I better practice what I preach. I moved gdm and I also had xdm, moved xdm too. Debian now boots to CLI.
Regards,
Rod
complication
03-10-2001, 01:20 AM
Yup it boots in CLI. :)
Thanks a bunch.
Lorithar
03-10-2001, 02:20 PM
change your inittab.
init 4 is gui
init 3 is cli
Originally posted by Lorithar:
change your inittab.
init 4 is gui
init 3 is cli
While this is true for some distros, it is not true with Debian. To back this up I cut and pasted the following.
There is a set of directories /etc/rc.d/rc0.d, /etc/rc.d/rc1.d, ..., /etc/rc.d/rc6.d in Red Hat, or /etc/rc0.d, /etc/rc1.d, ..., /etc/rc6.d in Debian, which correspond to the run-levels. If we are going into runlevel 3 on a Debian system, then the script runs all the scripts in /etc/rc3.d that start with `S' (for start). These scripts are really just links to scripts in another directory usually called /etc/init.d.
just FYI
Regards,
Rod
[ 10 March 2001: Message edited by: rod ]
Choozo
03-10-2001, 06:41 PM
Isn't there a /etc/inittab file in all distros that are somewhat identical?
This is the Mandrake/RedHat way:
# Default runlevel. The runlevels used by RHS are:
# 0 - halt (Do NOT set initdefault to this)
# 1 - Single user mode
# 2 - Multiuser, without NFS (The same as 3, if you do not have networking)
# 3 - Full multiuser mode
# 4 - unused
# 5 - X11
# 6 - reboot (Do NOT set initdefault to this)
#
id:3:initdefault:
I'm probably getting in over my head here....
Yes Debian has an /etc/inittab also. You can specify what runlevel to boot from that file. I guess at this point I will refer to this NHF written by LNOs Debian guru, Craig McPherson.
Debian specific NHF (http://www.linuxnewbie.org/nhf/intel/distros/deb/deb_startupcommands.html)
Regards,
Rod
[ 10 March 2001: Message edited by: rod ]