commit fed4bb8fe293bae04051c45d1b25cd1dc0947e5f
Author: Adam Williamson <awilliam(a)redhat.com>
Date: Thu Feb 17 15:53:21 2011 -0800
patch for spin-kickstarts: switch xfce to lxdm
here's the patch.
--
Adam Williamson
Fedora QA Community Monkey
IRC: adamw | Fedora Talk: adamwill AT fedoraproject DOT org
http://www.happyassassin.net
From e06893a9ba90aba1eb31d58a0eae3d12867565c9 Mon Sep 17 00:00:00 2001
From: Adam Williamson <awilliam(a)redhat.com>
Date: Thu, 17 Feb 2011 15:49:55 -0800
Subject: [PATCH] switch Xfce to lxdm (temporary probably, working around bug in gdm
for alpha)
fedora-livecd-xfce.ks | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
---
diff --git a/fedora-livecd-xfce.ks b/fedora-livecd-xfce.ks
index b8724ca..aee7cd7 100644
--- a/fedora-livecd-xfce.ks
+++ b/fedora-livecd-xfce.ks
@@ -14,6 +14,11 @@
%packages
+# login
+-gdm
+-pulseaudio-gdm-hooks
+lxdm
+
# Office
abiword
@@ -141,7 +146,8 @@ xfce4-weather-plugin
xfce4-websearch-plugin
# this one a compatibility layer for GNOME applets and depends on it
#xfce4-xfapplet-plugin
-xfce4-xfswitch-plugin
+# requires gdm which we're not using in this build
+#xfce4-xfswitch-plugin
xfce4-xkb-plugin
# system-config-printer does printer management better
#xfprint
@@ -179,8 +185,12 @@ xfwm4-themes
cat > /etc/sysconfig/desktop <<EOF
PREFERRED=/usr/bin/startxfce4
+DISPLAYMANAGER=/usr/sbin/lxdm
EOF
+# set up auto-login for liveuser
+sed -i 's|# autologin=dgod|autologin=liveuser|g' /etc/lxdm/lxdm.conf
+
mkdir -p /root/.config/xfce4
cat > /root/.config/xfce4/helpers.rc <<EOF