I usually use XMonad as window manager. When playing around with GUI programming I sometimes just want to see how the windows would look under Compiz for example.

So is it possible to run another window manager, say Compiz, on a specific workspace under XMonad?


Nested X11 sessions are possible with Xephyr, see this example from the wikipedia page: nested X11 sessions using Xephyr screenshot

This is independent of the "base" WM (XMonad), since it's just another X11 client for it to take care of. That said, I have no idea about accelerated graphics in Xephyr, i.e. if Compiz is usable this way...


Alternatively you can start another session from your login manager (while your main session keeps alive) and login as another user configured to use the window manager of your choice.

LightDM and GDM allow for that, and maybe other login manager. You can then switch back to your original session with CtrlAltF7 or similar.

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.