VMWare Player not working correctly after installing QEMU

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Post Reply
magic_missile
Level 1
Level 1
Posts: 26
Joined: Sat Nov 18, 2023 9:22 pm

VMWare Player not working correctly after installing QEMU

Post by magic_missile »

So... here's the story. I'm hoping someone with virtual machine experience here can help me. I'm using Linux Mint 21.2 64bit (Cinnamon) with Kernel: 6.2.0-37-generic. CPU is i5-3570 and GPU is GTX 1050.

I first installed VMWare player (VMware-Player-Full-17.5.0-22583795.x86_64.bundle) to run some programs/old Windows games on W10. Everything worked fine for the little testing I did, no complaints. I used VMWare for a few days like this. Then I was really annoyed that I cannot make VMware Player (the free version) run in fullscreen, so I searched for how to install QEMU, since that's open source and... maybe it can run some old 3D games/apps in full screen without GPU pass-through shenanigans? I don't know, but VMWare did run F.E.A.R. without any extra configuration from me. And I'm not playing FEAR in a VM, I know WINE exists and I love it, but this is just to give you an idea of what I expect and what worked for me.

Now, on to the QEMU and Virt Manager install... Given that I'm a Linux newbie, I don't have a solid idea of what I'm really doing with every single terminal command, I'm mostly just following instructions from tutorials. So I don't understand where I messed up. I followed this tutorial:

https://christitus.com/vm-setup-in-linux/

And now, after installing QEMU and Virt Manager from the tutorial above, VMWare Player doesn't display my Virtual Machines in its main menu anymore. Furthermore, I can click "Open a virtual machine" and point it to the .vmx file, but it just does absolutely nothing. However... if I directly double click the .vmx file, it does open the VM in VMWare Player with no problems. Weird.

