Good night,
I have this failure without vnc
Can someone help me
- Device model : RPi 4 Model B (armv7l)
- MOTD : DietPi v7.7 has been released, time to update:
Active: failed (Result: exit-code) since Tue 2021-10-26 01:07:29 BST;
│ 21h ago
│ Main PID: 2056 (code=exited, status=127)
│ CPU: 18ms
│
│ Oct 26 01:07:29 DietPi systemd[1]: Started VNC Server (DietPi).
│ Oct 26 01:07:29 DietPi systemd[2056]: pam_unix(login:session): session opened for user root(uid=0) by (uid=0)
│ Oct 26 01:07:29 DietPi vncserver[2056]: [ OK ] RealVNC detected
│ Oct 26 01:07:29 DietPi vncserver[2056]: [ INFO ] Starting virtual desktop at display :1 in 1280x720x16
│ Oct 26 01:07:29 DietPi vncserver[2056]: /usr/bin/vncserver-virtual: error while loading shared libraries: libbcm_host.so: cannot open hared object
│ file: No such file or directory
│ Oct 26 01:07:29 DietPi systemd[1]: vncserver.service: Main process exited,
│ code=exited, status=127/n/a
│ Oct 26 01:07:29 DietPi systemd[1]: vncserver.service: Failed with result
│ 'exit-code'.
Hello, I did this sequence but it didn’t work, is there any other help
apt reinstall realvnc-vnc-server
systemctl start vncserver-x11-serviced.service
systemctl enable vncserver-x11-serviced.service
Created symlink /etc/systemd/system/multi-user.target.wants/vncserver-x11-serviced.service → /lib/systemd/system/vncserver-x11-serviced.service.
systemctl start vncserver-virtuald.service
systemctl enable vncserver-virtuald.service
Created symlink /etc/systemd/system/multi-user.target.wants/vncserver-virtuald.service → /lib/systemd/system/vncserver-virtuald.service.
ss -tulpn | grep LISTEN
tcp LISTEN 0 5 0.0.0.0:5900 0.0.0.0:* users:((“vncserver-x11-c”,pid=2485,fd=11))
tcp LISTEN 0 5 0.0.0.0:5999 0.0.0.0:* users:((“vncserver-virtu”,pid=2522,fd=8))
tcp LISTEN 0 5 [::]:5900 [::]:* users:((“vncserver-x11-c”,pid=2485,fd=10))
tcp LISTEN 0 5 [::]:5999 [::]:* users:((“vncserver-virtu”,pid=2522,fd=7))
VNC seems to be running as it is LISTEN to port 5900
the above is a copy of the help from the post you gave me
what is the status of the service
systemctl status vncserver.service
journalctl -u vncserver.service
But this is not the output of the 2 command I gave you.
Test this workaround:
cd /usr/lib/arm-linux-gnueabihf
dpkg -L libraspberrypi0 | grep '/usr/lib/arm-linux-gnueabihf/.*\.so.0' | while read -r line
do
line=${line#/usr/lib/arm-linux-gnueabihf/}
ln -s "$line" "${line%.0}"
done
systemctl restart vncserver