]> gitweb.fluxo.info Git - kvmx.git/commitdiff
Provision: desktop-basic: remove .dmrc
authorSilvio Rhatto <rhatto@riseup.net>
Sun, 19 Nov 2017 15:41:19 +0000 (13:41 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Sun, 19 Nov 2017 15:41:19 +0000 (13:41 -0200)
share/provision/desktop-basic

index 7da61518d1a0c48ba0b67615ade2cd969dea0f7c..43cd160e7bf12975ab6a9c476789648aa36384bd 100755 (executable)
@@ -62,6 +62,13 @@ sudo cp $DIRNAME/files/desktop-basic/etc/lightdm/lightdm.conf /etc/lightdm/light
 sudo cp $DIRNAME/files/desktop-basic/etc/default/keyboard     /etc/default/keyboard
 sudo update-alternatives --set x-window-manager /usr/bin/ratpoison
 
+# Removing the dotfiles' version of .dmrc ensures that
+#
+# the default x-window-manager automatically starts. Otherwise we may end up
+# having lightdm unable to login automatically into ratpoison or even starting
+# the wrong window manager.
+rm -f $HOME/.dmrc
+
 # 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