-
Notifications
You must be signed in to change notification settings - Fork 2
Desktop
harbour-containers includes some scripts meant to setup and start X desktop sessions inside containers. These scripts can be found on guest's /mnt/guest directory, currently only Debian-based systems are supported (debian, ubuntu, mint, kali, devuan).
This script is meant to help configuring network and xfce4 environment on containers.
# lxc-attach -n mycontainer /mnt/guest/setup_desktop.sh
Note: a patched version of Xwayland is required in order to get touch screen working on desktops, setup_desktop.sh
will automatically build it from sources and download it from https://github.com/sailfish-containers/xserver/releases if building failed.
Desktop sessions require a wayland display socket inside /run/display/ directory, named "wayland-container-[ID]", it is possible to create it using qxcompositor as follows:
$ qxcompositor --wayland-socket-name ../../display/wayland-container-0 &
It is possible then to start a desktop session passing the wayland display's id (in this case 0) as follows:
# lxc-attach -n mycontainer /mnt/guest/start_desktop.sh 0