0

I tried to activate the vnc service but it does not work for unknown reason. I tried two clients without success. The service is running for sure and a desktop is started in the pi. I try to connect with following address pi0002:1 or pi0002:0. Below is the status of the service and its output when connecting.

systemctl status vncserver-x11-serviced.service

   Loaded: loaded (/usr/lib/systemd/system/vncserver-x11-serviced.service; enabled; vendor preset: enabled)
   Active: active (running) since Tue 2017-09-26 13:52:45 CEST; 9min ago
 Main PID: 458 (vncserver-x11-s)
   CGroup: /system.slice/vncserver-x11-serviced.service
           ├─458 /usr/bin/vncserver-x11-serviced -fg
           ├─480 /usr/bin/vncserver-x11-core -service
           ├─504 /usr/bin/vncagent service 14
           ├─704 /usr/bin/vncserverui service 15
           └─730 /usr/bin/vncserverui -statusicon 7

Sep 26 13:52:46 pi0002 vncserver-x11[480]: AgentInitCheck: agent comms failure
Sep 26 13:52:46 pi0002 vncserver-x11[480]: ConsoleDisplay: Found running X server (pid=489)
Sep 26 13:53:00 pi0002 vncserver-x11[480]: Connections: connected: 192.168.188.83::40828
Sep 26 13:53:00 pi0002 vncserver-x11[480]: Connections: disconnected: 192.168.188.83::40828 ([EndOfStream] Disconnection by client)
Sep 26 13:55:38 pi0002 vncserver-x11[480]: Connections: connected: 192.168.188.83::40994
Sep 26 13:55:38 pi0002 vncserver-x11[480]: Connections: disconnected: 192.168.188.83::40994 ([EndOfStream] Disconnection by client)
Sep 26 13:56:22 pi0002 vncserver-x11[480]: Connections: connected: 10.1.2.10::46034
Sep 26 13:56:22 pi0002 vncserver-x11[480]: Connections: disconnected: 10.1.2.10::46034 ([EndOfStream] Disconnection by client)
Sep 26 13:57:32 pi0002 vncserver-x11[480]: Connections: connected: 192.168.188.83::41378
Sep 26 13:57:32 pi0002 vncserver-x11[480]: Connections: disconnected: 192.168.188.83::41378 ([EndOfStream] Disconnection by client)
  • I am getting a similar problem on stretch, including the agent comms failure message, but the additional message I see coming from vncserver-x11-serviced is [unable to open display ""] (without the brackets) – Edmund Broadley Mar 20 '18 at 0:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.