Here is a patch:

In the file /usr/lib/ubiquity/user-setup/user-setup-apply

when replacing /etc/sddm.conf with sed it didn't chroot into the target.

I tried with this patch and it worked.

I only fixed the sddm part.  For other part since I don't have ways to test
i didn't change it.

BTW, I replace "cat > " to " cat >>" in case an original /etc/sddm.conf
exists (like in my case).


Franklin


2016-04-04 19:52 GMT+08:00 Franklin Weng <frank...@goodhorse.idv.tw>:

> Please see
>
> http://pastebin.com/djEsZma2
>
> I wonder if it was because when sddm was installed, the /etc/sddm.conf was
> written wrongly.
>
> In my case I had a /etc/sddm.conf specifying the theme, however it was
> overwritten by the content shown in the paste.
>
>
> Franklin
>
> 2016-04-04 15:54 GMT+08:00 Franklin Weng <frank...@goodhorse.idv.tw>:
>
>> Hi,
>>
>>
>> I'm trying Kubuntu 16.04 Beta2.
>>
>> I checked "auto login" when installing, but after installation it still
>> asked for password in the SDDM login screen.
>>
>> Then I went to the SDDM settings.  Auto login options checked, and I
>> checked it again then auto login worked.
>>
>> Please take a look at it.
>>
>>
>> Thanks,
>> Franklin
>>
>
>
311c311,312
< 				$log $chroot $ROOT /bin/bash -c "cat > /etc/sddm.conf" << EOF
---
> 				# Franklin.20160404: replace cat > to cat >>
> 				$log $chroot $ROOT /bin/bash -c "cat >> /etc/sddm.conf" << EOF
317c318
< 					sed -i 's/PLACEHOLDER/plasma.desktop/' /etc/sddm.conf
---
> 					$log $chroot $ROOT sed -i 's/PLACEHOLDER/plasma.desktop/' /etc/sddm.conf
319c320
< 					sed -i 's/PLACEHOLDER/Lubuntu.desktop/' /etc/sddm.conf
---
> 					$log $chroot $ROOT sed -i 's/PLACEHOLDER/Lubuntu.desktop/' /etc/sddm.conf
321c322
< 					sed -i 's/PLACEHOLDER/lxqt.desktop/' /etc/sddm.conf
---
> 					$log $chroot $ROOT sed -i 's/PLACEHOLDER/lxqt.desktop/' /etc/sddm.conf
324c325
< 					sed -i "s/PLACEHOLDER/$SDDMSESSION/" sddm.conf
---
> 					$log $chroot $ROOT sed -i "s/PLACEHOLDER/$SDDMSESSION/" sddm.conf
-- 
kubuntu-devel mailing list
kubuntu-devel@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/kubuntu-devel

Reply via email to