OK, so rdesktop works like a charm!

Here is a little guide to booting your VM using the headless option in 
VirtualBox, then remoting into it with rdesktop.

Prerequisite: You have a virtual machine already created with networking 
working properly. In this example my VM is called "<vmname>" when you execute 
these commands replace this <vmname> with your vm's name. Ex: VBoxManage 
modifyvm OpenSolarisVM -vrdp on

1) Download rdestkop from www.rdestkop.org
2) Install rdesktop by following the README file in the download
2a) To install rdesktop unzip the archive - tar -zxvf rdesktop.1.6.0.tar.gz
2b) cd rdesktop.1.6.0
2c) su (type in root password when prompted)
2d) ./configure
2e) make
2f) make install
3) exit (to exit root login)
4) Next we need to turn on the virtual remote desktop feature on the VM you 
want to remote into: VBoxManage modifyvm <vmname> -vrdp on
5) VBoxManage modifyvm <vmname> -vrdpport default (default is 3389)
6) VBoxManage modifyvm <vmname> -vrdpauthtype null
7) Now start the vm: VBoxHeadless -startvm <vmname> -vrdp=config
8) Now we will connect to the VM using rdesktop: rdesktop -0 -a 16 
127.0.0.1:3389

The -0 option connects us to the console session, the -a option specifies 16 
colors to use in our display.


I hope this helps someone else.


-Nick
-- 
This message posted from opensolaris.org

Reply via email to