Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I've just installed Mir and I'm wondering if I'm actually running it or if it fell back to X. How can I tell if Mir is running?

share|improve this question
add comment

1 Answer 1

up vote 10 down vote accepted

You can also simply check if the system compositor process is running:

 ps afx | grep unity-system-compositor

On my system running Mir it returns something like this:

jorge@jillociraptor:~$ ps afx | grep unity-system-compositor
 4260 pts/0    S+     0:00          |   |               \_ grep --color=auto unity-system-compositor
 1606 ?        S      0:00 /usr/sbin/unity-system-compositor --from-dm-fd 9 --to-dm-fd 13 --vt 7

Machines NOT running Mir will not show unity-system-compositor running.


share|improve this answer
You can also use ps -e | grep unity-system-compositor to avoid matching grep itself. With this, no output will be shown if Mir is not running. –  minerz029 Jan 2 at 5:42
add comment

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.