I am a bit confuse. I tried to follow https://docs.fedoraproject.org/en-US/Fedora/21/html/System_Administrators_Guide/ch-TigerVNC.html On the remote I set: I edited /etc/systemd/system/vncserver@.service ExecStart=/usr/bin/vncserver_wrapper pdupre %i run systemctl start vncserver@:1.service in user: vncserver :1 systemctl start vncserver@:1.service >From Client: nmap -v -n -P0 -p5900-5906 euripide Warning: The -P0 option is deprecated. Please use -Pn Starting Nmap 7.70 ( https://nmap.org ) at 2020-02-16 10:09 CET Initiating Connect Scan at 10:09 Scanning euripide.u-bourgogne.fr (193.52.235.60) [7 ports] Completed Connect Scan at 10:09, 0.05s elapsed (7 total ports) Nmap scan report for euripide.u-bourgogne.fr (193.52.235.60) Host is up (0.047s latency). PORT STATE SERVICE 5900/tcp closed vnc 5901/tcp closed vnc-1 5902/tcp closed vnc-2 5903/tcp closed vnc-3 5904/tcp closed unknown 5905/tcp closed unknown 5906/tcp closed unknown Read data files from: /usr/bin/../share/nmap Nmap done: 1 IP address (1 host up) scanned in 0.08 seconds >From the remote: nmap -v -n -Pn -p5900-5906 localhost Starting Nmap 7.70 ( https://nmap.org ) at 2020-02-16 10:11 CET Initiating Connect Scan at 10:11 Scanning localhost (127.0.0.1) [7 ports] Discovered open port 5901/tcp on 127.0.0.1 Completed Connect Scan at 10:11, 0.00s elapsed (7 total ports) Nmap scan report for localhost (127.0.0.1) Host is up (0.00019s latency). Other addresses for localhost (not scanned): ::1 PORT STATE SERVICE 5900/tcp closed vnc 5901/tcp open vnc-1 5902/tcp closed vnc-2 5903/tcp closed vnc-3 5904/tcp closed unknown 5905/tcp closed unknown 5906/tcp closed unknown Read data files from: /usr/bin/../share/nmap Nmap done: 1 IP address (1 host up) scanned in 0.03 seconds >From client: vncviewer -via pdupre@euripide TigerVNC Viewer 64-bit v1.10.1 Built on: 2020-01-13 09:16 Copyright (C) 1999-2019 TigerVNC Team and many others (see README.rst) See https://www.tigervnc.org for information on TigerVNC. Sun Feb 16 10:15:07 2020 DecodeManager: Detected 4 CPU core(s) DecodeManager: Creating 4 decoder thread(s) CConn: Connected to host localhost port 48821 channel 3: open failed: connect failed: Name or service not known CConn: End of stream > > > > On a server > > nmap -v -n -Pn -p5900-5910 localhost > > provides: > > > > Starting Nmap 7.70 ( https://nmap.org ) at 2020-02-15 15:07 EST > > Initiating SYN Stealth Scan at 15:07 > > Scanning localhost (127.0.0.1) [11 ports] > > Completed SYN Stealth Scan at 15:07, 0.42s elapsed (11 total ports) > > Nmap scan report for localhost (127.0.0.1) > > Host is up (0.000015s latency). > > Other addresses for localhost (not scanned): ::1 > > > > PORT STATE SERVICE > > 5900/tcp closed vnc > > 5901/tcp closed vnc-1 > > 5902/tcp closed vnc-2 > > 5903/tcp closed vnc-3 > > 5904/tcp closed unknown > > 5905/tcp closed unknown > > 5906/tcp closed unknown > > 5907/tcp closed unknown > > 5908/tcp closed unknown > > 5909/tcp closed unknown > > 5910/tcp closed cm > > > > Oh, BTW, that nmap command is operating on the localhost and won't be a good indication of a port's > status to the outside world. > > Example, using the host f31k. > > If I am connected to f31k and issue the command I get > > PORT STATE SERVICE > 5900/tcp closed vnc > 5901/tcp closed vnc-1 > 5902/tcp closed vnc-2 > 5903/tcp closed vnc-3 > 5904/tcp closed unknown > 5905/tcp closed unknown > 5906/tcp closed unknown > 5907/tcp closed unknown > 5908/tcp closed unknown > 5909/tcp closed unknown > 5910/tcp closed cm > > Which ONLY means no service is running and listening on those ports. > > Running from a remote host I get > > PORT STATE SERVICE > 5900/tcp filtered vnc > 5901/tcp filtered vnc-1 > 5902/tcp filtered vnc-2 > 5903/tcp filtered vnc-3 > 5904/tcp filtered unknown > 5905/tcp filtered unknown > 5906/tcp filtered unknown > 5907/tcp filtered unknown > 5908/tcp filtered unknown > 5909/tcp filtered unknown > 5910/tcp filtered cm > > And "filtered" means there is a firewall rule in effect. > > If you were to open the port, the remote system will report "closed" if there is no service running > on the port. > > > > -- > The key to getting good answers is to ask good questions. > _______________________________________________ > 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 > _______________________________________________ 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