Run virt-manager on Windows 10
- 
Anyway, it is just File -> Add Connection
You put in the hostname and username and voila, connected.
 - 
Do i just ignore that error ? It comes up when I run the
virt-manager &command on the Ubuntu windows. - 
@hobbit666 said in Run virt-manager on Windows 10:
Do i just ignore that error ? It comes up when I run the
virt-manager &command on the Ubuntu windows.Which error?
 - 
I've not seen an error when running on Ubuntu, but I only have one I think. I'm mostly on Fedora. And the one Windows box I've been testing on. It's not me that would need it on Windows.
 - 
@hobbit666 said in Run virt-manager on Windows 10:
Having a few issues getting this running.
- 
So i've installed Xming.
Set the Display and Ran the program. - 
Gone to the Windows Store and installed Ubuntu 18.04
 - 
Ran Ubuntu and done and
ap-get update
Thenapt-get install virt-manager - 
ran
virt-manager & 
This is where i get the first problem.
I get the following message:-

Do i need to install or run anything else on the Windows Ubuntu instance?
@scottalanmiller this one
 - 
 - 
@hobbit666 said in Run virt-manager on Windows 10:
@hobbit666 said in Run virt-manager on Windows 10:
Having a few issues getting this running.
- 
So i've installed Xming.
Set the Display and Ran the program. - 
Gone to the Windows Store and installed Ubuntu 18.04
 - 
Ran Ubuntu and done and
ap-get update
Thenapt-get install virt-manager - 
ran
virt-manager & 
This is where i get the first problem.
I get the following message:-

Do i need to install or run anything else on the Windows Ubuntu instance?
@scottalanmiller this one
Oh, that's because by default it is trying to connect to a local instance. If you don't have one, it's just confirming that. It's not an "error", just letting you know that it needs details for a remote instance before you can use it.
 - 
 - 
You get that error on all systems, it's a standard virt-manager error. You get in on Fedora, Ubuntu Linux, Ubuntu Windows, etc.
 - 
@scottalanmiller said in Run virt-manager on Windows 10:
Oh, that's because by default it is trying to connect to a local instance. If you don't have one, it's just confirming that. It's not an "error", just letting you know that it needs details for a remote instance before you can use it.
Ah ok will have to wait until Tuesday and try again. Not in Monday and I shut the machine off for the weekend



 - 
@hobbit666 said in Run virt-manager on Windows 10:
@scottalanmiller said in Run virt-manager on Windows 10:
Oh, that's because by default it is trying to connect to a local instance. If you don't have one, it's just confirming that. It's not an "error", just letting you know that it needs details for a remote instance before you can use it.
Ah ok will have to wait until Tuesday and try again. Not in Monday and I shut the machine off for the weekend



Do you have a remote system with libvirt running that has SSH accessibility? Something to test against?
 - 
@scottalanmiller no my lab machine is the only KVM machine all the rest are Esxi
 - 
@hobbit666 said in Run virt-manager on Windows 10:
@scottalanmiller no my lab machine is the only KVM machine all the rest are Esxi
You can still use that from any Windows instance, even a VM on top of it, to see what a remote system would be like.
 - 
before i'm back in tomorrow is there anything I need to do on the KVM (Fedora29) host I need to install/run/firewall to allow it to be managed externally by the windows machine?
 - 
@hobbit666 said in Run virt-manager on Windows 10:
before i'm back in tomorrow is there anything I need to do on the KVM (Fedora29) host I need to install/run/firewall to allow it to be managed externally by the windows machine?
You shouldn't. virt-manager operates on remote hosts via ssh.
 - 
@hobbit666 said in Run virt-manager on Windows 10:
before i'm back in tomorrow is there anything I need to do on the KVM (Fedora29) host I need to install/run/firewall to allow it to be managed externally by the windows machin
Port 22 and 5900. 22 for management, 5900 if you also want remote SPICE terminals.
 - 
Trying to run virt-manager and Getting the following error:
root@DESKTOP-A911GSS:~# Unable to init server: Could not connect: Connection refused
Unable to init server: Could not connect: Connection refused
(virt-manager:28): Gtk-WARNING **: 18:58:22.746: cannot open display:I've followed the steps and no luck.
 - 
@brandon220 said in Run virt-manager on Windows 10:
Trying to run virt-manager and Getting the following error:
root@DESKTOP-A911GSS:~# Unable to init server: Could not connect: Connection refused
Unable to init server: Could not connect: Connection refused
(virt-manager:28): Gtk-WARNING **: 18:58:22.746: cannot open display:I've followed the steps and no luck.
You have Xming running?
 - 
OK so got a connection but got a few other problem.
First one was i got this.Unable to connect to libvirt.You need to install openssh-askpass or similar to connect to this host.Solved by running this
sudo virt-manager --no-forkOr a permanent solution was to run
sudo apt-get install ssh-askpass ssh-askpass-gnome - 
My next issue/question
Once in Virt-Manager i can add my KVM host and connect. It asks for my users password twice? Should it?
Then once on (i've already got some VM's on there) when i click on a VM and open the console it asks for the password 5-6 times before displaying the console/desktop.
 - 
@hobbit666 use SSH key authentication to avoid having to enter a username and password.
 - 
@black3dynamite Yeah did think that, but thought mention it here in-case someone else gets the issue