[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[PATCH] live-initramfs: make auto login work for gdm3



Hi,
Attached please find the patch file for live-initramfs 1.236.2
to make automatic login for gdm3 (2.30.2-4 in sid now). It will modify the file /etc/gdm3/daemon.conf instead of /etc/gdm3/custom.conf
From the manual of gdm3, it mentions:
----------------------------------------
gdm3 reads /etc/gdm3/daemon.conf for its configuration. For each local display, gdm starts an X server and runs a minimal GNOME session including a graphical greeter.
----------------------------------------

My 2 cents.
Thanks.

Regards,
Steven.

--
Steven Shiau <steven _at_ nchc org tw> <steven _at_ stevenshiau org>
National Center for High-performance Computing, Taiwan. http://www.nchc.org.tw
Public Key Server PGP Key ID: 1024D/9762755A
Fingerprint: A2A1 08B7 C22C 3D06 34DB  F4BC 08B3 E3D7 9762 755A


--- 15autologin.orig	2010-05-16 20:32:50.000000000 +0800
+++ 15autologin	2010-06-21 15:44:57.000000000 +0800
@@ -57,7 +57,7 @@
 	${GDMCONF}
 elif [ -d /root/etc/gdm3 ]
 then
-	GDMCustomFile=/root/etc/gdm3/custom.conf
+	GDMCustomFile=/root/etc/gdm3/daemon.conf
 	AutologinParameters="AutomaticLoginEnable=true\n\
 AutomaticLogin=$USERNAME\n\
 TimedLoginEnable=true\n\

Reply to: