We have a bunch of computers in our school, which are used by many students and some of them are really having fun in messing around with the system.
However it's not possible to restrict access to them since they need admin privileges on Windows for their projects. So currently the anual procedure for our Administrators is to reinstall the whole system to get rid of any nasty things.
I'm looking out for a solution to run those Windows Systems within a VM on an underlying Linux. Students should be able to pick one of a few VMs from a list during boot (preferably in Grub). Additionally there should be one boot option to get into the Linux system with an ordinary GUI to do administration things (it's just easier with a GUI).
The boot option list would look like this:
- C++ Programming (Windows XP)
- Robotics (Windows 7)
- Boot Linux with GUI
My idea is to use Ubuntu with KVM, because it's pretty easy to maintain and there's a GUI to configure new VMs (our administrators aren't that much into Linux).
Every entry should start linux with X server and maybe a lightweight window manager, but without a desktop environment (students shouldn't be able get into the host system). After the host system is up the VM should load in fullscreen. This could be done by executing a shell script after the system is completely powered up. Is it possible to tell the system via Grub to execute an individual script after the system started? Once the VM is shut down the underlying host system should also shutdown.