I installed a minimal ISO of Ubuntu 16.04 (54 MB) on my virtual machine. After done installing the OS, I installed these programs:
and some related libraries like "libgl1"
Everything works fine but when I did try to do the auto-login, I got stuck.
I have read many forums and watched a lot of videos, consequently found ways but none of them seems to work for me. The one which I'm eager to work with is
sudo nano /etc/lightdm/lightdm.conf
In the file, first thing I did was to delete the guess and it worked fine but the rest of the code dose not work at all. I double checked my username using
[SeatDefaults] allow-guest=false autologin-user=saeed autologin-user-timeout=0 user-session=ubuntu
Since I am not using Unity, I did not write (but I did try the code before) this code:
saeed is my only user now. However, I did try making another and do the auto-login with it, but the result was unsatisfying.
It's been around 12 hours of searching and trying. It seems that everybody is getting the result by above method, but I keep getting the login screen, I am afraid I might be short on some lib or something.
Since I am working on an embedded device (Intel based CPU, not ARM) it is crucial to get rid of the login in the main device (server) for the user behind LCD, nevertheless I do need the password for SSH connections security.
What can I do?