Fail to auto login using VIM3

Already followed the normal advice.
Modify the /usr/share/lightdm/lightdm.conf.d/50-greeter-wrapper.conf
Add the below:
[SeatDefaults]
greeter-session=lightdm-gtk-greeter
autologin-user=khadas

when i reboot the vim3 , it doesn’t work, still need me input login name and passwd.
i use VIM desktop OS image.
can you give me right solution?
thanks.

Hello @joseph123

I test autologin in VIM3, it works and my image is vim3-ubuntu-20.04-gnome-linux-4.9-fenix-1.5-230425.img.xz

Which image do you use?

yes, vim3-ubuntu-20.04-gnome-linux-4.9-fenix-1.5-230425-emmc.img.xz , same with yours.
so why not work well on my side?
can you list your detail steps?
thanks.

Just follow the doc:https://docs.khadas.com/products/sbc/vim3/configurations/auto-login

sudo vi /usr/share/lightdm/lightdm.conf.d/50-greeter-wrapper.conf

and replace the file with

[SeatDefaults]
greeter-session=lightdm-gtk-greeter
autologin-user=khadas

then reboot. And it works.

khadas@Khadas:~$ cat /usr/share/lightdm/lightdm.conf.d/50-greeter-wrapper.conf
[SeatDefaults]
greeter-session=lightdm-gtk-greeter
autologin-user=khadas

then reboot vim3, but issue still happen.

@joseph123 for Serial/SSH logins, you need to follow the appropriate guide:
https://docs.khadas.com/products/sbc/vim3/configurations/auto-login#server-os

Note from your screenshot you are seen using ttyS0, please follow the guide for it.

oh, yes, you are right.
i thought my gnome os image doesn’t need those instructions.
oh, misled me.
Strongly suggest khadas teams to modify https://docs.khadas.com/products/sbc/vim3/configurations/auto-login
thanks Electr1 & Jocobe

1 Like