So, double clicking the file works, but I cannot view it in the VMWare list. And this is quite important, because I can't modify its settings, as the VM is running, and I can't seem to install VMWare tools either (it's greyed out when the VM is active).

To install QEMU and Virt Manager, I used these commands in the following order (from that tutorial). Hopefully, someone can notice what screwed up my VMWare install from these commands:

Code: Select all

sudo apt install qemu-kvm qemu-system qemu-utils python3 python3-pip libvirt-clients libvirt-daemon-system bridge-utils virtinst libvirt-daemon virt-manager -y

Code: Select all

sudo virsh net-start default

Code: Select all

sudo virsh net-autostart default

Code: Select all

sudo usermod -aG libvirt $USER
sudo usermod -aG libvirt-qemu $USER
sudo usermod -aG kvm $USER
sudo usermod -aG input $USER
sudo usermod -aG disk $USER
If I use the command: "sudo virsh net-list --all" then this is the output:

Code: Select all

username@PCName:~$ sudo virsh net-list --all
 Name      State    Autostart   Persistent
--------------------------------------------
 default   active   yes         yes
and if I use the command "sudo systemctl status libvirtd.service" this is the output:

Code: Select all

Nov 29 13:54:08 PCName libvirtd[1120]: Unable to read from monitor: Connection reset by peer

Nov 29 13:54:08 PCName libvirtd[1120]: internal error: qemu unexpectedly closed the monitor: 2023-11-29T11:54:08.107803Z qemu-system-x86_64: egl: eglInitialize failed
                                        2023-11-29T11:54:08.107914Z qemu-system-x86_64: Failed to initialize EGL render node for SPICE GL
                                        
Nov 29 13:54:08 PCName libvirtd[1120]: internal error: process exited while connecting to monitor: 2023-11-29T11:54:08.107803Z qemu-system-x86_64: egl: eglInitialize failed
                                        2023-11-29T11:54:08.107914Z qemu-system-x86_64: Failed to initialize EGL render node for SPICE GL
                                        
Nov 29 13:55:02 PCName libvirtd[1120]: Unable to read from monitor: Connection reset by peer

Nov 29 13:55:02 PCName libvirtd[1120]: internal error: qemu unexpectedly closed the monitor: 2023-11-29T11:55:02.946559Z qemu-system-x86_64: egl: eglInitialize failed
                                        2023-11-29T11:55:02.946679Z qemu-system-x86_64: Failed to initialize EGL render node for SPICE GL
                                        
Nov 29 13:55:02 PCName libvirtd[1120]: internal error: process exited while connecting to monitor: 2023-11-29T11:55:02.946559Z qemu-system-x86_64: egl: eglInitialize failed
                                        2023-11-29T11:55:02.946679Z qemu-system-x86_64: Failed to initialize EGL render node for SPICE GL
                                        
Nov 29 13:57:17 PCName libvirtd[1120]: Unable to read from monitor: Connection reset by peer

Nov 29 13:57:17 PCName libvirtd[1120]: internal error: qemu unexpectedly closed the monitor: 2023-11-29T11:57:17.127985Z qemu-system-x86_64: -device virtio-vga-gl,id=video0,max_outputs=1,bus=pcie.0,addr=0x1: opengl is not available

Nov 29 13:57:17 PCName libvirtd[1120]: internal error: process exited while connecting to monitor: 2023-11-29T11:57:17.127985Z qemu-system-x86_64: -device virtio-vga-gl,id=video0,max_outputs=1,bus=pcie.0,addr=0x1: opengl is not available
mikeflan
Level 16
Level 16
Posts: 6741
Joined: Sun Apr 26, 2020 9:28 am
Location: Houston, TX

Re: VMWare Player not working correctly after installing QEMU

Post by mikeflan »

sudo apt install . . . . . python3 python3-pip . . . .
That could be the problem. You probably already had python3 installed.

Timeshift might not fix this, but I would try that first.
magic_missile
Level 1
Level 1
Posts: 26
Joined: Sat Nov 18, 2023 9:22 pm

Re: VMWare Player not working correctly after installing QEMU

Post by magic_missile »

Timeshift would've been a good idea... if I had actually created a timeshift before that. Oopsies... But anyway, do you think reinstalling python 3 could've really messed it up? Wouldn't it just replace the original already installed filed and that's it? And... should I try reinstalling python 3 now, will uninstalling it and then installing it again mess things up even worse?

I forgot to mention one thing. In my first post, I posted the output of "sudo systemctl status libvirtd.service", but I focused on those errors only and forgot to post what was above them. It probably doesn't matter, but here it is:

Code: Select all

● libvirtd.service - Virtualization daemon
     Loaded: loaded (/lib/systemd/system/libvirtd.service; enabled; vendor preset: enabled)
     Active: active (running) since Wed 2023-11-29 13:42:33 EET; 16h ago
TriggeredBy: ● libvirtd-ro.socket
             ● libvirtd.socket
             ● libvirtd-admin.socket
       Docs: man:libvirtd(8)
             https://libvirt.org
   Main PID: 1120 (libvirtd)
      Tasks: 22 (limit: 32768)
     Memory: 9.6M
        CPU: 5.183s
     CGroup: /system.slice/libvirtd.service
             ├─1120 /usr/sbin/libvirtd
             ├─1350 /usr/sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro --dhcp-script=/usr/lib/libvirt/libvirt_leaseshelper
             └─1351 /usr/sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro --dhcp-script=/usr/lib/libvirt/libvirt_leaseshelper
I also just noticed there was a virtual machine section in this forum... lol. If some mod would be kind enough to move the thread there that'd be nice.
mikeflan
Level 16
Level 16
Posts: 6741
Joined: Sun Apr 26, 2020 9:28 am
Location: Houston, TX

Re: VMWare Player not working correctly after installing QEMU

Post by mikeflan »

Wouldn't it just replace the original already installed filed and that's it?
Yeah, I would think that too, but I don't know the intricacies of Python.
And... should I try reinstalling python 3 now, will uninstalling it and then installing it again mess things up even worse?
Personally I would not uninstall any Python.

The guy you need is spamegg. Read this until he comes along:
viewtopic.php?t=362499
magic_missile
Level 1
Level 1
Posts: 26
Joined: Sat Nov 18, 2023 9:22 pm

Re: VMWare Player not working correctly after installing QEMU

Post by magic_missile »

Thanks for your reply. Sorry about my late response. I'll read that guide and if I find any solution to the problem I'll post it here.
Post Reply

Return to “Software & Applications”