Hi

On Sun, 16 Feb 2020 01:33:56 -0800 Samuel Sieb wrote:

> On 2/16/20 1:20 AM, Patrick Dupre wrote:
>> nmap -v -n -Pn -p5900-5906 localhost
>> PORT     STATE  SERVICE
>> 5900/tcp closed vnc
>> 5901/tcp open   vnc-1
...

> Now you have it running, so the next step is to figure out how to ask 
> firewalld to allow connections to that port.

I would first verify that Xvnc is not only listening on localhost.

Two ways, From euripide (the "remote", ie: the server)

  1. nmap
  
       nmap -v -n -Pn -p5900-5906 euripide

  2. or lsof

       lsof -p $(pidof Xvnc) | grep LISTEN

     Should give something like

        Xvnc <snip> TCP *:5901 (LISTEN)

     and not:

        Xvnc <snip> TCP localhost:5901 (LISTEN)

You can also check the arguments given to Xvnc by vncserver:

    ps -wp $(pidof Xvnc)

PS: If you have SSH access, I suggest to restrict Xvnc to localhost
    and use:

        vncviewer -via euripide :1

    See the comments in vncserver@.service

-- 
francis
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org

Reply via email to