Can't connect to Virtual box remote screen on linux Fedora 17 host

1

I get trouble to use virtualbox remote screen on a linux host. I activated server in settings->display->remotedisplay and the port is 33333.

Then on linux I do : $ rdesktop 127.0.0.1:33333 Autoselected keyboard map en-us ERROR: 127.0.0.1: unable to connect

I have read info here http://www.virtualbox.org/manual/ch07.html I tryed various connections addresses and checked netstat, port scanning. Also tryed to start the vm headless. and still can't connect :(

Here is more info, Thanks for your help in advance

$ uname -a Linux rocky 3.6.10-2.fc17.x86_64 #1 SMP Tue Dec 11 18:07:34 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

$ vboxmanage -v 4.2.4_RPMFusionr81684

netstat -t -l -n

Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:58144 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:54690 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN
tcp6 0 0 :::22 :::* LISTEN
tcp6 0 0 :::631 :::* LISTEN
tcp6 0 0 :::111 :::* LISTEN
tcp6 0 0 :::36465 :::* LISTEN

or, with resolving port name

netstat -t -l

Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 *:ssh : LISTEN
tcp 0 0 localhost.localdoma:ipp : LISTEN
tcp 0 0 localhost.localdom:smtp : LISTEN
tcp 0 0 *:58144 : LISTEN
tcp 0 0 *:54690 : LISTEN
tcp 0 0 *:sunrpc : LISTEN
tcp6 0 0 [::]:ssh [::]:* LISTEN
tcp6 0 0 [::]:ipp [::]:* LISTEN
tcp6 0 0 [::]:sunrpc [::]:* LISTEN
tcp6 0 0 [::]:36465 [::]:* LISTEN

user184363

Posted 2013-01-03T22:05:04.783

Reputation: 11

Answers

0

The IP number 127.0.0.1 is ONLY available on the current host you are running. You can connect to yourself using this IP. You cannot externally connect to a different host (virtual or external) using this IP address.

You'll have to find the IP address that was assigned to the virtual host and ssh to that host.

mdpc

Posted 2013-01-03T22:05:04.783

Reputation: 4 176

ok, thanks. my local IP is 192.168.1.10 and I also tryed rdesktop 92.168.1.10:3333 and rdesktop 92.168.1.16:3333 (it is the assigned IP to the virtualhost)

The host computer is my desktop running a windowsXP guest. Thank you – user184363 – 2013-01-03T22:37:07.380

I think this is not relevant. The RDP remote connection is a feature of the VirtualBox host application, not of the guest. The port will definitely be open on the host's IP address(es). @user184363 Could you post the result of netstat -t -l? – billc.cn – 2013-01-03T22:57:40.957

@billc.cn Of course I agree with you, the 33333 port should be openend on the host. I was trying to be sure im not missing anything – user184363 – 2013-01-04T12:35:48.160