Jump to content

Closing X [solved]


Recommended Posts

Hi.

 

I was just wondering how i can shut down X (KDE) on my 10.1 and LE2005. I have a server running 10.1 and i don't need KDE running there eating resources as i can log into that machine with ssh. And can i start KDE again thru ssh when i need it? I think it is possible that way with startkde.

 

I think killing X ain't the solution because i tested it on my laptop and it just freezes. :P

This isn't an urgent one but any help would be appreciated. :)

 

[moved from Software by spinynorman]

Edited by Murda
Link to comment
Share on other sites

right, that will cause it to boot to a console when you start it up. if you want to stop X running without rebooting, switch to a console with ctrl-alt-F1, login as root or su to root and then do:

 

service dm stop

 

Thanks, this one solved my problem.

I answered now because i had no time to test this because i screwed up my laptop and had to reinstall.

Link to comment
Share on other sites

Guest Adriano1

Another way to change the option before rebooting is to do

chkconfig [--level levels] servicename <on|off|reset>

so in this case it'd be

chkconfig --level 5 dm off

to boot into level 5 without dm running. Bit useless in this case, though, for as far as I remember, the difference between level 5 and level 3 or 4 is dm running. Ah, xfs too, yes.

Link to comment
Share on other sites

If you're using KDE, I reccomend, you go through the log-out procedure to end session BEFORE you kill the dm.

 

Killing the dm 'shouldn't' ever cause a problem, but you never know, and loggin out of kde only takes a few seconds.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...