Question

How can I create a new X in a window of the old X? A custom .xinitrc for the new X would be nice. I intend to use this for WM tinkering, so I don't break the WM I'm currently running.

Was it helpful?

Solution

Use Xnest.

Use Xephyr. It's an X server whose backend is an X window.


Recommendation taken from packages.debian.org:

Use of the Xephyr X server instead of Xnest is recommended.

https://packages.debian.org/wheezy/xnest

Xephyr is an X server that can be run inside another X server, much like Xnest. It is based on the kdrive X server, and as a result it supports newer extensions than Xnest, including render and composite.

https://packages.debian.org/wheezy/xserver-xephyr

OTHER TIPS

You could run a virtual machine using VirtualBox.

The nice thing about that is you can modify pretty much anything and everything. If you work yourself into a hole, no problem; just revert to a snapshot or reinstall the virtual machine.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top