aboutsummaryrefslogtreecommitdiff
path: root/share/provision
diff options
context:
space:
mode:
Diffstat (limited to 'share/provision')
-rwxr-xr-xshare/provision/desktop-basic7
1 files changed, 7 insertions, 0 deletions
diff --git a/share/provision/desktop-basic b/share/provision/desktop-basic
index 46c88fd..07579b3 100755
--- a/share/provision/desktop-basic
+++ b/share/provision/desktop-basic
@@ -52,6 +52,13 @@ $APT_INSTALL xpra lightdm firefox-esr chromium torbrowser-launcher
sudo cp $DIRNAME/files/desktop-basic/etc/lightdm/lightdm.conf /etc/lightdm/lightdm.conf
sudo cp $DIRNAME/files/desktop-basic/etc/default/keyboard /etc/default/keyboard
+# Load qlx module during initramfs phase otherwise the X server might start
+# before this module gets loaded, resulting in weird spice errors.
+if ! grep -q qxl /etc/initramfs-tools/modules; then
+ echo qxl | sudo tee -a /etc/initramfs-tools/modules > /dev/null
+ sudo update-initramfs -u
+fi
+
# User configuration
mkdir -p $HOME/.custom