![]() |
|
|||||||
|
Minimal VirtualBox VRDP Setup - a quick guide |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||||
|
|||||
|
Minimal VirtualBox VRDP Setup - a quick guide
VRDP lets you run a headless server and access the VMs via RDP Minimal VirtualBox This is based on a minimal install of Debian Etch so first off download the Netinst iso – currently at: http://cdimage.debian.org/debian-cd/4.0_r1/i386/iso-cd/ Install base system - when it prompts to add a mirror say no, reboot and login Edit /etc/apt/sources.list to add these lines Code:
deb http://ftp.debian.org/debian etch main contrib deb-src http://ftp.debian.org/debian etch main contrib Code:
apt-get update Install X, WM and Desktop Code:
apt-get install xserver-xorg-core xorg apt-get install gdm apt-get install fluxbox Code:
apt-get install firefox Code:
wget http://www.virtualbox.org/download/1.5.2/virtualbox_1.5.2-25433_Debian_etch_i386.deb Code:
dpkg -i virtualbox_1.5.2-25433_Debian_etch_i386.deb Code:
apt-get install -f Code:
cd /etc/rc4.d/ mv Sxxgdm to Kxxgdm Code:
id:4:initdefault Code:
usermod -G vboxusers [your user] The networking setup will vary depending on what you require - I wanted a seperate network for my VMs but still RDP from my main machine On my Windows box (where I will RDP from and not part of VM network) I set a secondary IP (eg 192.168.111.1) Reconfigure IP on VM box by editing /etc/network/interfaces Code:
# The loopback network interface
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.111.2
netmask 255.255.255.0
broadcast 191.168.111.255
gateway 192.168.111.1
Code:
ifconfig eth0 down ifconfig eth0 192.168.111.2 netmask 255.255.255.0 up route add default gw 192.168.111.1 I'm using ISOs stored on the server for installs purely for ease of use Bung the CD in the drive and do the following: Code:
mount -t iso9660 /dev/cdrom /cdrom dd if=/dev/cdrom of=cd.iso Code:
VBoxManage createvm -name “Your VM” -register VBoxManage modifyvm “Your VM” -memory “128MB” -acpi on -boot1 dvd -nic1 intnet VBoxManage createvdi -filename “VM.vdi” -size 4000 -register VBoxManage modifyvm “Your VM” -hda “VM.vdi” VBoxManage registerimage dvd /full/path/to/iso.iso VBoxManage modifyvm “Your VM” -dvd /full/path/to/iso.iso VBoxManage modifyvm “Your VM” -vrdpport 3390 VBoxVRDP -startvm “Your VM” Hit CTRL + Z and type Code:
bg Code:
fg Code:
kill [PID] If using a Windows machine to RDp from tey this for a better response from RDP - edit the registry HKEY_LOCAL_MACHINE\Software\Microsoft\Terminal Server Client Add a DWORD - Min Send Interval Value - 10 Also you may have issues with the mouse pointer until the guestadditions have been installed Now add a SSH server so you can remotelly issue commands etc... Hope that's of some use to someone Neil Click HERE to make a clicking sound |
![]() |
|
||||||
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| CCDA Quick Reference Sheets: Exam 640-863 (Digital Short Cut) | tripwire45 | Reviews | 0 | 26-Jun-2007 08:22 PM |
| DNS Fault tolerance - setup guide | Modey | Network Infrastructure | 2 | 15-Apr-2007 09:31 AM |
| Windows Vista Security Guide | Mitzs | Security & Viruses | 0 | 05-Feb-2007 03:25 AM |