diff options
author | Richard Hughes <richard@hughsie.com> | 2013-02-13 15:37:36 +0000 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2013-02-13 14:34:02 -0500 |
commit | 254dfaeee6113fe6cb8f2bde3bbdfc86ecdba343 (patch) | |
tree | a8f5319d18fae328f9d7df1e9e2a17a0d2d87343 /fedora-livecd-soas.ks | |
parent | 85123ce36524f8731a568bb56928c539b5633769 (diff) | |
download | spin-kickstarts-254dfaeee6113fe6cb8f2bde3bbdfc86ecdba343.tar.gz spin-kickstarts-254dfaeee6113fe6cb8f2bde3bbdfc86ecdba343.tar.xz spin-kickstarts-254dfaeee6113fe6cb8f2bde3bbdfc86ecdba343.zip |
Fix GDM auto-login for all GNOME-based spins
Using >> means we have a custom.conf file that looks like this:
[daemon]
...
[daemon]
AutomaticLoginEnable=True
AutomaticLogin=liveuser
Which is the first reason why it's failing. Change the cat append to replace as
the other sections are optional.
Additionally, the livesys legacy service is not completing before gdm is being
started, which means the config file is being read before it has been altered.
This can be fixed by adding a LSB-style "X-Start-Before: display-manager" in the
header of livesys.
Diffstat (limited to 'fedora-livecd-soas.ks')
-rw-r--r-- | fedora-livecd-soas.ks | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fedora-livecd-soas.ks b/fedora-livecd-soas.ks index cf87f55..5938bd9 100644 --- a/fedora-livecd-soas.ks +++ b/fedora-livecd-soas.ks @@ -67,7 +67,7 @@ vu.lux.olpc.Speak EOF # set up auto-login -cat >> /etc/gdm/custom.conf << EOF +cat > /etc/gdm/custom.conf << EOF [daemon] AutomaticLoginEnable=True AutomaticLogin=liveuser |