Qemu-kvm not present in software installer and new guy questions  [Solved]

Help for Current Versions of MX
When asking for help, use Quick System Info from MX Tools. It will be properly formatted using the following steps.
1. Click on Quick System Info in MX Tools
2. Right click in your post and paste.
Message
Author
User avatar
Antediluvian
Posts: 348
Joined: Sun May 20, 2018 7:42 pm

Re: Qemu-kvm not present in software installer and new guy questions

#11 Post by Antediluvian »

I know next to nothing about Virtualbox, much less QEMU-KVM. That said, if I made an attempt to get QEMU-KVM running on MX21 would the following "how to" written for Debian 11 work and is it sufficient? Thanks.

How to Install and Configure KVM on Debian 11 Bullseye Linux
Published in Linux Shout by Heyan Maurya
Last update: December 2, 2021

AVCESAR
Posts: 14
Joined: Sun Mar 06, 2022 7:46 am

Re: Qemu-kvm not present in software installer and new guy questions  [Solved]

#12 Post by AVCESAR »

I finally followed this guide and it worked: https://computingforgeeks.com/how-to-in ... on-debian/

- At first I thought I didn't install the good packet but it selected « qemu-system-x86 » instead of « qemu-kvm » by itself. The "virt-top" package was not found.
- After that I installed the latest SpiceClientGTK (careful to not install spice-client-gtk that do not work) with the GUI packages installer.
- I also added my user to the KVM and libvirt groups as I found on internet. Not sure this part is necessary.

I got a stable linux install but windows still has CPU and GPU management problems.

However now, I am trying to redo a final clean and stable install of MX_linux on a VM but I loop on the logging page. With the stable XFCE MX_linux ISO. I enter the demo password for the demo user but it loops me back to the logging page.
Any idea?
Last edited by AVCESAR on Thu Mar 17, 2022 5:31 am, edited 2 times in total.

AVCESAR
Posts: 14
Joined: Sun Mar 06, 2022 7:46 am

Re: Qemu-kvm not present in software installer and new guy questions

#13 Post by AVCESAR »

Just found a solution. I used the root root user instead to log in the live sessions.

Now that my problem is "solved". Should I keep this conversation here or delete it and put comments in the two other that treat the two parts of my same problems?

tha76
Posts: 13
Joined: Wed Mar 30, 2022 4:29 am

Re: Qemu-kvm not present in software installer and new guy questions

#14 Post by tha76 »

I started following the following guide and I'm stuck at a certain step:

https://www.how2shout.com/linux/how-to- ... eye-linux/

---
To list the available network to use in KVM virtual machines, run the following command:

Code: Select all

sudo virsh net-list --all
However, in the output, you will see the default network is not active and also not set to start automatically with a system reboot. Therefore, to make it active and autostart run the following commands:

Code: Select all

sudo virsh net-start default
sudo virsh net-autostart default
---

These are the outputs I get for the above commands:

Code: Select all

error: failed to connect to the hypervisor
error: Failed to connect socket to '/var/run/libvirt/libvirt-sock': No such file or directory

Code: Select all

error: failed to connect to the hypervisor
error: Failed to connect socket to '/var/run/libvirt/libvirt-sock': No such file or directory

error: failed to connect to the hypervisor
error: Failed to connect socket to '/var/run/libvirt/libvirt-sock': No such file or directory
This command resulted in the following warning, perhaps that's the problem: sudo apt install qemu-kvm libvirt-clients libvirt-daemon-system bridge-utils virtinst libvirt-daemon

Code: Select all

dpkg: sysvinit-core: dependency problems, but removing anyway as you requested:
 init depends on systemd-sysv | sysvinit-core; however:
  Package systemd-sysv is not installed.
  Package sysvinit-core is to be removed.

(Reading database ... 319215 files and directories currently installed.)
Removing sysvinit-core (2.96-7+deb11u1) ...
dpkg: systemd-shim: dependency problems, but removing anyway as you requested:
 libpam-systemd:amd64 depends on systemd-shim (>= 10-4~) | systemd-sysv; however:
  Package systemd-shim is to be removed.
  Package systemd-sysv is not installed.

Is this guide not compatible with MX Linux?


xaol
Posts: 311
Joined: Wed Mar 03, 2021 8:30 am

Re: Qemu-kvm not present in software installer and new guy questions

#15 Post by xaol »

@tha76 in general it is a better idea to start a new topic for your specific circumstance since this topic has been marked as solved by the person who posted it. you may not get the help you want or need here. in a new post you should add your Quick System Info so others can know what the system you are trying to work on looks like.

User avatar
Eadwine Rose
Administrator
Posts: 14940
Joined: Wed Jul 12, 2006 2:10 am

Re: Qemu-kvm not present in software installer and new guy questions

#16 Post by Eadwine Rose »

Tha76 topic here: https://forum.mxlinux.org/viewtopic.php?t=69729

Please stick to only one topic.


This one now closed.
MX-23.6_x64 July 31 2023 * 6.1.0-37amd64 ext4 Xfce 4.20.0 * 8-core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 535.247.01 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 870EVO * Samsung S24D330 & P2250 * HP Envy 5030

Locked

Return to “MX Help”