VirtualMachine

From ZENotes
Revision as of 23:59, 14 October 2011 by Admin (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

http://linux-tips.org/article/74/enabling-remote-desktop-on-a-virtualbox-machine

Enabling remote desktop on a VirtualBox Machine

To enable remote desktop on a VirtualBox machine, you have to follow these steps:

VBoxManage modifyvm YourMachineName -vrdp on 

This command enables rdp on the virtual machine

VBoxManage startvm YourMachineName -type vrdp

It starts virtual machine... virtually! you won't see it on your server. The VM will listen for rdp request on port 3389 (default port) Connect from your linux client with:

rdesktop-vrdp localhost 

That will connect your virtual machine with rdp (if you use rdesktop that is).

If you want to change the rdp port, use this command:

VBoxManage modifyvm MachineName -vrdpport <port>

(Don't forget to punch the necessary holes in your server's firewall)

Also, enabling authentication for rdp is possible:

VBoxManage modifyvm MachineName -vrdpauthtype null | external | guest


VBoxManage is the command line interface of the VirtualBox software from SUN.


You can make these settings with the GUI in your VirtualBox manager:

Settings -> Remote Display -> Enable VRDP Server

If you want to use your virtual machine with vrdp only, you can use this command simply:

VBoxHeadless -startvm MachineName

Note: RDP server is not included in Open Source Edition of the VirtualBox. If you want to use this feature, you have to use closed-source edition.

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox