this post was submitted on 21 Aug 2024
38 points (97.5% liked)

Linux

48287 readers
636 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

I'd like some recommendations as a beginner in the virtualization space for good GUI software for running vms for both experimentation and server use.

I've used virtualbox on Windows before but are there any better alternatives on Linux? I hear a lot of praise of QEMU but this seems to be only terminal based like what you do with containers.

VMware workstation is free but again, I'd like to know your thoughts on other good beginner options.

Thank you advance and have a good day/afternoon/night

top 41 comments
sorted by: hot top controversial new old
[–] Andromxda@lemmy.dbzer0.com 47 points 3 months ago (1 children)

Virtual Machine Manager is a great GUI frontend for KVM/libvirt and QEMU, and basically the gold standard for VM management on Linux

[–] wildbus8979@sh.itjust.works 7 points 3 months ago

Cool thing is it also supports management through ssh, so you can use it as a server orchestrator if your needs don't require something more involved like proxmox

[–] boredsquirrel@slrpnk.net 21 points 3 months ago

Virt-manager

[–] krolden@lemmy.ml 19 points 3 months ago
[–] schizo@forum.uncomfortable.business 13 points 3 months ago (1 children)

I'm going to be greybeard: you should totally use kvm/qemu, and virt-manager is great for that.

Buuuuuuut, you should also absolutely learn how to use virsh to at least manage (start/stop/delete/deploy) them, because that tooling is guaranteed to exist basically anywhere and fancy gui stuff might not, or your system might be broken in a way preventing you from running a gui app, or whatever.

I promise, the hardest thing in virsh is setting up a bridged network if you need that and the rest of it is waaay simpler than dealing with a gui for deployment.

[–] possiblylinux127@lemmy.zip -1 points 3 months ago (1 children)

You don't need virsh at all. Virtual manager will work just fine.

[–] krolden@lemmy.ml 1 points 3 months ago (1 children)

You dont need a computer either

[–] possiblylinux127@lemmy.zip 1 points 3 months ago* (last edited 3 months ago) (1 children)

Yes you do

You need a computer with at least a few cores and some ram. Ideally it should support virtual acceleration

[–] krolden@lemmy.ml 1 points 3 months ago (1 children)
[–] possiblylinux127@lemmy.zip 1 points 3 months ago

Not advisable as most machines aren't rated for that environment. Also even it is it will be a pain to fine especially if there is mud.

[–] HouseWolf@lemm.ee 12 points 3 months ago (1 children)

Gnome Boxes has worked pretty well for me.

[–] possiblylinux127@lemmy.zip 4 points 3 months ago (1 children)

It hides to many options. I just want to create a VM with only 4 cores

[–] HouseWolf@lemm.ee 3 points 3 months ago

You can change the core count AFTER making the VM which I agree is really annoying.

Besides that everything else has worked more reliably than others options I've tried.

[–] ashley@lemmy.ca 12 points 3 months ago (2 children)

For desktop: virt-manager, server: cockpit with the vm plugin.

[–] possiblylinux127@lemmy.zip 6 points 3 months ago

Also Proxmox

[–] boredsquirrel@slrpnk.net 3 points 3 months ago

Gotta try cockpit with the VM! It pulls in a tooon of dependencies, but may be worth it.

[–] als@lemmy.blahaj.zone 9 points 3 months ago

I've not used it much but I'm pretty sure GNOME Boxes can be used as a UI for QEMU, KVM, and libvirt .

[–] NeoNachtwaechter@lemmy.world 7 points 3 months ago (1 children)

I am a huge fan of proxmox, since I first tried it out.

It does a little bit more than just VM's.

On my home server, I have the proxmox distro running as the only service on bare metal, and then all other work is done in the VM's.

[–] possiblylinux127@lemmy.zip 2 points 3 months ago

That's KVM and libvirt which works on any Linux box

[–] jrgd@lemm.ee 6 points 3 months ago

Alongside many others, I agree that using QEMU through GUI frontends like virt-manager or GNOME Boxes, or even server-focused solutions like Cockpit+VM plugin or Proxmox layered on top of your installation.

I just want to note a decent point against other solutions like VirtualBox or the VMWare products that work on Linux: these solutions that don't rely on QEMU almost certainly need the user to install out-of-tree kernel modules (that in some cases may also be proprietary). QEMU and its frontends don't need out-of-tree modules in a majority of distros and can work out of the box with all features (given BIOS configuration of the host and hardware supports them).

[–] kneebiter@lemmy.sdf.org 6 points 3 months ago (1 children)

Proxmox, the free version does everything you want, VM's and containers.

[–] LeFantome@programming.dev 2 points 3 months ago (2 children)

Not really a desktop option like VirtualBox though.

[–] NeoNachtwaechter@lemmy.world 2 points 3 months ago* (last edited 3 months ago)

That's not true.

Proxmox comes as a full distro and most people probably use it that way, but you can also install it on your normal linux and then use it in the same way as you would use VMware workstation or virtualbox etc.

[–] krolden@lemmy.ml 0 points 3 months ago* (last edited 3 months ago)

Its Debian so you can just install any desktop you want

Also virtual box is pointless garbage especially if you're using Linux

[–] LeFantome@programming.dev 5 points 3 months ago

If you use GNOME, try Boxes.

[–] 0x0@programming.dev 5 points 3 months ago (1 children)

You can use VirtualBox on linux as well, not bad for beginners.

[–] possiblylinux127@lemmy.zip 3 points 3 months ago (1 children)

I wouldn't go that route in 2024

[–] LeFantome@programming.dev 1 points 3 months ago (1 children)

I have been using VirtualBox modified to use KVM as its backend. It has been great on my 2013 MacBook Air.

[–] krolden@lemmy.ml 0 points 3 months ago
[–] avidamoeba@lemmy.ca 4 points 3 months ago (2 children)

VMware Player is the best by far in terms of GUI and ease of use. With that said:

  • It breaks once in a while due to kernel module / kernel mismatches that sometimes require manual patching. This is rare but it happens once every couple of years
  • It may become paid given Broadcom's corporate history

Virt-manager is pretty decent and it will not break on a stable distro but:

  • Some of it workflows are far from intuitive
  • Virtualization via virt-manager (really KVM) doesn't currently have any 3D acceleration for Windows VMs
  • Windows driver/guest tools installation and integration isn't nearly as trivial as it is with VMware

Personally, I'd try using virt-manager because it will work "forever." If you can't get something to work and feel overwhelmed, go to VMware for now but long term you'll likely have to get used to virt-manager.

[–] possiblylinux127@lemmy.zip 8 points 3 months ago (1 children)

I would avoid VMware with a ten foot pole. Also I personally think virtual manager is easier to use.

[–] avidamoeba@lemmy.ca 1 points 3 months ago* (last edited 3 months ago) (1 children)

It objectively takes fewer mouse clicks and keyboard keystrokes to install a Windows VM with drivers and full integration (3D, shared folders, etc.) on VMware Player than virt-manager. I could count them for you but I have better things to do. Setting up an equivalent VM with virt-manager is significantly more work. Just a trivial example - getting the VirtIO drivers. On virt-manager you have to search the web, find multiple sources, figure out which to use, figure out which version to download, download it. On VMware, you click the top menu, then Install VM tools, the end. With that said I'm not complaining, because I don't have the time to write the patches needed for virt-manager to work the same, but the difference is there.

[–] possiblylinux127@lemmy.zip 1 points 3 months ago (1 children)
[–] avidamoeba@lemmy.ca 1 points 3 months ago

Are you sure? Cause KVM's doc lists two: https://www.linux-kvm.org/page/WindowsGuestDrivers/Download_Drivers and the first one ain't Fedora. The language used doesn't suggest that one is a canonical source either. Now imagine that I'm a noob or otherwise using KVM for the first time. I have to figure out what the difference is and which one to get because I don't want to make a mistake and end up with a broken install. Mind you I have ended up with bad graphics depending on which driver and what version I've installed.

[–] krolden@lemmy.ml -2 points 3 months ago

Stop suggesting people use vmware

[–] possiblylinux127@lemmy.zip 4 points 3 months ago

Virtual manager and maybe gnome boxes. I don't like gnome boxes as it hides a lot of settings but has poor defaults.

[–] qaz@lemmy.world 2 points 3 months ago (2 children)

I tried virt-manager, but I still prefer Virtualbox myself

[–] the_crotch@sh.itjust.works 1 points 3 months ago

Literally just an opinion and people are down voting you for it

[–] krolden@lemmy.ml 1 points 3 months ago
[–] data1701d@startrek.website 2 points 3 months ago

I'm a Virt Manager guy, personally. The only thing is 3D acceleration is usually hard if not impossible in some cases without GPU passthrough. (Unless I'm wrong. I'd like to be wrong.)

[–] BaumGeist@lemmy.ml 2 points 3 months ago

I use virt-manager. Works better than virtualbox did at the time (back while v6.1 was still the main release branch), it's easier, and it doesn't involve hitching yourself to Oracle.

VMWare may be "free," but it ain't free. And if you don't care about software freedom, why choose Linux over Windows or MacOS? Also, Workstation Player lacks a lot of functionality that makes it not good as a hypervisor. Only one VM can be powered at a time, and all the configuration is severely limited. Plus the documentation is mediocre compared to the official virt-manager docs.