Page 1 of 1
issues connecting with remote (headless) server?
Posted: 11. Sep 2016, 19:59
by pattimichelle
Dear VirtualBox Users: I installed a Linux (opensuse13.1x64) guest under a Leap42.1 host - and all seems well, but I can't seem to log in remotely. I'm using linux and krpc or rdesktop to attempt to connect remotely when the guest is running in either headless or standard mode. (I enabled remote connection functionality in the GUI setup for the guest.) I gave rdesktop or krpc the IP address (on my LAN) of the host machine, but can't seem to connect to the guest - and eventually get a connection error. Tried shutting down firewall on host machine - no difference.
Can anyone point me where I'm doing something wrong?
Thank You Very Much,
Patricia
Re: issues connecting with remote (headless) server?
Posted: 11. Sep 2016, 20:07
by Perryg
Post the guests log file ( as an attachment ). Right click on the guest in the Main Manager then click show log. Save and post as an attachment. Compress if it is too large to post.
As well as the following:
From the hosts terminal type VBoxManage showvminfo <VM Name> --details and post here. Replace <VM Name> with the actual name of the VM. Use " " if the name has a space in it.
Re: issues connecting with remote (headless) server?
Posted: 11. Sep 2016, 20:39
by pattimichelle
Thanks, Perry - let me fire things up... (followed the online tutorial and thought I got it right...)
EDIT: I compressed both files into a single .tar.gz file.
Re: issues connecting with remote (headless) server?
Posted: 13. Sep 2016, 19:00
by JSA
Did you ever get this solved?
I wasn't able to, and finally just installed tightvnc in the guest. That worked from anywhere, but I also had to go to the Guest setting/ netowrk / Advanced / port forwarding, and set up forwarding for the VNC daemon running in the guest.
In my opinion, VNC has better security than rdp anyway, and you can use KRDC to access the Guest from anywhere you can see the host.
Re: issues connecting with remote (headless) server?
Posted: 13. Sep 2016, 22:34
by pattimichelle
No, nobody ever got back to me after I uploaded the files. VB has been around a long time, so I had assumed they'd gotten such bugs out of it.
Re: issues connecting with remote (headless) server?
Posted: 13. Sep 2016, 23:00
by Perryg
pattimichelle wrote:No, nobody ever got back to me after I uploaded the files. VB has been around a long time, so I had assumed they'd gotten such bugs out of it.
Sorry I did not see you had replied and it slipped past my notification script because I had a mother board failure. I have looked at your data and need to know exactly the IP and port you are using to try to access the guest via vRDP.
Re: issues connecting with remote (headless) server?
Posted: 14. Sep 2016, 02:36
by pattimichelle
Hi Perry - thank you for the reply. I tell the remote rdp to contact 198.162.1.138:3389. I know this is the host IP of the headless VBox guest machine, but that seems to be what the docs were saying to use. This is all on an internal LAN hosted by a Tomato router.
https://www.virtualbox.org/manual/ch07.html
Re: issues connecting with remote (headless) server?
Posted: 14. Sep 2016, 03:01
by Perryg
I see 00:02:25.275983 NAT: DHCP offered IP address 10.9.12.35 for the guest IP in the logs. This is not the default address and I wonder if you changed it for some reason. It should be 10.0.2.10
I need you to post the following from the hosts terminal.
- ifconfig -a
VBoxManage list natnets
VBoxManage list dhcpservers
Also just to be clear you are trying to reach this from the host or hosts LAN and not the Internet, right?
One last thing, since these are both Opensuse are you sure that the ports are actually open?
Re: issues connecting with remote (headless) server?
Posted: 14. Sep 2016, 03:40
by pattimichelle
It looks like it was the ports - the docs didn't mention authentication modes in the walk-thru (null, external, guest).
Opensuse seems to be a "special case" in linux often. Why is that? What is different (about ports/firewall) for opensuse?
Re: issues connecting with remote (headless) server?
Posted: 14. Sep 2016, 04:13
by Perryg
I don't use suse enough to be able to tell you that, just that I remembered that it had to be dealt with.