Can't connect remotely to vnc

Issues related to applications and software problems and general support
Post Reply
lattimro
Posts: 28
Joined: 2021/06/14 13:38:19

Can't connect remotely to vnc

Post by lattimro » 2021/08/03 12:54:27

Hi All,

how to fix this: I have Xvnc and vino=server up an running and listen to 5900 and 5902 but I can not connect remotely (unable to connect to vnc server). Thanks!

Code: Select all

tcp        0      0 0.0.0.0:5900            0.0.0.0:*               LISTEN      2835/vino-server    
tcp        0      0 0.0.0.0:5902            0.0.0.0:*               LISTEN      2116/Xvnc           
tcp6       0      0 :::5900                 :::*                    LISTEN      2835/vino-server    
tcp6       0      0 :::5902                 :::*                    LISTEN      2116/Xvnc           

User avatar
TrevorH
Site Admin
Posts: 33191
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Can't connect remotely to vnc

Post by TrevorH » 2021/08/03 13:09:54

Did you open the ports in the firewall?
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

lattimro
Posts: 28
Joined: 2021/06/14 13:38:19

Re: Can't connect remotely to vnc

Post by lattimro » 2021/08/03 18:23:27

Thanks Trevor, no I did not open the ports because the firewall was not enable when I tested.

Code: Select all

# firewall-cmd --add-port=5900/tcp
# firewall-cmd --add-port=5900/tcp
# firewall-cmd --add-port=5902/tcp --permanent
# firewall-cmd --add-port=5902/tcp --permanent

Post Reply