ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Run virt-manager on Windows 10

    IT Discussion
    windows windows 10 kvm xen lxc virt-manager xming
    19
    108
    38.4k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • scottalanmillerS
      scottalanmiller @hobbit666
      last edited by

      @hobbit666 said in Run virt-manager on Windows 10:

      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-fork

      Or a permanent solution was to run sudo apt-get install ssh-askpass ssh-askpass-gnome

      Oh, that's because you didn't set up your SSH keys. That's not part of virt-manager, just part of your OS. Do that and you never get that message and connections are automatic and instant.

      1 Reply Last reply Reply Quote 2
      • scottalanmillerS
        scottalanmiller @hobbit666
        last edited by

        @hobbit666 said in Run virt-manager on Windows 10:

        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.

        No, use keys and it never asks at all.

        1 Reply Last reply Reply Quote 3
        • hobbit666H
          hobbit666
          last edited by hobbit666

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • black3dynamiteB
            black3dynamite @hobbit666
            last edited by

            @hobbit666 said in Run virt-manager on Windows 10:

            Having a few issues getting this running.

            1. So i've installed Xming.
              Set the Display and Ran the program.

            2. Gone to the Windows Store and installed Ubuntu 18.04

            3. Ran Ubuntu and done and ap-get update
              Then apt-get install virt-manager

            4. ran virt-manager &

            This is where i get the first problem.
            I get the following message:-
            2019-04-26 10_13_12-Window.png

            Do i need to install or run anything else on the Windows Ubuntu instance?

            To avoid seeing that message, you can do this instead.

            virt-manager --connect=qemu+ssh://user@kvmhost/system &
            
            1 Reply Last reply Reply Quote 2
            • kamidonK
              kamidon
              last edited by

              Why Virt-manager over Hyper-V? For Windows 10 Home users?

              black3dynamiteB 1 Reply Last reply Reply Quote 0
              • black3dynamiteB
                black3dynamite @kamidon
                last edited by

                @kamidon said in Run virt-manager on Windows 10:

                Why Virt-manager over Hyper-V? For Windows 10 Home users?

                It’s about managing KVM hosts.

                1 Reply Last reply Reply Quote 0
                • E
                  ecksdeexd
                  last edited by

                  my name jeff

                  scottalanmillerS stacksofplatesS IRJI 3 Replies Last reply Reply Quote -3
                  • scottalanmillerS
                    scottalanmiller @ecksdeexd
                    last edited by

                    @ecksdeexd said in Run virt-manager on Windows 10:

                    my name jeff

                    Okay

                    1 Reply Last reply Reply Quote 0
                    • stacksofplatesS
                      stacksofplates @ecksdeexd
                      last edited by

                      @ecksdeexd said in Run virt-manager on Windows 10:

                      my name jeff

                      I read that with the accent.

                      RojoLocoR 1 Reply Last reply Reply Quote 2
                      • RojoLocoR
                        RojoLoco @stacksofplates
                        last edited by

                        @stacksofplates said in Run virt-manager on Windows 10:

                        @ecksdeexd said in Run virt-manager on Windows 10:

                        my name jeff

                        I read that with the accent.

                        Me too... I heard Borat in my head.

                        1 Reply Last reply Reply Quote 0
                        • travisdh1T
                          travisdh1
                          last edited by

                          Just did this again tonight, and had 1 more step needed now.

                          apt-get install -y ssh-askpass-gnome

                          That is if you need to login. Might not need it if using a password protected ssh key instead.

                          black3dynamiteB 1 Reply Last reply Reply Quote 1
                          • black3dynamiteB
                            black3dynamite @travisdh1
                            last edited by

                            @travisdh1 said in Run virt-manager on Windows 10:

                            Just did this again tonight, and had 1 more step needed now.

                            apt-get install -y ssh-askpass-gnome

                            That is if you need to login. Might not need it if using a password protected ssh key instead.

                            It’s probably still needed if your key has a pass phrase with it.

                            1 Reply Last reply Reply Quote 1
                            • IRJI
                              IRJ @ecksdeexd
                              last edited by

                              @ecksdeexd said in Run virt-manager on Windows 10:

                              my name jeff

                              👍

                              1 Reply Last reply Reply Quote 0
                              • S
                                sirs06
                                last edited by

                                ERROR VIRT.JPG

                                I can not enter I get this error

                                Gtk-WARNING **: 18:15:17.802: cannot open display: :0

                                travisdh1T 1 Reply Last reply Reply Quote 0
                                • travisdh1T
                                  travisdh1 @sirs06
                                  last edited by

                                  @sirs06 said in Run virt-manager on Windows 10:

                                  ERROR VIRT.JPG

                                  I can not enter I get this error

                                  Gtk-WARNING **: 18:15:17.802: cannot open display: :0

                                  You probably need the export DISPLAY=:0 first.

                                  1 Reply Last reply Reply Quote 1
                                  • C
                                    chipprel
                                    last edited by

                                    Hi everyone. I got this error when i try to add connection.

                                    Unable to connect to libvirt qemu+ssh://[email protected]/system.

                                    End of file while reading data: nc: unix connect failed: No such file or directory
                                    nc: /var/run/libvirt/libvirt-sock: No such file or directory: Input/output error

                                    Verify that the 'libvirtd' daemon is running on the remote host.

                                    Hope anyone could help me here. I am kinda new to wsl or even linux base.

                                    Thanks.

                                    JaredBuschJ 1 Reply Last reply Reply Quote 0
                                    • JaredBuschJ
                                      JaredBusch @chipprel
                                      last edited by

                                      @chipprel said in Run virt-manager on Windows 10:

                                      Hi everyone. I got this error when i try to add connection.

                                      Unable to connect to libvirt qemu+ssh://[email protected]/system.

                                      End of file while reading data: nc: unix connect failed: No such file or directory
                                      nc: /var/run/libvirt/libvirt-sock: No such file or directory: Input/output error

                                      Verify that the 'libvirtd' daemon is running on the remote host.

                                      Hope anyone could help me here. I am kinda new to wsl or even linux base.

                                      Thanks.

                                      does your user chipprel have access? make that user a member of the libvrt group

                                      sudo gpasswd -a chipprel libvrt
                                      
                                      black3dynamiteB 1 Reply Last reply Reply Quote 1
                                      • black3dynamiteB
                                        black3dynamite @JaredBusch
                                        last edited by

                                        @JaredBusch libvrt -> libvirt

                                        1 Reply Last reply Reply Quote 0
                                        • C
                                          chipprel
                                          last edited by

                                          @JaredBusch said in Run virt-manager on Windows 10:

                                          Hope anyone could help me here. I am kinda new to wsl or even linux base.

                                          I did add it, still same error.

                                          black3dynamiteB 1 Reply Last reply Reply Quote 0
                                          • black3dynamiteB
                                            black3dynamite @chipprel
                                            last edited by

                                            @chipprel said in Run virt-manager on Windows 10:

                                            @JaredBusch said in Run virt-manager on Windows 10:

                                            Hope anyone could help me here. I am kinda new to wsl or even linux base.

                                            I did add it, still same error.

                                            Is the daemon running?

                                            sudo systemctl status libvirtd
                                            
                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 1 / 6
                                            • First post
                                              Last post