Merge lp:~darkxst/casper/fix-gdm-autologin-lp1046630-fix3 into lp:ubuntu/quantal/casper

Proposed by Tim Lunn
Status: Merged
Merged at revision: 1065
Proposed branch: lp:~darkxst/casper/fix-gdm-autologin-lp1046630-fix3
Merge into: lp:ubuntu/quantal/casper
Diff against target: 47 lines (+14/-1)
3 files modified
debian/changelog (+7/-0)
scripts/casper-bottom/15autologin (+2/-1)
scripts/casper-bottom/25adduser (+5/-0)
To merge this branch: bzr merge lp:~darkxst/casper/fix-gdm-autologin-lp1046630-fix3
Reviewer Review Type Date Requested Status
Didier Roche-Tolomelli Approve
Ubuntu branches Pending
Review via email: mp+126238@code.launchpad.net

Description of the change

GDM does not display the live CD user due to UID filtering. Change [UG]ID_MIN in login.defs, so accountServices can find the live CD user.

To post a comment you must log in.
1064. By Logan Rosen

Remove 26disable_user_menu script, as it is obsolete (LP: #1057234)

Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

Hey Tim!

The fix is looking good, thanks a lot :)
Just a little note: please use 1.325 instead of 1.324ubuntu1 for the revision.

Excellent work, thanks!

review: Approve
1065. By Didier Roche-Tolomelli

merging Tim's patch on gdm displaying live cd user

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2012-09-17 12:36:48 +0000
3+++ debian/changelog 2012-09-25 12:57:26 +0000
4@@ -1,3 +1,10 @@
5+casper (1.324ubuntu1) UNRELEASED; urgency=low
6+
7+ * Patch [UG]ID_MIN in login.defs so that live user shows
8+ up in GDM.
9+
10+ -- Tim Lunn <darkxst@fastmail.fm> Tue, 25 Sep 2012 22:44:43 +1000
11+
12 casper (1.324) quantal; urgency=low
13
14 [ Tim L ]
15
16=== modified file 'scripts/casper-bottom/15autologin'
17--- scripts/casper-bottom/15autologin 2012-09-16 06:27:16 +0000
18+++ scripts/casper-bottom/15autologin 2012-09-25 12:57:26 +0000
19@@ -27,10 +27,11 @@
20 sed -i -r \
21 -e "s/^#[ ]*AutomaticLoginEnable =.*\$/AutomaticLoginEnable=true/" \
22 -e "s/^#[ ]*AutomaticLogin =.*\$/AutomaticLogin=$USERNAME/" \
23+ -e "s/^#[ ]*TimedLoginEnable =.*\$/TimedLoginEnable=false/" \
24 $GDMCustomFile
25
26 printf "[com.canonical.indicator.session]\nsuppress-logout-menuitem=true\n" >> /root/usr/share/glib-2.0/schemas/casper.gschema.override
27- sed -i 's/let multiSession.*$/let multiSession = false;/' /root/usr/share/gnome-shell/js/ui/userMenu.js
28+ #sed -i 's/let multiSession.*$/let multiSession = false;/' /root/usr/share/gnome-shell/js/ui/userMenu.js
29 chroot /root glib-compile-schemas /usr/share/glib-2.0/schemas/
30 fi
31
32
33=== modified file 'scripts/casper-bottom/25adduser'
34--- scripts/casper-bottom/25adduser 2012-02-01 22:44:38 +0000
35+++ scripts/casper-bottom/25adduser 2012-09-25 12:57:26 +0000
36@@ -100,6 +100,11 @@
37 mv /root/home/$USERNAME/examples.desktop /root/home/$USERNAME/Desktop/
38 fi
39
40+#GDM
41+if [ -d /root/etc/gdm ]; then
42+ sed -i '/^[UG]ID_MIN/s/\<1000$/ 999/' /root/etc/login.defs
43+fi
44+
45 #Kubuntu
46 if [ -f "/root/usr/bin/plasma" ]; then
47 if [ -f "/root/usr/share/kde4/apps/khelpcenter/plugins/kubuntu/about-kubuntu.desktop" ]; then

Subscribers

People subscribed via source and target branches

to all changes: