VNC server doesn't work on RaspberryPi 4

I have a problem with RealVNC on my raspberry pi 4. The Vnc icon does not appear even if the VNC flag is enabled.

If I write into the terminal: cat /var/log/syslog | grep vnc | tail, these errors appear:

raspberrypi vncserver-x11[2246,root]: AgentInitCheck: agent comms failure

raspberrypi vncserver-x11[2246,root]: AgentInitCheck: no response from agent

 

Can you help me, please?

Thank you very much!

 

1

Comments

4 comments
  • Official comment

    Hi all,

    Thanks for posting.

    If RealVNC Server is not starting at all, or you can connect and see only a blank screen

    Are your Raspberry Pis running Pi OS Bookworm? If so, can you check that wayland is disabled - you can use our guide here: https://help.realvnc.com/hc/en-us/articles/4417193011857

    If this doesn't help, can you please ensure your Pi is fully up to date by running:

    sudo apt update && sudo apt dist-upgrade

    and then try starting RealVNC Server again:

    sudo systemctl enable vncserver-x11-serviced --now

    If you can connect and see a desktop, but don't have access to the RealVNC Server icon:

    If you are connecting to Service Mode (port 5900), try the command:

    sudo vncserver-x11 -service -showexistingstatus

    If you are connecting to Virtual Moe (port 590X), try the command:

    Xvnc -showexistingstatus

    If you are connected to Virtual Mode and need to access the License Wizard, you can run the command:

    sudo vnclicensewiz

    Thanks,

    Jack

    Comment actions Permalink
  • Did you ever get a resolution to this problem? I have the same issue(s)

    1
    Comment actions Permalink
  • Same!

    What the heck??? I mean this should be easy!

    0
    Comment actions Permalink
  • No matter what I do, versions of Raspberry Pi or whatever, can I get the VNC Icon to appear in the system tray. I can connect to the Pi using the IP address so the server is running but I want to configure the cloud options... 
    Driving me bonkers.... wasted so much time for whats supposed to be dead easy!

     

    0
    Comment actions Permalink

Please sign in to leave a comment.

Didn't find what you were looking for?

New post