VBoxHeadless - Running Virtual Machines With VirtualBox 4.2 On A Headless OpenSUSE 12.2 Server - Page 2

Want to support HowtoForge? Become a subscriber!
 
Submitted by falko (Contact Author) (Forums) on Sun, 2012-09-23 20:00. ::

4 Connecting To A VM From A Remote Desktop

4.1 Windows XP

You can use the built-in Remote Desktop Connection utility to connect to the VM:

Type in the hostname or IP address of the host (not the guest!):

And voilà, you should be connected to the VM:

 

4.2 Linux

On Linux desktops, you can use the rdesktop command to connect to the VM. Open a terminal and type in the following command:

rdesktop -a 16 192.168.0.100

(192.168.0.100 is the host IP address, not the one of the guest - replace it with your own IP address or hostname; -a 16 means 16 bit colour depth.)

You should now be connected to the VM.

On Ubuntu 12.04 desktops, you can use the Remmina Remote Desktop Client to connect to the VM. Just search for remote desktop and then double-click the Remmina Remote Desktop Client icon:

In the Remmina Remote Desktop Client, click on the plus icon to add a new remote desktop connection:

In the Remote Desktop Preference window, fill in a name for the profile (like Ubuntu 12.04 Server), make sure that RDP is selected as the protocol (it should be selected by default), then fill in the host IP address - not the IP of the VirtualBox guest! - in the Server field, and select a higher Color depth than the default of 8bpp - 16bpp is ok. Then click on Connect:

And voilà, you should be connected to the VM:

 

4.3 If The Remote Desktop Connection Doesn't Work...

If the remote desktop connection doesn't work, you've probably missed the step where I install the VirtualBox extension pack in chapter 2. Please install the extension pack now, stop your virtual machine (see chapter 3.3), and modify your virtual machine to accept remote desktop connections:

VBoxManage modifyvm "Ubuntu 12.04 Server" --vrde on

(If the extension pack is already installed when you create your virtual machine, remote desktop connections are automatically enabled.)

Then start your virtual machine again.

 

5 Links


Please do not use the comment function to ask for help! If you need help, please use our forum.
Comments will be published after administrator approval.
Submitted by mali44 (not registered) on Wed, 2013-01-02 13:12.

thank you for this amazing 'tuto'

and bonne année.