Thanks for your help! I think if I could solve the not autologging in into the GUI my problem is fixed.
I’ve started raspi-config and selected auto-login desktop, but after reboot the login form is shown. and when manually typing in the password i get “cannot currently show the desktop”. No password change has occured (the password is accepted in ssh)

@bhepler said in gui not autologging in and pm2 is not starting automatically:

@mdissel - When you installed pm2, did you run the command that it spit out for you? Try running this command: pm2 startup. It will give you a command that you will have to copy & paste and run with the sudo command. Something like this: sudo su -c "env PATH=$PATH:/home/unitech/.nvm/versions/node/v4.3/bin pm2 startup.

Yes, I did.

Anyhow, copy & paste that command and see if that solves your problem.

As for “cannot currently show the desktop”, I’m assuming that you’re working directly on the pi itself and not SSH from another computer. A couple things to check:

You’re running Raspian Stretch, with desktop (not lite).

Yes… it worked at some time,

You ran the system updates as soon as you got the pi connected to the internet (sudo apt-get update && sudo apt-get upgrade -y)

Yes. I did

You’re still using the pi user and not some other user account.

It did work with the pi user.

Thanks again!