Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Every time I boot I get the following process that is taking %99.3 of my CPU

/usr/bin/X :0 -nr -verbose -auth /var/run/gdm/auth-for-gdm-EowSOU/database -nolisten tcp vt7

when I kill the pid I lose ssh connection, apache goes down and have to restart the machine.

Anyone know what this is?


share|improve this question

just change the file mode for /etc/init.d/gdm to 644.

   sudo chmod 644 /etc/init.d/gdm

to return /etc/init.d/gdm to its original mode set 655, (or check before setting). Be warned it might disable graphics login.

share|improve this answer

This is your X Server, the base for all of your GUI. Killing X will kill your terminals, which kills your shells, which will kill most of the things running from your shells.

This shouldn't kill apache though, because it is normally run in a way that killing the shell that runs it won't kill it. It's a special type of process known as a daemon (pronounced demon)

So, you now have a followup question, possibly two. One is, why is your XServer taking up so much CPU. The other, why is apache dying when your terminal closes.

share|improve this answer
thanks for the response. Thats why this is so puzzling. I know that killing this process should not bring down the system. I do have a virtual X session that i log into from VNC from time to time but that is running on its own PID. – anoanaa Mar 25 '11 at 21:39

I ended up removing gdm, xorg and xserver and it fixed (removed) the bad process.

Maybe a hack fix but I don't use the GUI anyways and it could always be reinstalled...

share|improve this answer
you should accept an answer (preferably mine of course ;) ) to close your question out. – Rich Homolka Mar 25 '11 at 22:24

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.