How to use other hypervisors in CollabVM 1.2
|This page references older versions of CollabVM and its server, therefore, (some parts, or the entirety of) the information is irrelevant to the current version of the software.|
THIS METHOD IS UNSUPPORTED AND NO HELP WILL BE GIVEN IF YOU HAVE ANY PROBLEMS. YOU HAVE BEEN WARNED!
In CollabVM version 1.2.x and below, it is possible to run other hypervisors or even connect to a physical machine that is not running QEMU. This comes with a several limitations.
- Vote for Resets and File Uploads are not possible in this mode.
- The collab-vm-server becomes a lot more unstable and can crash more frequently.
- If the VNC connection dies, it will need to be restarted manually.
How to do it:
- Create a text document somewhere with the name "run.sh" (if using Windows, run.bat), or whatever you prefer.
- In the text document, add the following command:
qemu-system-i386 -m 4 -no-shutdown -qmp unix:/tmp/collab-vm-qmp-customvm,server -vnc 127.0.0.1:5
"C:\Program Files\qemu\qemu-system-i386.exe" -m 4 -no-shutdown -qmp tcp::5800,server,nodelay -vnc 127.0.0.1:5
- Replace "customvm" with whatever you set the "URL Name". For example, if you set the URL name to "vm1", then you would change the qmp command to "collab-vm-qmp-vm1,server".
- Make sure it is allowed to execute by running chmod +x run.sh.
- Start collab-vm-server.
- Make a VM like normal, but change the "VNC Address" to your desired VNC server. You can even hook it up to another IP outside of the localhost. This does not work if the VNC has a password so make sure it does not have a password.
- In the startup command, insert the location of your .sh file, e.g. if it is in your home, you could do ~/run.sh.
- Save the VM. Make sure Vote Resets and File Uploads are disabled.
- Start the VM.
If everything went well, you should have successfully connected. Most things will work in this - turns, homepage screenshots etc will work. Again, this is an unsupported method and we are not responsible for any instability it might cause. In CollabVM Server 2.0, you have raw access to the Guacamole parameters, so you can connect to any VNC server using it, and also passworded VNCs.