this post was submitted on 27 Apr 2024
33 points (97.1% liked)

Linux

48212 readers
688 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've been using VMware Player (free version) for a while now and it's been working fine. Recently I switched to Wayland and VMware's grab input behavior broke. The guest gets most keys correctly but Alt and Super are intercepted by the host. Clicking on the vm also gives me a remote desktop popup on the host prompting to allow remote interaction which gives some weird results both on the host and guest. Apparently this is a known issue with gnome(?) and the only workaround is to add Super to any shortcut (eg. Super+Alt+Tab) but this obviously doesn't work for all shortcuts.

I'm using Gnome on Fedora and Ubuntu and they seem to have the same behavior (but no remote desktop popup on Ubuntu). Both work fine on X11. I've also tested both VMware player 16 and 17.

So if anyone is using VMware on Wayland, do you know of a combination that works? Does it work on KDE? Should I just switch to Virtualbox? I'd really rather keep Wayland if possible.

all 32 comments
sorted by: hot top controversial new old
[–] [email protected] 16 points 6 months ago (2 children)

Switch to KVM based virtualization such as gnome boxes or virtual manager

[–] [email protected] 3 points 6 months ago (1 children)

This. It is free, and good.

[–] [email protected] 1 points 6 months ago

The best in the industry

[–] [email protected] 1 points 6 months ago (2 children)

What do you like about GNOME Boxes?

[–] [email protected] 3 points 6 months ago* (last edited 6 months ago)

I've a very bad experience with GNOME boxes, both VMware and VirtualBox seem to outperform the thing and work better (drag and drop and resolution scaling, actual GPU acceleration).

[–] [email protected] 1 points 6 months ago

It is simpler and runs as a local user

[–] [email protected] 15 points 6 months ago (2 children)

Better question is who is using VMware at all. QEMU+virt-manager on top.

[–] [email protected] 6 points 6 months ago (1 children)

Honestly, I was forced to use it for a project and then just stuck with it for its simplicity

[–] [email protected] 1 points 6 months ago (2 children)
[–] [email protected] 3 points 6 months ago (3 children)

If you don't need many features it's easier to quickly set up and create a vm than VirtualBox. Well until now anyway. I haven't tried the other alternatives mentioned here, they might be better in that aspect too.

[–] [email protected] 4 points 6 months ago

If you want simple, GNOME Boxes is hard to beat.

[–] [email protected] 2 points 6 months ago

Virtual box is slow and requires kernel modules just like VMware. Seems easier to use something native.

[–] [email protected] 1 points 6 months ago (1 children)

It's got really good hardware graphics acceleration.

[–] [email protected] 2 points 6 months ago (1 children)
[–] [email protected] 3 points 6 months ago (3 children)

I've never gotten KVM video acceleration for a Windows guest to work on either Intel or Nvidia GPUs with any kind of easy tooling (virt-manager, Boxes). Closest I've come is using Intel vGPUs but those panic the host kernel after a short while.

[–] [email protected] 2 points 6 months ago (1 children)

I just flipped the toggle and it worked. This is probably a "your millage will vary" moment.

Additionally GPU acceleration has received a lot of love recently as there has been a push for Foss VDI

[–] [email protected] 1 points 6 months ago

If the feature never worked, it wouldn't be there! It's just rather unreliable in my experience, while VMWare seems to Just Work.

If I ever get new hardware or a new major kernel update, I'll try toggling the button again, but I totally get why people pick closed source tools in this case. Nothing that can't be fixed, just not something I have the time or skills for to fix.

[–] [email protected] 1 points 6 months ago

+1 here, intel on laptop.

[–] [email protected] 1 points 6 months ago

Yeah, that's what I'm referring to. I've never successfully turned on hardware acceleration when running Windows guests, and I don't think Gnome Boxes even exposes the option.

[–] [email protected] 3 points 6 months ago (2 children)

Specifically for Windows vms without a GPU passed to it, VMware tends to do a way better job at least in my testing

[–] [email protected] 8 points 6 months ago (1 children)

If you install the virtio drivers KVM based virtualization it will work way better. You can even copy and paste

[–] [email protected] 2 points 6 months ago

It can be done, to some extent, but it's definitely not as easy as VMWare makes it. With Broadcom turning VMWare into shit I wish they'd just release the source code as AGPL and be done with it.

VMWare did something I've seen no other virtual machine software do: allow me to turn on Windows Aero on Windows 7 without registry hacks or PCIe passthrough.

The virtio tooling is amazing as an open source project, but when it comes to user experience, VMWare has always been better in my opinion. Still, I primarily run Linux VMs that don't need guest tooling, so I use virt-manager, but every so often I wish VMWare Player were open source because of how smooth it is in comparison to free software.

[–] [email protected] 3 points 6 months ago* (last edited 6 months ago)

Yeah, Windows on KVM without GPU acceleration is not ideal. Also setting up a VM with all the bells and whistles like a shared folder, USB, printing is still easier on VMware than virt-manager. I've recently switched all my Windows VMs from VMware to KVM/virt-manager.

[–] [email protected] 6 points 6 months ago

virt-manager for the win!

[–] [email protected] 4 points 6 months ago* (last edited 6 months ago) (1 children)

I had the same issue and was unable to find a solution.

I'd say switch to gnome-boxes or virt-managerif possible - they don't have this issue with Wayland and perform better than VMWare / Virtual Box anyway.

[–] [email protected] 3 points 6 months ago

Interesting, I didn't know about virt-manager. I might try one of those, thanks for the suggestion.

[–] [email protected] 2 points 6 months ago (1 children)

I had to switch the computer where I needed VMware to an Xorg session. 🥹

[–] [email protected] 1 points 6 months ago (1 children)

Sadly that means the second screen not working properly

[–] [email protected] 1 points 6 months ago

Fractional scaling is also a bit subpar.