Multiple users access our kernel-based virtual machine
Kernel-based Virtual Machine (KVM) is a full virtualization solution for Linux on x86 hardware containing virtualization extensions (Intel VT or AMD-V).
It comes with a loadable kernel module, kvm.ko, which provides the core virtualization infrastructure and a processor-specific module, kvm-intel.ko or kvm-amd.ko.
Using KVM, one can run multiple virtual machines running unmodified Linux or Windows images.
Each virtual machine can have its own private virtualized hardware: a network card, disk, graphics adapter,
Multiple users access our kernel-based virtual machine
You can do that easily by letting users ssh into a screen session.
First of all you have to install the screen package:
On RedHat
# yum install screen
On Debian/Ubuntu:
$ sudo apt-get install screen
If you want to all have the same screen session then please include this in the .bashrc file:
if [ ps auxw|grep [s]creen > /dev/null ]; then
screen
else
screen -x
fi
However, if screen is not running, it will spawn a new screen session. If it’s running already then it will have new user join the screen session.
Here if you want to get their own screen session then write a custom script to spawn screen with X number of session. Then auto join new person(s) to n+1 screen.
Thank You !!!