View Single Post
  #1   (View Single Post)  
Old 6th February 2024
hd77 hd77 is offline
Shell Scout
 
Join Date: Jan 2022
Posts: 121
Default can't connect to openbsd through standard VNC : connection refused

hello

i tried to :
install tigervnc
launch vncserver from the users'ssh remotely
i added a password

then in root:
/etc/pf.conf
Quote:
block return out log proto {tcp udp} user _pbuild
pass in on egress proto udp from any to port 5900
pass in proto tcp from any to athn0 port 5900
pass in proto udp from any to athn0 port 5900
pass in on egress proto tcp from any to any port 5900
pass in on egress proto udp from any to any port 5900
restart by :
pfctl -f /etc/pf.conf


then, on the vnc client, to connect :
lanip:5900

with serveal pc on the same lan (everything is on lan, nothing uses internet), everytime the vnc client fails :
ConnectToTcpAddr[ipv4]: connect: Connection refused
Trying ipv6 connection to '192.168.1.53'
ConnectToTcpAddr[ipv6]: trying ip-addr: '192.168.1.53'
ConnectToTcpAddr[ipv6]: connect: Connection refused
Unable to connect to VNC server (192.168.1.53:5900)
vncviewer command failed: 0

i tried to look at :
https://daemonforums.org/showthread.php?t=2449
https://daemonforums.org/showthread.php?t=11837
https://daemonforums.org/showthread.php?t=12505

without solution

even in fe80:: .. i just dont understand
Reply With Quote