remote desktop

Peter Garrett peter.garrett at optusnet.com.au
Mon Nov 27 19:34:09 UTC 2006


On Mon, 27 Nov 2006 14:09:48 -0500
"beinan li" <li.beinan at gmail.com> wrote:

> I never configured firewall on my Dapper. Is it on by default?

No, there is no firewalling by default. You can check this with
$ sudo iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

(That output tells you everything is set to "ACCEPT" )

If you are using a router you might have to port-forward - assuming you
are connecting from outside the LAN.

Have you read the documentation I linked carefully?

Also check if the server is running on the Ubuntu box:
$ ps aux | grep vino

should show a line like

peter     7892  8.3  1.2  17024  6224 ?        S    06:22
0:01 /usr/lib/vino/vino-server
--oaf-activate-iid=OAFIID:GNOME_RemoteDesktopServer --oaf-ior-fd=45

or

$ pidof vino-server
7892

That should show a number as above.
Also worth a try:

$ sudo netstat -nlp | grep vino

tcp        0      0 0.0.0.0:5900            0.0.0.0:*
LISTEN     7892/vino-server unix  2      [ ACC ]     STREAM
LISTENING     64798
7892/vino-server    /tmp/orbit-peter/linc-1ed4-0-7e29fe2dc06d

As you see, it is listening on port 5900 . This is after checking the
relevant boxes in System-Preferences-Remote Desktop 

Peter









More information about the ubuntu-users mailing list