Can't boot VNC

I’m trying to set up realvnc on pi4 and dietpi.
Using dietpi-software installed only :
120-REALVNC Server
Autostart option-7
When i reboot raspberry i se prompt for login but not desktop and using command :
systemctl status vncserver -l
says an error :

root@DietPi:~# systemctl status vncserver -l
● vncserver.service - Manage VNC Server (DietPi)
   Loaded: loaded (/etc/systemd/system/vncserver.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Wed 2020-09-02 17:12:47 BST; 2h 18min a
  Process: 693 ExecStart=/usr/local/bin/vncserver start (code=exited, status=1/FAILURE
 Main PID: 693 (code=exited, status=1/FAILURE)

Sep 02 17:12:47 DietPi systemd[1]: Started Manage VNC Server (DietPi).
Sep 02 17:12:47 DietPi systemd[693]: pam_unix(login:session): session opened for user root by
Sep 02 17:12:47 DietPi vncserver[693]: /usr/bin/vncserver-virtual: error while loading shared
libraries: cannot open shared object file: No such file or directory
Sep 02 17:12:47 DietPi systemd[1]: vncserver.service: Main process exi
ted, code=exited, status=1/FAILURE
Sep 02 17:12:47 DietPi systemd[1]: vncserver.service: Failed with resu
lt 'exit-code'.

What is the problem?


Many thanks for your report. What version of the RPi image you are running? 32bit or 64bit?


yep that’s currently a challenge on the Raspberry OS 64bit image

Keep in mind that the 64bit Raspberry OS is still under development by Raspbian Fondation and thinks like this could happen.

thank you for help, I have installed x32 and forget about problems:)

atm it’s the better option to use Raspberry 32bit OS as long as the Foundation did not released a stable 64bit image. :slight_smile: