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:57:47 (GMT)
commit81d56bc043b197ddd5a72d7ea8857200c8dfde78 (patch)
treef79bff7c60ccca474e7fe8ac0bf38d09dd4029a5
parent43cc9ed53f55c199702b9fb4d84c0065c4a3b175 (diff)
downloadspin-kickstarts-81d56bc04.zip
spin-kickstarts-81d56bc04.tar.gz
spin-kickstarts-81d56bc04.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 3c414e5..5348497 100644
--- a/fedora-livecd-xfce.ks
+++ b/fedora-livecd-xfce.ks
@@ -83,6 +83,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