Page 1 of 1

RevPi Connect 5 - cannot connevt via VNC

Posted: 16 Aug 2025, 00:08
by cronetko
Cannot connect via VNC from PC to RevPi, getting error: "No route to host (113)" when trying to connect via Xtigervnc viewer, realvnc viewer and remmina. Tried on ubuntu and win10 pc, none work.
I also have Raspberry Pi 5, with Pi os, to that one I can connect without any problems via VNC from ubuntu pc, followed instructions from pi os website https://www.raspberrypi.com/documentati ... ccess.html.


Description:
Installed the new RevPi image, did sudo apt update/upgrade, everything is up to date. Set up a static ipv4 address for eth1 (physical port B), connected via ethernet cable RevPi directly to my PC, successfully connected via ssh to RevPi, ping works, but when trying to connect via VNC, I keep getting error (No route to host). Changed time zone according to this thread: viewtopic.php?t=471 but still not working.
Uninstalled RealVnc server that is installed by default and installed tightvnc server, the exact same issue persists.
Tried using eth0, that is physical ethernet port A, the same issue persists. I have correctly set up the ip address on my PC, otherwise ssh connection would not be possible.

RevPi "ip a" output:
pi@RevPi150283:~$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host noprefixroute
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether c8:3e:a7:13:b5:cf brd ff:ff:ff:ff:ff:ff permaddr 2c:cf:67:de:d2:bb
inet 192.168.100.15/24 brd 192.168.100.255 scope global dynamic noprefixroute eth0
valid_lft 83870sec preferred_lft 83870sec
inet6 fe80::2d50:6018:8e8f:4b52/64 scope link noprefixroute
valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether c8:3e:a7:13:b5:d0 brd ff:ff:ff:ff:ff:ff
inet 192.168.99.13/24 brd 192.168.99.255 scope global noprefixroute eth1
valid_lft forever preferred_lft forever
inet6 fe80::6ecc:2cb7:1ad2:2d18/64 scope link noprefixroute
valid_lft forever preferred_lft forever
4: pileft: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
link/ether c8:3e:a7:13:b5:d1 brd ff:ff:ff:ff:ff:ff permaddr 8e:53:98:9d:11:f2
5: piright: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
link/ether c8:3e:a7:13:b5:d2 brd ff:ff:ff:ff:ff:ff permaddr 06:9a:4a:c9:a8:81
6: can0: <NOARP,ECHO> mtu 16 qdisc noop state DOWN group default qlen 10
link/can


My RevPi Connect 5 - 8 GB | 32 GB | 1 × RS485 | 1 × CAN FD

Re: RevPi Connect 5 - cannot connevt via VNC

Posted: 22 Aug 2025, 12:07
by MFlat
Hi,

If your RevPi is using the latest Bookworm 08/2025 image, the problem is probably due to the recently introduced firewall security feature. See: viewtopic.php?t=4820
If this is the case, you must enable the VNC port in the firewall (also see viewtopic.php?p=17462#p17462)

Best regards
Michael

Re: RevPi Connect 5 - cannot connevt via VNC

Posted: 22 Aug 2025, 14:38
by cronetko
Thanks, solved the problem.