Re: vnc

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

 



The ports become open/listening by an application running on them.

If the application is not running and/or dying  when you try to start
it then the ports are closed.

ss -lnp | grep -E 'tcp|udp' will show you what programs are handling
what ports.  If nothing is on a given port (it is not reported) then
there is nothing to answer and the port is closed.

On Wed, Oct 11, 2023 at 5:19 PM Patrick Dupre <pdupre@xxxxxxx> wrote:
>
> Hello,
>
> I am trying to use remmina
>
> nmap -v -n -Pn -p5900-5910 localhost
>
> Starting Nmap 7.93 ( https://nmap.org ) at 2023-10-11 23:58 CEST
> Initiating SYN Stealth Scan at 23:58
> Scanning localhost (127.0.0.1) [11 ports]
> Completed SYN Stealth Scan at 23:58, 0.01s elapsed (11 total ports)
> Nmap scan report for localhost (127.0.0.1)
> Host is up (0.000013s 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 ag-swim
> 5905/tcp closed asmgcs
> 5906/tcp closed rpas-c2
> 5907/tcp closed dsd
> 5908/tcp closed ipsma
> 5909/tcp closed agma
> 5910/tcp closed cm
>
> Read data files from: /usr/bin/../share/nmap
> Nmap done: 1 IP address (1 host up) scanned in 0.04 seconds
>            Raw packets sent: 11 (484B) | Rcvd: 22 (924B)
>
>
> The ports are closed. Should not I open them?
> If yes how?
>
> When I do
>
> vncviewer -via pdupre@themachine :1
> I get
> Thu Oct 12 00:00:02 2023
>  Parameters:  Failed to read line 18 in file
>               /home/pdupre/.vnc/default.tigervnc: Unknown parameter
>  Parameters:  Failed to read line 19 in file
>               /home/pdupre/.vnc/default.tigervnc: Unknown parameter
>  main:        FullScreenAllMonitors is deprecated, set FullScreenMode to 'all'
>               instead
> pdupre@themachine's password:
>
> The connection was dropped by the server beforethe session could be established
>
> nmap -v -n -Pn -p5900-5906 themachine
> Host discovery disabled (-Pn). All addresses will be marked 'up' and scan times may be slower.
> Starting Nmap 7.93 ( https://nmap.org ) at 2023-10-12 00:03 CEST
> Initiating Connect Scan at 00:03
> Scanning themachine (xxx.yyy.ttt.rrr) [7 ports]
> Completed Connect Scan at 00:03, 3.00s elapsed (7 total ports)
> Nmap scan report for themachine ()
> Host is up.
>
> 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 ag-swim
> 5905/tcp closed asmgcs
> 5906/tcp closed rpas-c2
>
> Read data files from: /usr/bin/../share/nmap
> Nmap done: 1 IP address (1 host up) scanned in 0.03 seconds
>
>
>
>
> ===========================================================================
>  Patrick DUPRÉ                                 | | email: pdupre@xxxxxxx
>  Laboratoire interdisciplinaire Carnot de Bourgogne
>  9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
> ===========================================================================
> _______________________________________________
> 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
> Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
_______________________________________________
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
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue



[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