Linux VNC - dontdisconnect: Not shared & existing client - refusing new client
Hello, I have set the VNC on ubuntu according to the instructions https://cloud.up4.cz/it/linux-vnc-pro-vzdaleny-pristup-na-plochu-x11vnc .
and after logging in with the correct password, vnc will log me out immediately with error:
dontdisconnect: Not shared & existing client
refusing new client 192.168.5.17
Can you please advise?
LOG:
Hi,
to fix this VNC errors:
-dontdisconnect: Not shared & existing client
refusing new client 192.168.5.17
you can try add parameter
and after logging in with the correct password, vnc will log me out immediately with error:
dontdisconnect: Not shared & existing client
refusing new client 192.168.5.17
Can you please advise?
LOG:
13/07/2020 17:59:03 Protocol version sent 3.8, using 3.8
13/07/2020 17:59:03 rfbProcessClientSecurityType: executing handler for type 2
13/07/2020 17:59:06 -dontdisconnect: Not shared & existing client
13/07/2020 17:59:06 refusing new client 192.168.5.17
13/07/2020 17:59:06 client_count: 1
13/07/2020 17:59:06 Client 192.168.5.17 gone
13/07/2020 17:59:06 Statistics events Transmit/ RawEquiv ( saved)
13/07/2020 17:59:06 TOTALS : 0 | 0/ 0 ( 0.0%)
13/07/2020 17:59:06 Statistics events Received/ RawEquiv ( saved)
13/07/2020 17:59:06 TOTALS : 0 | 0/ 0 ( 0.0%)
REPLY
Hi,
to fix this VNC errors:
-dontdisconnect: Not shared & existing client
refusing new client 192.168.5.17
you can try add parameter
-nevershared
, so you would run x11vnc with this command:x11vnc -xkb -noxrecord -noxfixes -noxdamage -display :0 -auth /var/run/lightdm/root/:0 -forever -nevershared -bg -o /var/log/x11vnc.log -rfbauth /home/user/.vnc/passwd -rfbport 5900