Categories
Ubuntu Virtualisation

Thinlinc on Ubuntu 16.04

Ubuntu 16.04 Xenial is not yet officially supported by Thinlinc 4.6. However, with just some additional dependencies, it is working.

Additional packages needed:
apt-get install lsb-core python python2 python-gtk2 python-apt

Check if /var/lib/lsb exists. If not, create this directory as root.

Install Thinlinc as usual.

To have MATE as desktop environment available, use the following meta package:
apt-get install mate-desktop

In my scenario, I use a single Master server built from a freshly installed Xenial Desktop (Unity), let Unity greeter still exist and have Mate as additional Desktop to choose. Like this, my VDI is accessible on small bandwith connections and with a Raspberry Pi 2 as Thin Client using RPiTC.

Categories
Geeky Virtualisation

Move a KVM VirtualMachines LVM Volume to another Server

On the target Server, open Firewall for netcat port:

iptables -A ext-in-allow -p tcp -s 1.2.1.2 --dport 19000:19000 -j ACCEPT

Start nc on the target server to read on the port above:

nc -l 19000|dd bs=16M of=/dev/mapper/myTargetLVMDisk

On the source server, dump LV with nc to the target server:

dd bs=16M if=/dev/mapper/sourceLV | nc targetserver 19000

Only for Windows Guests, be sure the disk controller is using IDE instead of VirtIO:

      <target dev='hda' bus='ide'/>
      <address type='drive' controller='0' bus='0' unit='0'/>
Categories
Ubuntu Virtualisation

ubuntu-vm-builder and Tasksel tasks

To add tasksel tasks while using ubuntu-vm-builder, just add a ^ at the end of the tasksel task while using the option –addpkg. E.g.

ubuntu-vm-builder kvm precise --addpkg lamp-server^

Categories
Virtualisation

KVM Packet List Ubuntu

As a shortcut and extended brain for me, here is the packet list to install KVM on a Ubuntu Server:

  • apt-get install qemu-kvm libvirt-bin virtinst

Tools for the graphical management console:

  • apt-get install virt-managervirt-viewer