VNC The computer refused the connection.
### Raspberry Pi Model

Raspberry Pi 4 B

### Describe The Bug

I have installed VNC as before, following the steps in sudo hb-config / extra packages.
When it installs it says it has finished successfully and shows ip:5912.
When I go to VNC and type in the ip and port it says that the computer has refused the connection.
if i remove the port and leave the ip, it locates port 5900 on the network but when it connects it does not show the desktop.
How can I solve the problem?
Thanks


### Logs

Job for vncserver-pi.service failed because the service did not take the steps required by its unit configuration. homebridge systemd[1]: vncserver-pi.service: Can't open PID file /home/pi/.vnc/homebridge:12.pid (yet?) after start: Operation not permitted homebridge systemd[1]: vncserver-pi.service: Failed with result 'protocol'. homebridge systemd[1]: Failed to start VNC Virtual Desktop Service.