6

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

1
  • 3
    Try it: pgrep X, restart lightdm, pgrep X, compare. :) Commented Apr 26, 2012 at 10:22

1 Answer 1

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 

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.