Building wayland only desktop image with kairos ? #3195
-
Context: Using kairos as a polymorphic immutable system image builder (siac system image as code) for academic lab systems see ..., I continue to work episodically on the abcd lineage (Alpine image). Aware that this is a roundabout use of kairos, it's not a question of interfering with kairos design choices, just of sharing tips and asking kairos dev about advice or guidelines for adjusting kairos to this specific context. At the start of 2025, for desktop images I have to take into account the abandonment of the X11 display protocol for wayland exclusively. About Wayland only desktopAs all major desktop environments are now completely moving away from the X11 protocol to the Wayland/XWayland display-only protocol. For abcd4desktop lineage, which has been the case since the update to kde/plasma 6, there are a few points to bear in mind. abcd4desktop live isoSwitching abcd4desktop wayland only
As abcdic4desktop container remote desktopFor desktop derivative of abcdic, remote desktop access when execution context is container (lxc, podman, docker, incus, lxd,...), has to be clientless (aka hmtl5 browser only). No need, for student or user, to depend on one remote display client installation (rdp, rfb, vnc,...), just web access (in the perspective to "Lab as a Service" hosted on a k8s pod on some cloud).
both abcd/abcdicXwayland application need pre defined /tmp/.X11-unix treeAs it took me some time to have a "stable" wayland/kde/plamsa : In some context, and that's the case on Alpine wayland/kde/plasma, some part of the desktop were unstable and tricky to trace. Googling on several forums I finally found that Xwayland applications need a pre-exisiting
network configuration : connman vs others
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
You've done some amazing research on this @j-landru , thanks for sharing! @ig0rmin since you were also running a gui, you may find some of this information useful. I wonder if we need a section in the documentation specifically for running GUI applications on kairos (kiosks, labs etc). If you folks find that useful we can start by putting some of the information here in a page. Maybe also some of the things from the blog post. This way we can extend as we go so more people benefit from it. Let me know what you think. Feel free to start directly with a PR in the docs too :D. Regarding disabling connman in live mode, I think you can simply delete the relevant symlinks in the Dockerfile (does openrc also enable services by creating symlinks like systemd does? In |
Beta Was this translation helpful? Give feedback.
-
I created a ticket here to prioritize in planning: #3284 |
Beta Was this translation helpful? Give feedback.
You've done some amazing research on this @j-landru , thanks for sharing! @ig0rmin since you were also running a gui, you may find some of this information useful.
I wonder if we need a section in the documentation specifically for running GUI applications on kairos (kiosks, labs etc). If you folks find that useful we can start by putting some of the information here in a page. Maybe also some of the things from the blog post. This way we can extend as we go so more people benefit from it. Let me know what you think. Feel free to start directly with a PR in the docs too :D.
Regarding disabling connman in live mode, I think you can simply delete the relevant symlinks in the Dockerfile (doe…