Find the answer to your Linux question:
Results 1 to 6 of 6
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    How do I shutdown gdm, kdm or xdm?


    Hello

    I'm using the 'stable' release of Debian using kernel 2.4 and I want to know how to shutdown gdm, kdm or xdm just to save system resources?

    I mean, when I go back to the command prompt and type gdm it'll say gdm is already running. Aborting!

    How?

    The other thing, how do I go straight to the command prompt when I logout of gdm, kdm or xdm instead of the logon menu?

    Thanks in advance.

  2. #2
    Linux Enthusiast
    Join Date
    Dec 2004
    Location
    Rockin' in the USA!!!
    Posts
    603
    you can get to a command prompt by changing tty's - Ctrl+Alt+F(#), once your there you can kill gdm or whatever by doing:
    Code:
    ps -xwff | grep "gdm" # again, whatever login thingy you're using
    then issue:
    Code:
    kill -9 <gdm's-pid-number> # pid is listed as the nimber on the left side of ps -xwff
    you will also want to kill X:
    Code:
    ps -xwff | grep "X" # repeat same process to kill

  3. #3
    if it's the same as my computer, even tho it's gdm, stoppin the xdm will infact kill gdm as it's xdm that started it, so to stop gdm try
    Code:
    /etc/init.d/xdm stop
    "I am not an alcoholic, alcoholics go to meetings"
    Registered Linux user = #372327

  4. $spacer_open
    $spacer_close
  5. #4
    This is what I did, which also works:

    /etc/init.d/gdm stop

    The rest of your suggestions work too.

    Thank you.

  6. #5
    was it
    Code:
    /etc/init.d/gdm stop
    or
    Code:
    /etc/init.d/xdm stop
    that worked?
    Cos i cant for some reason stop gdm, to do that i have to stop xdm
    "I am not an alcoholic, alcoholics go to meetings"
    Registered Linux user = #372327

  7. #6
    I had to use /etc/init.d/gdm stop in order to stop Gnome and to stop X Window I had to use /etc/init.d/xdm stop.

Posting Permissions

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