Hello,
I am looking for a solution to run full Xorg environment in a container. The use case is this:
I enter an container using lxc exec u1 bash, then type startx. I expect X will normally start and I can view full native graphics desktop with acceleration (youtube videos, etc) as if it was running on the host itself.
Is there any way I can achieve this? All tutorials on the internet are outdated or not working, with various issues. I'd like to keep this as simple as possible. Currently startx gives me:
parse_vt_settings: cannot open /dev/tty0 (no such file or directory).
Use case: normal root in container, I install / update my system based on my preferences, and THEN, I can sync (clone) my container to another machine, make snapshots before big upgrade, and so on. Primary target of usecase: I have 3 locations where I work, shifting between them, and I want my desktop environment updated, so for example if I configure SeaMonkey to my liking, upgrade PHP, get a new project going, anything, I don't want to do that 3 times, and just sync the container.
I currently use FreeBSD for this, see https://github.com/kbs1/freebsd-synced-xjails , but I'd like to start using Linux again.
Thank you very much! ;-)
Best Regards,
Viliam :)
I am looking for a solution to run full Xorg environment in a container. The use case is this:
I enter an container using lxc exec u1 bash, then type startx. I expect X will normally start and I can view full native graphics desktop with acceleration (youtube videos, etc) as if it was running on the host itself.
Is there any way I can achieve this? All tutorials on the internet are outdated or not working, with various issues. I'd like to keep this as simple as possible. Currently startx gives me:
parse_vt_settings: cannot open /dev/tty0 (no such file or directory).
Use case: normal root in container, I install / update my system based on my preferences, and THEN, I can sync (clone) my container to another machine, make snapshots before big upgrade, and so on. Primary target of usecase: I have 3 locations where I work, shifting between them, and I want my desktop environment updated, so for example if I configure SeaMonkey to my liking, upgrade PHP, get a new project going, anything, I don't want to do that 3 times, and just sync the container.
I currently use FreeBSD for this, see https://github.com/kbs1/freebsd-synced-xjails , but I'd like to start using Linux again.
Thank you very much! ;-)
Best Regards,
Viliam :)