Find the answer to your Linux question:
Results 1 to 7 of 7
Greetings I am used to using sysvconfig to disable unneeded services on Debian Lenny, but I don't see gdm showing up there. Why would that be? Anyways, I suppose i ...
  1. #1
    Just Joined! fguy64's Avatar
    Join Date
    Aug 2009
    Posts
    87

    Disabling the Gnome Desktop

    Greetings

    I am used to using sysvconfig to disable unneeded services on Debian Lenny, but I don't see gdm showing up there. Why would that be?

    Anyways, I suppose i can stop the desktop easy enough by typing /etc/init.d/gdm stop, but that would just be for the current session I imagine. I am wondering if there is an easy way to just disable it without manually editing or renaming scripts.

    It would be nice to use sysvconfig, but like I say gdm doesn't show up there.

  2. #2
    tpl
    tpl is offline
    Linux User
    Join Date
    Jan 2007
    Location
    cleveland
    Posts
    452
    if as root you rename gdm to something else (g_old_dm)
    that should stop it
    the sun is new every day (heraclitus)

  3. #3
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    As root
    Code:
    update-rc.d -f gdm remove
    to restore
    Code:
    update-rc.d -f gdm defaults

  4. #4
    Just Joined!
    Join Date
    Nov 2008
    Posts
    2
    Hi,
    How are you, its good

  5. #5
    Just Joined! fguy64's Avatar
    Join Date
    Aug 2009
    Posts
    87
    noted. reed9 & tpl, Thanks for the tips

  6. #6
    Just Joined! fguy64's Avatar
    Join Date
    Aug 2009
    Posts
    87
    Quote Originally Posted by reed9 View Post
    As root
    Code:
    update-rc.d -f gdm remove
    to restore
    Code:
    update-rc.d -f gdm defaults
    Hey, I finally got around to using this, and it is just what I wanted. I did a little before and after comparison of running services using ps -ef, and it looks like GDM is the key that pulls all the other services used by the desktop with it, such as nautilus, mixer_applet2, etc.

    As far as I can see, disable GDM like this and as far as ps -ef can tell, it the same situation as before gnome was even installed.

  7. #7
    Linux Engineer GNU-Fan's Avatar
    Join Date
    Mar 2008
    Posts
    935
    GDM (re)starts the XServer when a user logs in. And gnome-panel etc. ultimately are X11 applications that connect to the display server.

    When you kill gdm, it terminates the XServer and all graphical applications lose their connection.
    Debian GNU/Linux -- You know you want it.

Posting Permissions

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