You are not logged in.
It's possible to run eg.
sddmor
dbus-run-session startplasma-waylandto make programs run on Virtual Terminals. How do I do the same from within a container?
Last edited by 25pwn (2023-08-09 12:59:00)
Offline
Accessing high-level graphics from "within" a container is typically not done, because it defeats the purpose of containerization. A container is not a virtual machine, it's an isolated process launched from a self-contained image.
Perhaps this is more of an X-Y problem: what are you actually trying to achieve?
Offline
I'm trying to write a general script for running containerized sessions. One of the features I want is graphical sessions eg. get a graphical session running on VTn
I'm trying to do this instead of sharing the wayland socket etc. because that requires more integration with the host. Doing this probably involves sharing /dev/dri, /sys etc. which kind of defeats the point of containerization but I want the container to be as independent to what's running on the host as possible
distrobox and x11docker can run sessions like what I'm trying to do if you create display manager entries(distrobox, x11docker) and launch them from a display manager. I've been trying to recreate this but haven't been successful yet.
Last edited by 25pwn (2023-08-12 10:34:22)
Offline