mirror of
https://github.com/Fishwaldo/build.git
synced 2025-03-18 12:51:40 +00:00
Fix first login (#2550)
* fixed the firstlogin to edit 2nd file that is the main coonf after autologin is removed * set session to xfce by default not ubuntu
This commit is contained in:
parent
4660458821
commit
149ed2ed6d
2 changed files with 4 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
[Seat:*]
|
||||
user-session=ubuntu
|
||||
user-session=xfce
|
||||
greeter-show-manual-login=false
|
||||
greeter-hide-users=false
|
||||
allow-guest=false
|
||||
|
|
|
@ -306,8 +306,10 @@ if [[ -f /root/.not_logged_in_yet && -n $(tty) ]]; then
|
|||
EOF
|
||||
|
||||
# select budgie session
|
||||
[[ -x $(which budgie-desktop) ]] && sed -i "s/user-session.*/user-session=budgie-desktop/" /etc/lightdm/lightdm.conf.d/22-armbian-autologin.conf
|
||||
[[ -x $(which budgie-desktop) ]] && sed -i "s/user-session.*/user-session=budgie-desktop/" /etc/lightdm/lightdm.conf.d/11-armbian.conf
|
||||
[[ -x $(which budgie-desktop) ]] && sed -i "s/user-session.*/user-session=budgie-desktop/" /etc/lightdm/lightdm.conf.d/22-armbian-autologin.conf
|
||||
# select deepin session
|
||||
[[ -x $(which deepin-wm) ]] && sed -i "s/user-session.*/user-session=deepin-wm/" /etc/lightdm/lightdm.conf.d/11-armbian.conf
|
||||
[[ -x $(which deepin-wm) ]] && sed -i "s/user-session.*/user-session=deepin-wm/" /etc/lightdm/lightdm.conf.d/22-armbian-autologin.conf
|
||||
|
||||
ln -sf /lib/systemd/system/lightdm.service /etc/systemd/system/display-manager.service
|
||||
|
|
Loading…
Add table
Reference in a new issue