Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. 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

If I restart the Display Manager, e.g lightdm, will X be restarted as well ?

share|improve this question
Try it: pgrep X, restart lightdm, pgrep X, compare. :) – sr_ Apr 26 '12 at 10:22
up vote 4 down vote accepted

It depends on your configuration: you can have X-window Server started by itself and then the Display Manager process or Display Manager could start the X-window server.

I have X server started by kdm in OpenSuse 12.1:


If you use Unix with Xorg and pstree you can check by:

pstree -p `ps -H -C Xorg -o ppid --no-header` 


ps -H -C Xorg -o ppid --no-header | xargs pstree -p
share|improve this answer

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.