DietPi with RealVNC - Connect with different user than root

Hello everyone,

i have installed DietPi newest release on my Raspi4. I also installed the RealVNC Server and LXDE Desktop. Everything is working fine and I can connect remotely to the Raspi4 with my Windows Machine with the RealVNC Viewer on Port 5901.

But it connects with the user root. How can I connect with another user? Documentation says " By default DietPi will start a virtual VNC session on boot at screen :1 for user root ." But how can I change the default?

Thanks in advance!

Nevermind, found the solution myself:

1 Like