From 160340248c7aa8462129b24792d9baae11346511 Mon Sep 17 00:00:00 2001 From: Martin Whitaker Date: Fri, 6 Jan 2017 15:22:04 +0000 Subject: live.cfg: for GNOME, disable Wayland when we know it won't work. This works around the gdm autologin bug (mga#20079). --- files/50gdm-nokms-disable-wayland.xsetup | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 files/50gdm-nokms-disable-wayland.xsetup (limited to 'files') 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 -- cgit v1.2.1