LinuxMCE Forums
June 19, 2013, 08:37:52 pm GMT-1 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com
 
   Home   Help Search Chat Login Register  
Pages: [1]
  Print  
Author Topic: How to kill x server  (Read 696 times)
Kezza
Veteran
***
Posts: 146


View Profile
« on: May 14, 2012, 12:49:13 pm »

Noob question but what command kills x server?
Logged
pigdog
wants to work for LinuxMCE
**
Posts: 785


View Profile
« Reply #1 on: May 14, 2012, 01:16:55 pm »

Hi,

Off the top of my head try...

press Alt+Ctrl+F1, and log into workspace 1 and execute this...

init3

or try...

sudo /etc/init.d/kdm stop


Hope it works.
Logged
JaseP
Addicted
*
Posts: 526



View Profile WWW
« Reply #2 on: May 14, 2012, 02:42:54 pm »

Using the init states might kill more than the Xserver, as any other things that take place only on higher init states will also fail to launch. I used to know more about these processes when I used RPM based distros, so I'm rusty here. And, while I'm not sure of this, LinuxMCE may add more wrinkles to the mix.

Another thing is that, if I am recalling correctly, Ubuntu/Debian based distros set up init states differently than their RPM counterparts. I haven't used init states to control the Xserver since switching to DEB based distros as a result. I think your second suggestion of killing KDM may be the more productive route.
Logged

See my User page on the LinuxMCE Wiki for a description of my system configuration (click the little globe under my profile pic).
l3mce
NEEDS to work for LinuxMCE
***
Posts: 1031



View Profile
« Reply #3 on: May 15, 2012, 02:05:32 am »

My general quick and dirty goto is: pkill X
If you are trying to kill KDE then on 1004: service kdm stop
and maybe follow with a pkill X

Tell me what you really want to happen and I can give you a better prescription.
Logged

I never quit... I just ping out.
tschak909
LinuxMCE God
****
Posts: 5116

DOES work for LinuxMCE.


View Profile
« Reply #4 on: May 15, 2012, 02:48:29 am »

Guys... hmm.

Would you PLEASE use Stop_X.sh in /usr/pluto/bin to kill the X server?

Come on, please, actually look at what we have in src/BootScripts instead of hacking at it with a club like a caveman. Smiley

-Thom
Logged
Kezza
Veteran
***
Posts: 146


View Profile
« Reply #5 on: May 15, 2012, 03:09:04 am »

Thanks, I'll have another shot after work... had big problems that after a rebuild I have worked out to be stuffed HD or corrupt files and I think each time updatemedia hits one of those files the system turns to crap.

So drive is now out and I have the issues with nvidia 260 drivers so need to update.

I was going to do another reinstall since latest builds look to have newer drivers but swmbo is at breaking point so I need a stable machine quick... so if I still have issues after fixing that, well it was nice to know you all :p



Logged
l3mce
NEEDS to work for LinuxMCE
***
Posts: 1031



View Profile
« Reply #6 on: May 15, 2012, 04:47:24 am »

Uhh... don't update.

I brokeded alotta stuff... esp nvidia stuff.
New build should fix everything, no clear answer on when that will happen.
Logged

I never quit... I just ping out.
Kezza
Veteran
***
Posts: 146


View Profile
« Reply #7 on: May 15, 2012, 08:25:56 am »

Cool, no worries I pulled out an old backup so up and running for now.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!