Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 3771

Troubleshooting • VNC IpClientAddresses config

$
0
0
I'm trying to TigerVNC to my Pi Zero 2 but getting "The connection was dropped by the server..." It used to work until recently. I think I understand the problem:

I've just updated my broadband and my provider has (oddly) gone with the 192.168.178.0/24 subnet for my house.
vnc-x11.log contains the line "Configuration: IpClientAddresses=+192.168.0.0/24,- (Preference)"

I'm therefore assuming RealVNC is blocking my main PC on my house subnet because of this.

If I'm right, can anyone guide me on how to change VNC server config? I've tried:

command line: sudo vncserver-x11 -service -IpClientAddresses=+192.168.0.0/24
Creating a common.custom file in /etc/vnc/config.d with the single line "IpClientAddresses=+192.168.0.0/16,- "

Neither seems to work. The command doesn't complete, and when I restart the service the log file reports the same and TigerVNC fails.

Now, of course I could change my home subnet back (and that would probably be the quickest and most sensible option) but dammit, surely there must be a way!

Statistics: Posted by AberSteve — Sat Aug 10, 2024 3:14 pm



Viewing all articles
Browse latest Browse all 3771

Trending Articles