Find the answer to your Linux question:
Results 1 to 8 of 8
I am trying to kill the X server at the login screen. It flashes to the console, but then X boots back up after half a second. How would I ...
  1. #1
    Just Joined!
    Join Date
    May 2008
    Posts
    6

    Killing the X Server

    I am trying to kill the X server at the login screen. It flashes to the console, but then X boots back up after half a second. How would I prevent it from doing that?

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Press Alt+Ctrl+F1. It will drop you at command line mode. Log in as Regular User and execute this
    Code:
    su -
    /etc/init.d/gdm stop
    Above code will stop X Server. Execute this to restart it :
    Code:
    su -
    /etc/init.d/gdm start
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Just Joined!
    Join Date
    May 2008
    Posts
    37
    why would you log in as a regular user and then su - ?

  4. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Its not a good idea to log in as root user. One should as Regular user only and gain root privileges using su - whenever required.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  5. #5
    Just Joined!
    Join Date
    May 2008
    Posts
    6
    Thanks devils casper.

  6. #6
    Just Joined!
    Join Date
    May 2008
    Posts
    6
    Ahh, well, that didn't work. Nothing happens when I use the key combination you supplied above.

  7. #7
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Which code didn't work? Does Alt+Ctrl+F1-F6 drop you at command line prompt?
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  8. #8
    Just Joined!
    Join Date
    May 2008
    Posts
    6
    Didn't try alt+ctrl+F1+F6, only tried alt+ctrl+F1 as you said above.

Posting Permissions

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