Can't boot VNC Topic is solved

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
burn
Posts: 3
Joined: Wed Sep 02, 2020 8:23 pm

Can't boot VNC

Post by burn »

Hello.
I'm trying to set up realvnc on pi4 and dietpi.
Using dietpi-software installed only :
25-XFCE
120-REALVNC Server
93-pihole
96-samba
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 :

Code: Select all

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
go
  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
(uid=0)
Sep 02 17:12:47 DietPi vncserver[693]: /usr/bin/vncserver-virtual: error while loading shared
libraries: libmmal.so.0: 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?
User avatar
Joulinar
Posts: 2277
Joined: Sat Nov 16, 2019 12:49 am

Re: Can't boot VNC

Post by Joulinar »

Hi,

Many thanks for your report. What version of the RPi image you are running? 32bit or 64bit?
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
burn
Posts: 3
Joined: Wed Sep 02, 2020 8:23 pm

Re: Can't boot VNC

Post by burn »

64bit
User avatar
Joulinar
Posts: 2277
Joined: Sat Nov 16, 2019 12:49 am

Re: Can't boot VNC

Post by Joulinar »

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

https://github.com/MichaIng/DietPi/issu ... -683419123

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

https://github.com/raspberrypi/Raspberr ... /issues/86
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
burn
Posts: 3
Joined: Wed Sep 02, 2020 8:23 pm

Re: Can't boot VNC

Post by burn »

thank you for help, I have installed x32 and forget about problems:)
User avatar
Joulinar
Posts: 2277
Joined: Sat Nov 16, 2019 12:49 am

Re: Can't boot VNC

Post by Joulinar »

atm it's the better option to use Raspberry 32bit OS as long as the Foundation did not released a stable 64bit image. :)
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Post Reply