6

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

  • 3
    Try it: pgrep X, restart lightdm, pgrep X, compare. :) – sr_ Apr 26 '12 at 10:22
4

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:

kdm(4655)─┬─Xorg(4671)
          └─kdm(4698)───startkde(4800)─┬─gpg-agent(4877)
                                       ├─kwrapper4(4977)
                                       └─ssh-agent(4878) 

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

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

or

ps -H -C Xorg -o ppid --no-header | xargs pstree -p

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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