#kvm

danie10@squeet.me

Does Your Next Monitor Need a KVM Switch?

Man sitting at desk with his hands on a keyboard and on a mouse. The screen in front of him is an ultra-wide screen which shows a 50-5- split view with a desktop on the left side, whilst the right side shows a game being played on the same monitor.
I never thought about this before, really for a monitor. I’ve heard about them being used as standalone switches, and still think that may be more flexible.

However, if you have one ultra-wide monitor, maybe it would make sense to split that display into two sides, and have a computer working on each side (a bit like having two physical monitors).

The main point of a KVM switch is to improve your productivity by allowing you to use multiple computers with one monitor, mouse, and keyboard. It’s there in the name: KVM stands for “keyboard, video, mouse,” and when a monitor is equipped with a KVM switch, you can easily swap between multiple devices utilizing it.

Where I certainly can use a KVM switch is for the times I just want to connect my Macbook Air, or maybe even my Samsung Dex on my phone, to one of my monitors. The reason is right now when I connect a different device to one of my monitors, the OS recognises the monitor as disconnected, and it rearranges my desktop. If a KVM switch can make that operation a bit slicker and smoother, it could be useful.

I’ll certainly not be rushing out though to go buy a monitor just to get a KVM switch. I’d really only think about this when buying another monitor, and I’d also need to consider whether I’ll just replace one of my three monitors, or buy an expensive ultra-wide monitor with a KVM switch. Really decisions only for a future time, I hope.

I’ve only previously looked at KVM switches for remote management of a computer, but I’m thinking it is time to get to know more about just how KVM switches can be used.

See https://lifehacker.com/tech/your-next-monitor-needs-a-kvm-switch
#Blog, #KVM, #KVMswitch, #monitors, #technology

canoodle@nerdpol.ch

GNU Linux - how to migrate vm from virtualbox to kvm qemu - convert virtualbox vdi disk image to kvm qcow2 format

# if the user wants to be converted from VirtualBox to kvm # 1. first clone the VirtualBox vm into a new vm (to consolidate all snapshots into one vdi # 2. convert file format qemu-img convert -f vdi -O qcow2 virtualbox.vm.vdi[...]

#linux #gnu #gnulinux #opensource #administration #sysops #kvm #virtualization #qemu #gnu-linux

Originally posted at: https://dwaves.de/2022/03/02/gnu-linux-how-to-migrate-vm-from-virtualbox-to-kvm-qemu-convert-virtualbox-vdi-disk-image-to-kvm-qcow2-format/

danie10@squeet.me

PiKVM is a more community based, and fuller featured, remote Keyboard-Video-Mouse (KVM) over IP management solution

Bild/Foto
I featured TinyPilot a few days back which is open source, but they exclude the remote USB mount from their open source version, and their focus is more towards a subscription model. It will however do what most folks probably want, and it’s big plus for the purchased hardware is its pure plug-and-play approach.

PiKVM on the other hand is fully open sourced (so all the functionality is available) with an added benefit that it can also (with some hardware interfacing) monitor the hardware LEDs and manage the ATX power of the remote device. It has more flexibility in working with versions of the Pi prior to v4, and can also work in read-only mode with the Pi’s SD card, to help preserve it’s life. PiKVM is at https://github.com/pikvm/pikvm.

The video does a good job of highlighting some of the differences between the two KVMs and also explains why you’d want to use a KVM in the first place for remote devices.

See https://youtu.be/TIrkEr2AeDY

#technology #opensource #KVM #PiKVM #raspberrypi
#Blog, ##kvm, ##opensource, ##pikvm, ##raspberrypi, ##technology

canoodle@nerdpol.ch

GNU Linux Debian 11 - Gnome Boxes - an Open Source VirtualBox replacement?

In search for alternatives, decided to test drive “gnome boxes“, which is said, to be an easy-going gui for the libvirt qemu virtualization system.

<span style="color: #00ffff;">lsb_release -d</span>; # tested on
Description:    Debian GNU/Linux 11 (bullseye)

