summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Wickert <cwickert@fedoraproject.org>2013-01-08 21:25:16 (GMT)
committerChristoph Wickert <cwickert@fedoraproject.org>2013-01-08 21:48:28 (GMT)
commit7083cbfcf0f6a5d826f08a0b9829f9ab01895bf9 (patch)
treef39cc611dedb91062978196d60e51ed9d5b3d77d
parent51238b7fa913f27627839b5fe9fe0e04fc051f0d (diff)
downloadspin-kickstarts-7083cbf.zip
spin-kickstarts-7083cbf.tar.gz
spin-kickstarts-7083cbf.tar.xz
Xfce: Set Xfce as default session in lightdm
-rw-r--r--fedora-livecd-xfce.ks3
1 files changed, 3 insertions, 0 deletions
diff --git a/fedora-livecd-xfce.ks b/fedora-livecd-xfce.ks
index 05c0dc2..4dc93e6 100644
--- a/fedora-livecd-xfce.ks
+++ b/fedora-livecd-xfce.ks
@@ -84,6 +84,9 @@ sed -i 's/^#autologin-user=.*/autologin-user=liveuser/' /etc/lightdm/lightdm.con
sed -i 's/^#autologin-user-timeout=.*/autologin-user-timeout=0/' /etc/lightdm/lightdm.conf
#sed -i 's/^#show-language-selector=.*/show-language-selector=true/' /etc/lightdm/lightdm-gtk-greeter.conf
+# set Xfce as default session, otherwise login will fail
+sed -i 's/^#user-session=.*/user-session=xfce/' /etc/lightdm/lightdm.conf
+
# Show harddisk install on the desktop
sed -i -e 's/NoDisplay=true/NoDisplay=false/' /usr/share/applications/liveinst.desktop
mkdir /home/liveuser/Desktop