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

    Fedora 26 KVM HTML5 Remote Access with Web-Console via Kimchi

    IT Discussion
    fedora 26 kimchi-project wok ginger kvm qemu html5
    11
    31
    7.5k
    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.
    • ObsolesceO
      Obsolesce
      last edited by

      I posted a guide on my blog about setting up a Fedora 26 KVM / QEMU hypervisor that uses the Kimchi-project for remote virtualization management, which includes a working web-based VM console.

      Here's the link: https://www.timothygruber.com/linux/fedora-26-kvm-html5-remote-access-with-web-console-via-kimchi-part-1/

      I hope it helps anyone who needs it as much as it would have helped me had I came across it a long time ago.

      It's easy to create on my blog because I can copy/paste images into the editor... it's like working inside of MS Word.

      I was thinking of recreating it on here for ML, but not sure if it's worth it or not, as well as the chance of hurting SEO.

      Should I take the time to do it and just change the wording a bit?

      magicmarkerM Emad RE 2 Replies Last reply Reply Quote 7
      • CloudKnightC
        CloudKnight
        last edited by

        Nice step by step Tim, are you using KIM yourself in production?

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

          @stuartjordan said in Fedora 26 KVM HTML5 Remote Access with Web-Console via Kimchi:

          Nice step by step Tim, are you using KIM yourself in production?

          Just one KVM server. The rest are VMWare and Hyper-V, though I'm actively replacing VMWare with KVM.

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

            Here's a screenshot some might appreciate. Here's how I installed the MATE Desktop via CLI:

            dnf -y group install "MATE Desktop"
            echo "exec /usr/bin/mate-session" >> ~/.xinitrc
            reboot now
            startx
            

            So, if you need it, it's there. But I wouldn't recommend installing the MATE Desktop group on production servers.

            0_1502054486407_Untitled.jpg

            1 Reply Last reply Reply Quote 0
            • magicmarkerM
              magicmarker @Obsolesce
              last edited by

              @tim_g I was looking for a decent GUI interface to build a KVM Hypervisor for a SAM-SD. See my post here. Thanks for posting this.

              ObsolesceO 1 Reply Last reply Reply Quote 0
              • DashrenderD
                Dashrender
                last edited by

                Cool - I need to move away from my XS setup. I need to give this a try.

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

                  @dashrender said in Fedora 26 KVM HTML5 Remote Access with Web-Console via Kimchi:

                  Cool - I need to move away from my XS setup. I need to give this a try.

                  Starwind will have an HTML 5 setup for KVM soon.

                  PenguinWranglerP ObsolesceO 2 Replies Last reply Reply Quote 3
                  • Emad RE
                    Emad R @Obsolesce
                    last edited by Emad R

                    @tim_g

                    I like , and I do use this but a couple of pointers:

                    Minimal setup can be:
                    wget http://kimchi-project.github.io/wok/downloads/latest/wok.el7.centos.noarch.rpm
                    wget http://kimchi-project.github.io/kimchi/downloads/latest/kimchi.el7.centos.noarch.rpm

                    Cause you are downloading this on server, and gingerbase is good and all, but it just provides the monitoring and shutdown of Host, which can be optional.

                    Secondly Kimchi is very modular, and you can stop it :

                    systemctl stop wokd
                    systemctl stop nginx
                    

                    And you are back to Vanilla KVM, what I do is I rely on cockpit and have those packages ready if needed. and start them manually / on demand. cause they do consume some RAM. but still very neat ESXi contender.

                    ObsolesceO 1 Reply Last reply Reply Quote 1
                    • PenguinWranglerP
                      PenguinWrangler @JaredBusch
                      last edited by

                      @jaredbusch said in Fedora 26 KVM HTML5 Remote Access with Web-Console via Kimchi:

                      @dashrender said in Fedora 26 KVM HTML5 Remote Access with Web-Console via Kimchi:

                      Cool - I need to move away from my XS setup. I need to give this a try.

                      Starwind will have an HTML 5 setup for KVM soon.

                      Do you have more info on this?

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

                        @penguinwrangler said in Fedora 26 KVM HTML5 Remote Access with Web-Console via Kimchi:

                        @jaredbusch said in Fedora 26 KVM HTML5 Remote Access with Web-Console via Kimchi:

                        @dashrender said in Fedora 26 KVM HTML5 Remote Access with Web-Console via Kimchi:

                        Cool - I need to move away from my XS setup. I need to give this a try.

                        Starwind will have an HTML 5 setup for KVM soon.

                        Do you have more info on this?

                        @KOOLER (from Starwind) posted about it this morning in another thread.

                        https://mangolassi.it/topic/14684/looking-for-virtualization-advice/34

                        PenguinWranglerP 1 Reply Last reply Reply Quote 2
                        • PenguinWranglerP
                          PenguinWrangler @JaredBusch
                          last edited by

                          @jaredbusch said in Fedora 26 KVM HTML5 Remote Access with Web-Console via Kimchi:

                          @penguinwrangler said in Fedora 26 KVM HTML5 Remote Access with Web-Console via Kimchi:

                          @jaredbusch said in Fedora 26 KVM HTML5 Remote Access with Web-Console via Kimchi:

                          @dashrender said in Fedora 26 KVM HTML5 Remote Access with Web-Console via Kimchi:

                          Cool - I need to move away from my XS setup. I need to give this a try.

                          Starwind will have an HTML 5 setup for KVM soon.

                          Do you have more info on this?

                          @KOOLER (from Starwind) posted about it this morning in another thread.

                          https://mangolassi.it/topic/14684/looking-for-virtualization-advice/34

                          I literally stopped reading that thread the post before his post! Got busy.

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

                            @magicmarker said in Fedora 26 KVM HTML5 Remote Access with Web-Console via Kimchi:

                            @tim_g I was looking for a decent GUI interface to build a KVM Hypervisor for a SAM-SD. See my post here. Thanks for posting this.

                            Ah, I completely missed that topic or I would have referenced this one in there for you.

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

                              @penguinwrangler said in Fedora 26 KVM HTML5 Remote Access with Web-Console via Kimchi:

                              @jaredbusch said in Fedora 26 KVM HTML5 Remote Access with Web-Console via Kimchi:

                              @penguinwrangler said in Fedora 26 KVM HTML5 Remote Access with Web-Console via Kimchi:

                              @jaredbusch said in Fedora 26 KVM HTML5 Remote Access with Web-Console via Kimchi:

                              @dashrender said in Fedora 26 KVM HTML5 Remote Access with Web-Console via Kimchi:

                              Cool - I need to move away from my XS setup. I need to give this a try.

                              Starwind will have an HTML 5 setup for KVM soon.

                              Do you have more info on this?

                              @KOOLER (from Starwind) posted about it this morning in another thread.

                              https://mangolassi.it/topic/14684/looking-for-virtualization-advice/34

                              I literally stopped reading that thread the post before his post! Got busy.

                              Lol, me too!

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

                                @jaredbusch said in Fedora 26 KVM HTML5 Remote Access with Web-Console via Kimchi:

                                @dashrender said in Fedora 26 KVM HTML5 Remote Access with Web-Console via Kimchi:

                                Cool - I need to move away from my XS setup. I need to give this a try.

                                Starwind will have an HTML 5 setup for KVM soon.

                                I hope it's nice and featureful.

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

                                  I was also able to remotely connect to the hypervisor on my Korora 25 laptop via VMM.

                                  Caveat: I'm able to manage the VMs settings, but not view through the console. It just keeps repeatedly asking me for the password. No issues adding/removing a NIC, though.

                                  I have some more things to try. I'll report back with results. Anyone else run in to this connecting to a remote host? Maybe it has to do with the VPN connection...

                                  PenguinWranglerP 1 Reply Last reply Reply Quote 0
                                  • PenguinWranglerP
                                    PenguinWrangler @Obsolesce
                                    last edited by

                                    @tim_g said in Fedora 26 KVM HTML5 Remote Access with Web-Console via Kimchi:

                                    I was also able to remotely connect to the hypervisor on my Korora 25 laptop via VMM.

                                    Caveat: I'm able to manage the VMs settings, but not view through the console. It just keeps repeatedly asking me for the password. No issues adding/removing a NIC, though.

                                    I have some more things to try. I'll report back with results. Anyone else run in to this connecting to a remote host? Maybe it has to do with the VPN connection...

                                    Change your Display in the virtual machine in VMM from SPICE to VNC

                                    stacksofplatesS ObsolesceO 2 Replies Last reply Reply Quote 0
                                    • stacksofplatesS
                                      stacksofplates @PenguinWrangler
                                      last edited by

                                      @penguinwrangler said in Fedora 26 KVM HTML5 Remote Access with Web-Console via Kimchi:

                                      @tim_g said in Fedora 26 KVM HTML5 Remote Access with Web-Console via Kimchi:

                                      I was also able to remotely connect to the hypervisor on my Korora 25 laptop via VMM.

                                      Caveat: I'm able to manage the VMs settings, but not view through the console. It just keeps repeatedly asking me for the password. No issues adding/removing a NIC, though.

                                      I have some more things to try. I'll report back with results. Anyone else run in to this connecting to a remote host? Maybe it has to do with the VPN connection...

                                      Change your Display in the virtual machine in VMM from SPICE to VNC

                                      SPICE sets up a channel for each item. If you set up key based access it won't do that any more. Adding your user to the libvirt group helps management a lot also.

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

                                        @penguinwrangler said in Fedora 26 KVM HTML5 Remote Access with Web-Console via Kimchi:

                                        @tim_g said in Fedora 26 KVM HTML5 Remote Access with Web-Console via Kimchi:

                                        I was also able to remotely connect to the hypervisor on my Korora 25 laptop via VMM.

                                        Caveat: I'm able to manage the VMs settings, but not view through the console. It just keeps repeatedly asking me for the password. No issues adding/removing a NIC, though.

                                        I have some more things to try. I'll report back with results. Anyone else run in to this connecting to a remote host? Maybe it has to do with the VPN connection...

                                        Change your Display in the virtual machine in VMM from SPICE to VNC

                                        If I use VNC, then the webconsole won't work. Id prefer to keep using spice if possible, or find a way to make VNC work.

                                        I will switch it later to see if that resolves the VMM issue.

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

                                          @tim_g said in Fedora 26 KVM HTML5 Remote Access with Web-Console via Kimchi:

                                          @penguinwrangler said in Fedora 26 KVM HTML5 Remote Access with Web-Console via Kimchi:

                                          @tim_g said in Fedora 26 KVM HTML5 Remote Access with Web-Console via Kimchi:

                                          I was also able to remotely connect to the hypervisor on my Korora 25 laptop via VMM.

                                          Caveat: I'm able to manage the VMs settings, but not view through the console. It just keeps repeatedly asking me for the password. No issues adding/removing a NIC, though.

                                          I have some more things to try. I'll report back with results. Anyone else run in to this connecting to a remote host? Maybe it has to do with the VPN connection...

                                          Change your Display in the virtual machine in VMM from SPICE to VNC

                                          If I use VNC, then the webconsole won't work. Id prefer to keep using spice if possible, or find a way to make VNC work.

                                          I will switch it later to see if that resolves the VMM issue.

                                          Okay, so SPICE does work remotely on my Korora laptop via VMM. I just didn't type in my password enough times. It asks for it 6 times before it displays the VM, and there's about a 7-8 second delay when the VM is not running a GUI. After I "startx", then it seems fine, though just a bit laggy.

                                          I also tried switching to VNC, and that just straight up doesn't work. At this point it's just a time sink to get working since SPICE seems to work fine everywhere.

                                          stacksofplatesS 1 Reply Last reply Reply Quote 0
                                          • FATeknollogeeF
                                            FATeknollogee
                                            last edited by

                                            @Tim_G Is this is just a 1:1 or can you use this install to manage multiple KVM hosts?

                                            ObsolesceO 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 2 / 2
                                            • First post
                                              Last post