3

I'm trying to share my desktop with the integrated tool Desktop Sharing
Is there ports to forward on the router, and which ones ?

2 Answers 2

5

On Ubuntu 11.10, I turned on the 'Desktop Sharing' application that comes with the OS and found that these ports are opened on my computer:

5800/tcp open  vnc-http
5900/tcp open  vnc

They seem to be just the VNC ports.

If you want to verify this for yourself, download this tool from the repository called nmap:

sudo apt-get install nmap

When you install that and have the 'Desktop Sharing' on, run this command in your terminal:

sudo nmap localhost

By default, this will show you all the TCP based ports that are opened. If you don't see any ports open, you might want to look at your local firewall by doing the following command:

sudo iptables -L --line-numbers

This will only list what rules are currently being used on your system.

I hope this gets you on the right track.

0

This is drawing on my memory from about 10 years ago so may be wrong? I seem to recall it's port 22.

1

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .