Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Post History

60%
+1 −0
Q&A Dual booting without rebooting

Wild idea (NOT TESTED): This would not be for booting a whole second kernel, so it might fail badly if the distros were on wildly different kernel levels. For a graphical environment for X11, try ...

posted 5mo ago by bgstack15‭

Answer
#1: Initial revision by user avatar bgstack15‭ · 2024-06-20T03:28:07Z (5 months ago)
Wild idea (NOT TESTED):
This would not be for booting a whole second kernel, so it might fail badly if the distros were on wildly different kernel levels. For a graphical environment for X11, try [Xephyr](https://www.freedesktop.org/wiki/Software/Xephyr/) which makes a second, inner X server display. In the host graphical environment, you would install and run xephyr, and learn its display ID, for example, `:1`.

In a terminal still in the host, chroot to the root partition of the guest, then set the display environment variable, and then switch to the correct user and try running graphical programs. For a desktop environment like Xfce4 those start with something like `xfce4-session`.