LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-31-2016, 08:24 AM   #1
vitronix
Member
 
Registered: Dec 2012
Posts: 56

Rep: Reputation: Disabled
Problem using KVM on Debian 8.5 Cinnamon


Hello all of you out there,

I wanted to use a different virtualization then VMware Player.
I want to do everything the open source way.
I tried VirtualBox but wasn't very satisfied with that.
So I thought about using KVM and Qemu.
I have enabled virtualization on my i5 Intel CPU
The virtual machine manager runs.
But when I try to create a virtual machine I get the following error:

Code:
Unable to complete install: 'internal error: process exited while connecting to monitor: Could not access KVM kernel module: Permission denied
failed to initialize KVM: Permission denied

Details:

Unable to complete install: 'internal error: process exited while connecting to monitor: Could not access KVM kernel module: Permission denied
failed to initialize KVM: Permission denied
'

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/asyncjob.py", line 91, in cb_wrapper
    callback(asyncjob, *args, **kwargs)
  File "/usr/share/virt-manager/virtManager/create.py", line 1787, in do_install
    guest.start_install(meter=meter)
  File "/usr/share/virt-manager/virtinst/guest.py", line 403, in start_install
    noboot)
  File "/usr/share/virt-manager/virtinst/guest.py", line 467, in _create_guest
    dom = self.conn.createLinux(start_xml or final_xml, 0)
  File "/usr/lib/python2.7/dist-packages/libvirt.py", line 3440, in createLinux
    if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self)
libvirtError: internal error: process exited while connecting to monitor: Could not access KVM kernel module: Permission denied
failed to initialize KVM: Permission denied
I googled but nothing useful came up
Does anybody have any idea?

Thanks in advance,

Vitronix
 
Old 08-01-2016, 07:19 AM   #2
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
It doesn't answer your question, but what was it about VirtualBox that you didn't like?
 
Old 08-01-2016, 03:25 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,976

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
"Permission denied" tends to make me think of a file based or user based permission.

Are you creating a client from a gui?

You should be able to run terminal program qemu (or some such name) and see if it runs and returns some error since the is no script to run.
 
Old 08-02-2016, 09:26 AM   #4
vitronix
Member
 
Registered: Dec 2012
Posts: 56

Original Poster
Rep: Reputation: Disabled
What I like about qemu

I feel realy stupid: I did not install qemu properly, things are running fine now.

What I like about qemu is the fact that you can run vm's of a different architecture like ARM.

Only thing that I have to figure out is how to select where the virtual disk is created, I would like to do that i my home folder.
But I will figure that out by myself.
Sorry for the fact that I have been wasting your time.

Last edited by vitronix; 08-02-2016 at 10:21 AM.
 
  


Reply

Tags
kvm



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Why Go Debian-Ubuntu-Mint-Cinnamon, When You Can Go Debian-Cinnamon? happydog500 Debian 17 10-10-2017 08:37 AM
LXer: Try the New Makulu Cinnamon Debian Edition – Gaming-Ready, Cinnamon at Its Peak LXer Syndicated Linux News 0 10-28-2014 09:02 PM
NFS sharing and mounting problem on KVM Debian VM golden_boy615 Linux - Wireless Networking 5 08-02-2013 11:44 PM
CentOS 6.3 kvm-qemu problem with Debian guest zoltan1 Linux - Virtualization and Cloud 2 10-25-2012 06:45 PM
[Debian/Qemu/KVM] Why qemu --enable-kvm works but not kvm directly? gb2312 Linux - Virtualization and Cloud 2 03-21-2011 02:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration