Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 15
i have the gnome desktop installed on my debian but i want to boot into the command line instead of going directly to the x or gnome logon box every ...
  1. #1
    Just Joined!
    Join Date
    Dec 2005
    Posts
    10

    boot into command line instead of the gnome logon box

    i have the gnome desktop installed on my debian but i want to boot into the command line instead of going directly to the x or gnome logon box every time i start the system. that way, i could opt to stay in the command line until i decided to switch to GUI (by invoking a command at the prompt). can anyone here help me achieve what i want to do? i tried changing the runlevels to no avail - i always end up getting the gnome logon box.

  2. #2
    Linux User St. Joe's Avatar
    Join Date
    Jun 2005
    Location
    USA
    Posts
    271
    Issue this command as su:

    # update-rc.d -f gdm remove
    It may be that your sole purpose in life is simply to serve as a warning to others.

  3. #3
    Just Joined!
    Join Date
    Dec 2005
    Posts
    10
    Quote Originally Posted by St. Joe
    Issue this command as su:

    # update-rc.d -f gdm remove
    that will not remove gdm from my system?
    because i don't want to uninstall gdm from my system, i just don't want to activate it every time i boot. i want to have the flexibility of working in the command line until i find it difficult for me, then that's the time i'd invoke gdm.

  4. #4
    Linux Guru Vergil83's Avatar
    Join Date
    Mar 2004
    Posts
    2,408
    That will not remove gdm from your system (apt-get remove gdm would do that). It just removes the file that makes gdm run when you start your computer.
    Brilliant Mediocrity - Making Failure Look Good

  5. #5
    Linux Newbie beachboy's Avatar
    Join Date
    Apr 2005
    Location
    Rockford, MI 49341
    Posts
    125
    You could just change your run level from level 5 to level 3 on start up to do the same thing.
    <advertising NOT allowed in signatures>

  6. #6
    Linux User
    Join Date
    Sep 2003
    Posts
    254
    Quote Originally Posted by beachboy
    You could just change your run level from level 5 to level 3 on start up to do the same thing.
    Yes the file us should modify in that case is /etc/inittab
    Personnally I always got probs with services at the boot under linux more specifically under the SysV boot process...crappy

  7. #7
    Linux Newbie eerok's Avatar
    Join Date
    Feb 2005
    Location
    Canada
    Posts
    153
    The easiest way to switch back and forth from x to cli is by using the virtual terminals. You can boot into x and then hit <Ctrl><Alt><Fn> where Fn is a function key from <F2> to <F6> ... then return to x with <Ctrl><Alt><F7>

    This does require that you start x first, but if you just want to practice cli, then it will work without reconfiguring anything.
    noobus in perpetuum

  8. #8
    Linux User
    Join Date
    Apr 2005
    Location
    Ohio
    Posts
    326
    Quote Originally Posted by beachboy
    You could just change your run level from level 5 to level 3 on start up to do the same thing.
    That does not work on Debian, Debian starts in Run level 2 and launches GDM from that run level.

    The initial posters reponse was the correct answer for debian. you must modify the startup config. while switching the default run level as you suggested would work great for RedHat or some other distros.

    Personally I just rename the gdm startup file to obtain the same end result.. gdm does not start at boot.

    # mv /etc/rc2.d/S99gdm /etc/rc2.d/K99gdm

    the original posters response involes less typing than my solution.. although I think mine would be easier to undo... How bout it St. Joe can you add gdm back to the startup in a similar fashion ? just curious
    far...out

  9. #9
    Linux User St. Joe's Avatar
    Join Date
    Jun 2005
    Location
    USA
    Posts
    271
    Quote Originally Posted by farslayer
    How bout it St. Joe can you add gdm back to the startup in a similar fashion ? just curious
    # update-rc.d -f gdm defaults
    It may be that your sole purpose in life is simply to serve as a warning to others.

  10. #10
    Linux User
    Join Date
    Apr 2005
    Location
    Ohio
    Posts
    326
    Quote Originally Posted by St. Joe
    Quote Originally Posted by farslayer
    How bout it St. Joe can you add gdm back to the startup in a similar fashion ? just curious
    # update-rc.d -f gdm defaults

    Sweet !!

    Thanks for the reply. that should save me some typing in the future.
    far...out

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •