summaryrefslogtreecommitdiffstats
path: root/files
diff options
context:
space:
mode:
authorMartin Whitaker <mageia@martin-whitaker.me.uk>2017-01-06 15:22:04 +0000
committerMartin Whitaker <mageia@martin-whitaker.me.uk>2017-01-06 15:27:21 +0000
commit160340248c7aa8462129b24792d9baae11346511 (patch)
treeb84052c061b73ff7106b61fb06a4e550d9e3886a /files
parentbd5f5a5290e66ce1b90b1ff87b1ae134ee7e4a9b (diff)
downloaddraklive-config-160340248c7aa8462129b24792d9baae11346511.tar
draklive-config-160340248c7aa8462129b24792d9baae11346511.tar.gz
draklive-config-160340248c7aa8462129b24792d9baae11346511.tar.bz2
draklive-config-160340248c7aa8462129b24792d9baae11346511.tar.xz
draklive-config-160340248c7aa8462129b24792d9baae11346511.zip
live.cfg: for GNOME, disable Wayland when we know it won't work.
This works around the gdm autologin bug (mga#20079).
Diffstat (limited to 'files')
-rwxr-xr-xfiles/50gdm-nokms-disable-wayland.xsetup6
1 files changed, 6 insertions, 0 deletions
diff --git a/files/50gdm-nokms-disable-wayland.xsetup b/files/50gdm-nokms-disable-wayland.xsetup
new file mode 100755
index 0000000..6232353
--- /dev/null
+++ b/files/50gdm-nokms-disable-wayland.xsetup
@@ -0,0 +1,6 @@
+#!/bin/sh
+if [ -e /run/mgalive -a -f /etc/X11/gdm/custom.conf ]; then
+ if /bin/grep -q nokmsboot /proc/cmdline; then
+ sed -i 's/#WaylandEnable=false/WaylandEnable=false/' /etc/X11/gdm/custom.conf
+ fi
+fi