Is it possible to start a desktop environment entirely in systemd-nspawn or chroot?
I want to be able to boot to a console, then optionally enter a chroot and launch Gnome or another desktop environment.
Is it possible to start a desktop environment entirely in systemd-nspawn or chroot?
I want to be able to boot to a console, then optionally enter a chroot and launch Gnome or another desktop environment.
Launching a DM from chroot is in fact possible (if configured correctly). A thorough tutorial can be found here. The process can be summarized as such:
/dev, /proc, etc) from your host to your chroot.startx)All of the corresponding commands can be synthesized into a bash script for convenience.