Re: open port

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux