Trouble with virtual machine manager/libvirt
I apologize for all my newb problems/questions. I installed and configured KVM on my server (Centos 6.5). I was able to use Virtual Machine manager locally on the server in the desktop gui and install a working Fedora guest machine.
Now I'm back to my laptop/client machine which is now running Linux Mint 16 (yes I have had about 5 different distros in the past week on my laptop). I have installed virtual machine manager and trying to connect remotely to my server and use the virtual machine there but I keep getting errors: Unable to connect to libvirt. Cannot recv data: Permission denied, please try again. Permission denied, please try again. Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).: Connection reset by peer Verify that the 'libvirtd' daemon is running on the remote host. Unable to connect to libvirt. Cannot recv data: Permission denied, please try again. Permission denied, please try again. Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).: Connection reset by peer Verify that the 'libvirtd' daemon is running on the remote host. Libvirt URI is: qemu+ssh://root@192.168.1.7:1977/system Traceback (most recent call last): File "/usr/share/virt-manager/virtManager/connection.py", line 1027, in _open_thread self.vmm = self._try_open() File "/usr/share/virt-manager/virtManager/connection.py", line 1009, in _try_open flags) File "/usr/lib/python2.7/dist-packages/libvirt.py", line 102, in openAuth if ret is None:raise libvirtError('virConnectOpenAuth() failed') libvirtError: Cannot recv data: Permission denied, please try again. Permission denied, please try again. Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).: Connection reset by peer I have checked and confirmed the daemon is running on my server: service libvirtd restart Stopping libvirtd daemon: [ OK ] Starting libvirtd daemon: [ OK ] I basically followed this tutorial : http://www.howtoforge.com/how-to-ins...ged-networking Any thoughts? thanks |
So I was trying to create a local virtual machine on my wife's computer running Ubuntu and I get the same error so I'm guessing it's a compatibility issue with the OS
|
what is the recommended application or method to connect to a remotely hosted virtual machine? I now have KVM/Virt and Virtualbox on my CentOS server and running Debian on my laptop.
|
I'm still trying to get my head around this. My server has KVM installed. I was able to create and run a virtual machine using Virtual Machine Manager gui on the server.
I am trying to use VMM on the client and connect and I keep getting an error that says make sure the libvrtd daemon is running on the host. It is running, I have confirmed and restarted it. My server has intel virtualization technology and it is enabled in the bios. My client doesn't have virt technology (does this matter?) I feel like the hard work is done and connecting remotely to my already configured and installed vm should be simple but it's not. What is the best way to connect to the KVM/QEMU machine from my client (debian)? I have also tried using VirtualBox on the server with the extension pack for remote access and I can't seem to get that working either. |
Can someone point me to a link that will help get this up and running on a Centos server? I don't care if I am using KVM or VirtualBox. I just want to be able to host some machines on my server and connect to them from my laptop. I have read through a few tutorials. I have kvm/libvirt installed on the server and Virtualbox with extensions for remote connections. I can configure and install a guest system on my server and run them in the desktop gui on the server but I just can't connect from my laptop. I have tried Virtual Machine Manager and rdesktop from the client side with different options and nothing happens. This has become a hurdle in my learning since I want to start configuring virtual servers to run different services and not worry about screwing up the physical server which is pretty solid right now
|
Consider asking the Mods via the Report button to move this to the Virtualization & Cloud forum https://www.linuxquestions.org/quest.../?daysprune=-1
|
Hi
I found this while searching for a solution to my problem & can see that it's a bit late for the OP but I'm replying here in the hope that it will help others who suffer the same symptoms. In my case this was caused by an incorrect password being saved & invisibly applied by ksshaskpass (KDE) when trying to connect to a remote host with Virtual Machine Manager. I tried to edit the Kwallet holding the credentials but ended up destroying the wallet to fix it. Where I differed from the OP was here: OP: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).: Connection reset by peer Me: Permission denied (publickey,password).: Connection reset by peer Regards Nobby |
Cheers nobulus
Help you did indeed. Cleared all instances of applications unhelpfully named "password" or "Password" under the ksshaskpass/Password branch of KDEWallet. Regards Patrick |
All times are GMT -5. The time now is 02:40 PM. |