aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-11-19 13:41:19 -0200
committerSilvio Rhatto <rhatto@riseup.net>2017-11-19 13:41:19 -0200
commitc478eaa42c7e8bb022f98574ada696392133d551 (patch)
tree56dfa7bdce3dd32f79eac9f26d91862cf19f0096
parent522ddac42e96fcd206ac604b1f02fa3c3d056cb2 (diff)
downloadkvmx-c478eaa42c7e8bb022f98574ada696392133d551.tar.gz
kvmx-c478eaa42c7e8bb022f98574ada696392133d551.tar.bz2
Provision: desktop-basic: remove .dmrc
-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 7da6151..43cd160 100755
--- a/share/provision/desktop-basic
+++ b/share/provision/desktop-basic
@@ -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