<span style="color: #00ffff;">su - root
apt update
</span># with MATE Desktop (Gnome2) it's actually only 175MBytes that needs to be downloaded<span style="color: #00ffff;">
apt install gnome-boxes
apt show gnome-boxes</span>
Package: gnome-boxes
Version: 3.38.2-1
Priority: optional
Section: gnome
Maintainer: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>
Installed-Size: 7,140 kB
Depends: genisoimage, libosinfo-bin, libvirt-daemon, tracker (>= 2.0), dconf-gsettings-backend | gsettings-backend, libarchive13 (>= 3.1.2), libc6 (>= 2.7), libcairo2 (>= 1.6.0), libfreerdp2-2 (>= 2.0.0~git20160317.1.75ae3f5+dfsg1), libgdk-pixbuf-2.0-0 (>= 2.25.2) | libgdk-pixbuf2.0-0 (>= 2.25.2), libglib2.0-0 (>= 2.52.0), libgtk-3-0 (>= 3.22.20), libgtk-vnc-2.0-0 (>= 0.5.1), libgtksourceview-4-0 (>= 2.91.4), libgudev-1.0-0 (>= 165), libhandy-0.0-0 (>= 0.0.11), libosinfo-1.0-0 (>= 1.4.0~), libpango-1.0-0 (>= 1.14.0), libsecret-1-0 (>= 0.7), libsoup2.4-1 (>= 2.44), libspice-client-glib-2.0-8 (>= 0.35), libspice-client-gtk-3.0-5 (>= 0.32), libtracker-sparql-2.0-0 (>= 0.10.0), libusb-1.0-0 (>= 2:1.0.8), libvirt-glib-1.0-0 (>= 3.0.0), libvte-2.91-0 (>= 0.40.2), libwebkit2gtk-4.0-37 (>= 2.26), libwinpr2-2 (>= 2.0.0~git20160317.1.75ae3f5+dfsg1), libxml2 (>= 2.7.8)
Recommends: qemu-system-x86
Breaks: libspice-server1 (<< 0.12.5-1.1~)
Homepage: <a href="https://wiki.gnome.org/Apps/Boxes">https://wiki.gnome.org/Apps/Boxes</a>
Tag: admin::virtualization, hardware::emulation, implemented-in::python,
 implemented-in::vala, interface::graphical, interface::x11,
 role::program, scope::application, suite::gnome, suite::openstack,
 system::cloud, system::virtual, uitoolkit::gtk, use::simulating,
 use::viewing, x11::application
Download-Size: 1,085 kB
APT-Manual-Installed: yes
APT-Sources: <a href="http://ftp.halifax.rwth-aachen.de/debian">http://ftp.halifax.rwth-aachen.de/debian</a> bullseye/main amd64 Packages
Description: Simple GNOME app to access remote or virtual systems

 GNOME Boxes is a desktop client to view or use local virtual machines,

 remote physical machines, or remote virtual machines.

Boxes is intentionally simple and easy to use.

Hardware virtualization is required to use local virtual machines.

as minimalistic as the description is the gui:

indeed nothing against a bit of gui minimalism…

kvm is developed by Redhat… that’s why it is right there on top… but there is more for “easy” or “instant” install…

would have been nice, if the disk size can be directly entered in numbers as well…

also a checkbox for “thin provisioning” would have been nice

but it definately works

the vm properties tab, might be a bit too minimalistic… when changing vm settings afterwards, the user will have to rely on the user’s xml editing skillz ;-p

this isa nicely done overview screen… showing real time thumbnails of the all vm’s current desktop…

when almost finished installing Debian 11… gnome boxes skips the “where to install grub” screen and reports “debian 11 is ready to use”

but it won’t boot X-D

just in case if the cursor is “stuck” it can be released by hitting Ctrl+Alt

the gui minimalism is a nice try, but gnome-boxes got some quality issues there, not ready for use with Debian, not ready to replace redhat’s kvm’s excellent virtmanager, which works flawless under GNU Linux Debian and has way more settings to modify vms

https://dwaves.de/2020/12/05/gnu-linux-debian-10-how-to-install-kvm-virtualization-qemu-basic-virsh-commands-kvm-cheat-sheed/

#linux #gnu #gnulinux #opensource #administration #sysops #gnome #boxes #virtualbox #kvm #virtual #vm #virtualization #qemu

Originally posted at: https://dwaves.de/2022/05/10/gnu-linux-debian-11-gnome-boxes-an-open-source-virtualbox-replacement/

canoodle@nerdpol.ch

KVM - easy Network card NIC PCI pass through with virt-manager

with virt-manager, it is a breeze to select the PCI device (in this case enp3s0 NIC) for pass through to guest vm, in case the vm shall get it’s very own dedicated nic:

notice: the passed NIC dissapears from the ip -c a list of NICs on the server

https://serverfault.com/questions/446658/assign-individual-nic-to-kvm-guest

#linux #gnu #gnulinux #opensource #administration #sysops #kvm #nic #networking

Originally posted at: https://dwaves.de/2022/01/09/kvm-easy-network-card-nic-pci-pass-through-with-virt-manager/