VNCserver - autostart

But when I autostart with vncserver I can’t connect via vncciewer. But when I autostart with automatic login and manualy start vncserver it works ok with vncviewer…

Could be the vnc viewer you are using doesn’t support the resolution or depth of the vnc server?

Try the following, will load vncserver with 640x480 after boot:

cat << _EOF_ > /DietPi/dietpi/.vncserver_settings
640
480
16
_EOF_
reboot

If that fails, please try using a desktop PC with realvnc viewer: https://www.realvnc.com/download/viewer/