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.1k
    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
      last edited by scottalanmiller

      If you want to run virt-manager from a Windows desktop, you will quickly find that no such package exists. I was distraught to find this, as having this package for Windows would be very handy. However, there is a very simple solution, virt-manager does run on Windows. And here is how to do it.

      First: Install Xming

      Assuming that you have chocolatey installed (and you should, if you are using Windows)...

      choco install xming -y
      

      You can find it in the Start menu to run it. It will just sit in the background.

      Second: Install Ubuntu Compatibility Layer

      Go to the Windows Store and get Ubuntu. Don't worry, this is the Ubuntu environment, it is not Linux is any way. This is an all-Windows solution.

      Third: Install virt-manager

      apt-get install virt-manager
      

      Fourth: Set the display

      export DISPLAY=:0 
      

      Fifth: Profit!

      virt-manager &
      

      That's it!

      travisdh1T wirestyle22W 2 Replies Last reply Reply Quote 6
      • black3dynamiteB
        black3dynamite
        last edited by black3dynamite

        @scottalanmiller Did you get this message the first time?
        WslRegisterDistribution failed with error: 0x8007019e The Windows Subsystem for Linux optional component is not enabled. Please enable it and try again.

        scottalanmillerS 1 Reply Last reply Reply Quote 0
        • scottalanmillerS
          scottalanmiller @black3dynamite
          last edited by

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

          @scottalanmiller Did you get this message the first time?
          WslRegisterDistribution failed with error: 0x8007019e The Windows Subsystem for Linux optional component is not enabled. Please enable it and try again.

          Ah, ill add that to the list. Thats a step before downloading Ubuntu.

          1 Reply Last reply Reply Quote 0
          • ObsolesceO
            Obsolesce
            last edited by

            Go Windows!

            scottalanmillerS travisdh1T 2 Replies Last reply Reply Quote 0
            • scottalanmillerS
              scottalanmiller @Obsolesce
              last edited by

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

              Go Windows!

              Was way easier than you'd guess.

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

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

                Go Windows!

                Just had to include all the UNIX ecosystem apps to make it good! lol.

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

                  @scottalanmiller I had to do an

                  apt-get update
                  

                  before apt-get would find and install virt-manager.

                  JaredBuschJ scottalanmillerS 2 Replies Last reply Reply Quote 0
                  • JaredBuschJ
                    JaredBusch @travisdh1
                    last edited by

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

                    @scottalanmiller I had to do an

                    apt-get update
                    

                    before apt-get would find and install virt-manager.

                    That is normal. Aptitude has no idea what is there if you don’t have a cache first. DNF just assumes that you need to check the repos if it is not in the local cache and does so.

                    1 Reply Last reply Reply Quote 0
                    • scottalanmillerS
                      scottalanmiller @travisdh1
                      last edited by

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

                      @scottalanmiller I had to do an

                      apt-get update
                      

                      before apt-get would find and install virt-manager.

                      That's true, but you shouldn't be skipping patching regardless. So in theory it should get picked up as a matter of course.

                      JaredBuschJ 1 Reply Last reply Reply Quote 0
                      • scottalanmillerS
                        scottalanmiller @travisdh1
                        last edited by

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

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

                        Go Windows!

                        Just had to include all the UNIX ecosystem apps to make it good! lol.

                        They always have. Or almost always. Goes way back. Remember that Microsoft was the world's largest UNIX vendor before they went to Windows. In the old days, before Linux was big, Microsoft's SFU (Subsystem for UNIX) was a layer that you added that was just Xenix rebuilt on Windows. SFU was just renamed, but POSIX compatibility has been a Windows requirement for decades now, and has always worked very well.

                        Although running just Ubuntu updates on Windows 10 showcases very quickly just how slow the system is compared to Ubuntu on Linux.

                        1 Reply Last reply Reply Quote 2
                        • JaredBuschJ
                          JaredBusch @scottalanmiller
                          last edited by

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

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

                          @scottalanmiller I had to do an

                          apt-get update
                          

                          before apt-get would find and install virt-manager.

                          That's true, but you shouldn't be skipping patching regardless. So in theory it should get picked up as a matter of course.

                          Except that this was a brand new instance of WSL.

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

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

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

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

                            @scottalanmiller I had to do an

                            apt-get update
                            

                            before apt-get would find and install virt-manager.

                            That's true, but you shouldn't be skipping patching regardless. So in theory it should get picked up as a matter of course.

                            Except that this was a brand new instance of WSL.

                            Yep. While apt-get update is something those of use who have been using Debian/Ubuntu know to do automatically, it's a missing step that could trip someone up.

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

                              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?

                              DustinB3403D hobbit666H black3dynamiteB 3 Replies Last reply Reply Quote 0
                              • DustinB3403D
                                DustinB3403 @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?

                                Try restarting the machine or at least virt-manager

                                hobbit666H 1 Reply Last reply Reply Quote 0
                                • hobbit666H
                                  hobbit666 @DustinB3403
                                  last edited by

                                  @DustinB3403 I've rebooted my machine still the same.

                                  DustinB3403D 1 Reply Last reply Reply Quote 0
                                  • DustinB3403D
                                    DustinB3403 @hobbit666
                                    last edited by DustinB3403

                                    @hobbit666 does your hardware support virtualization?

                                    kvm ok

                                    hobbit666H 1 Reply Last reply Reply Quote 0
                                    • hobbit666H
                                      hobbit666 @DustinB3403
                                      last edited by

                                      @DustinB3403 Yeah i've installed Fedora 29 with Headless Virtualisation.

                                      Installed Cockpit-Machines and that's letting me create VM's
                                      Was just trying Virt-Manger as i'm not sure how to create a VM with Cockpit and select a diffident storage location for the VM, as my Boot drive is only 16GB.

                                      DustinB3403D 1 Reply Last reply Reply Quote 0
                                      • DustinB3403D
                                        DustinB3403 @hobbit666
                                        last edited by DustinB3403

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

                                        @DustinB3403 Yeah i've installed Fedora 29 with Headless Virtualisation.

                                        Installed Cockpit-Machines and that's letting me create VM's
                                        Was just trying Virt-Manger as i'm not sure how to create a VM with Cockpit and select a diffident storage location for the VM, as my Boot drive is only 16GB.

                                        Ah, with virt-manager you need to add the location. It is a bit weird, but makes sense the first time you do it.

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

                                          Found may be a easier way of getting it on Windows 10.

                                          Install virt-manager xorg-x11-fonts-* xorg-x11-utils xorg-x11-xauth

                                          Then install MobaXterm
                                          https://mobaxterm.mobatek.net/download.html
                                          I've used the Home Edition
                                          2019_04_26_12_19_13_Window.png

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

                                            @hobbit666 Isn't that the same process, just replacing Xming with MobaXterm? All the rest seems to be the same effort?

                                            hobbit666H 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 5 / 6
                                            • First post
                                              Last post