[Bug 1762205] Re: GNOME boxes fails to start virtual os
*** This bug is a duplicate of bug 1767302 *** https://bugs.launchpad.net/bugs/1767302 Can someone please explain how to fix this more clearly? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1762205 Title: GNOME boxes fails to start virtual os To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-boxes/+bug/1762205/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1762205] Re: GNOME boxes fails to start virtual os
*** This bug is a duplicate of bug 1767302 *** https://bugs.launchpad.net/bugs/1767302 me too, will check bug bug #1767302. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1762205 Title: GNOME boxes fails to start virtual os To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-boxes/+bug/1762205/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1762205] Re: GNOME boxes fails to start virtual os
*** This bug is a duplicate of bug 1767302 *** https://bugs.launchpad.net/bugs/1767302 @nikperrakis So the line in the should look like this: options kvm_intel nested=1 `group=kvm` Is this correct? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1762205 Title: GNOME boxes fails to start virtual os To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-boxes/+bug/1762205/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1762205] Re: GNOME boxes fails to start virtual os
*** This bug is a duplicate of bug 1767302 *** https://bugs.launchpad.net/bugs/1767302 Tried what John Tanner did not work. So I tried Stephen Matin's also did not work. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1762205 Title: GNOME boxes fails to start virtual os To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-boxes/+bug/1762205/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1762205] Re: GNOME boxes fails to start virtual os
*** This bug is a duplicate of bug 1767302 *** https://bugs.launchpad.net/bugs/1767302 ** This bug has been marked a duplicate of bug 1759806 Unable to start VM in gnome-boxes ** This bug is no longer a duplicate of bug 1759806 Unable to start VM in gnome-boxes ** This bug has been marked a duplicate of bug 1767302 User is not added to kvm group when installing gnome-boxes -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1762205 Title: GNOME boxes fails to start virtual os To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-boxes/+bug/1762205/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1762205] Re: GNOME boxes fails to start virtual os
Had same issue fixed it with @JT fix but I had to install libvirt first `sudo apt install qemu-kvm libvirt-bin` Add group=kvm in /etc/libvirt/qemu.conf Add yourself to the kvm group `sudo usermod -a -G kvm $USER` I rebooted for good measure and now vm's start up -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1762205 Title: GNOME boxes fails to start virtual os To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-boxes/+bug/1762205/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1762205] Re: GNOME boxes fails to start virtual os
@ Frederik not all the packages you install seem to be needed. Even though, in my system, I have 2/3 installed (see below) I have a working fedora workstation 28 VM. ``` $ apt policy qemu qemu-kvm libvirt-bin qemu: Installed: (none) Candidate: 1:2.11+dfsg-1ubuntu7.2 Version table: 1:2.11+dfsg-1ubuntu7.2 500 500 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages 500 http://archive.ubuntu.com/ubuntu bionic-security/universe amd64 Packages 1:2.11+dfsg-1ubuntu7 500 500 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages qemu-kvm: Installed: 1:2.11+dfsg-1ubuntu7.2 Candidate: 1:2.11+dfsg-1ubuntu7.2 Version table: *** 1:2.11+dfsg-1ubuntu7.2 500 500 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages 500 http://archive.ubuntu.com/ubuntu bionic-security/main amd64 Packages 100 /var/lib/dpkg/status 1:2.11+dfsg-1ubuntu7 500 500 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages libvirt-bin: Installed: (none) Candidate: 4.0.0-1ubuntu8.1 Version table: 4.0.0-1ubuntu8.1 500 500 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages 4.0.0-1ubuntu8 500 500 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages ``` -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1762205 Title: GNOME boxes fails to start virtual os To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-boxes/+bug/1762205/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1762205] Re: GNOME boxes fails to start virtual os
I am also affected by this - ubuntu 18.04 - but "upgraded"/updated continuously from beta 1) There seems to be packages missing after installing gnome-boxes, these ones were not installed so I installed them AFTER I installed gnome-boxes: sudo apt-get install qemu qemu-kvm libvirt-bin 2) I can't start the VM and have the same issue as described above. The fix with adding group=kvm and adding me to the kvm group works for me, too! Maybe there are "some lines missing" in the installation process of gnome-boxes? It is not only "annoying" it makes the package completely unusable without this fix. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1762205 Title: GNOME boxes fails to start virtual os To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-boxes/+bug/1762205/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1762205] Re: GNOME boxes fails to start virtual os
Update: The solution of appending `group=kvm` causes a problem when updating packages such is nvidia binary drivers. This is the second package that causes this, don't remember the first one. The error is: ``` # various stuff ... update-initramfs: Generating /boot/initrd.img-4.15.0-20-generic libkmod: ERROR ../libkmod/libkmod-config.c:656 kmod_config_parse: /etc/modprobe.d/qemu-system-x86.conf line 2: ignoring bad line starting with 'group=kvm' # error gets repeated 30+ times Processing triggers for libc-bin (2.27-3ubuntu1) ... # various stuff ... ``` I am not sure how to fix it (potentially this may not even need to be an error but a warning). Any ideas? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1762205 Title: GNOME boxes fails to start virtual os To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-boxes/+bug/1762205/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1762205] Re: GNOME boxes fails to start virtual os
I have the same problem in Ubuntu Mate 18.04. I was able to fix the problem following John's suggestion: At first I looked for package dependencies: $ apt-cache showpkg gnome-boxes Then we look for qemu-system-x86 configuration files: $ cat /var/lib/dpkg/info/qemu-system-x86.conffiles Then we add `group=kvm` to /etc/modprobe.d/qemu-system-x86.conf Then we add ourselves to the kvm group $ sudo usermod -a -G kvm $USER Since closing and restarting Boxes didn't work I rebooted and then I was able to spin an Ubuntu 18.04 VM on my laptop with gnome-boxes. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1762205 Title: GNOME boxes fails to start virtual os To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-boxes/+bug/1762205/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1762205] Re: GNOME boxes fails to start virtual os
There is no qemu.conf or libvirt folder in 18.04 and 17.10. gnome-boxes working in 17.10 but not working in 18.04. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1762205 Title: GNOME boxes fails to start virtual os To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-boxes/+bug/1762205/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1762205] Re: GNOME boxes fails to start virtual os
So, this is simple to solve as it is a group issue. 1. Add group=kvm in /etc/libvirt/qemu.conf 2. Add yourself to the kvm group - sudo usermod -a -G kvm userName Works after this. but shouldn't need this fix out of the box. JT -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1762205 Title: GNOME boxes fails to start virtual os To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-boxes/+bug/1762205/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1762205] Re: GNOME boxes fails to start virtual os
** Tags added: bionic -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1762205 Title: GNOME boxes fails to start virtual os To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-boxes/+bug/1762205/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1762205] Re: GNOME boxes fails to start virtual os
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: gnome-boxes (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1762205 Title: GNOME boxes fails to start virtual os To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-boxes/+bug/1762205/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs