XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Icon appears in the XOA interface

    Scheduled Pinned Locked Moved Management
    12 Posts 6 Posters 398 Views 4 Watching
    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.
    • eurodrigoliraE Offline
      eurodrigolira
      last edited by

      After compiling the necessary kernel packages and configuring the xe-guest-utilities in Slackware, no icon appears in the XOA interface. Do you have any tips on where I can adjust this to appear?

      Screenshot_20240301_213225.png

      Maelstrom96M 1 Reply Last reply Reply Quote 0
      • DanpD Offline
        Danp Pro Support Team
        last edited by

        What is the base OS? Also, this may not matter, but that template did you use to create the VM?

        eurodrigoliraE 1 Reply Last reply Reply Quote 0
        • eurodrigoliraE Offline
          eurodrigolira @Danp
          last edited by

          Danp Slackware does not have a base OS, it is the basis for other OS, just like Debian.

          Hardware virtualization with paravirtualization drivers enabled (PVHVM)

          1 Reply Last reply Reply Quote 0
          • DanpD Offline
            Danp Pro Support Team
            last edited by

            The process of adding new icons is supposed to be easier in XO6. You may want to open an issue on Github requesting the addition of this icon.

            1 Reply Last reply Reply Quote 0
            • Maelstrom96M Offline
              Maelstrom96 @eurodrigolira
              last edited by

              eurodrigolira Sorry to revive this topic, but do you have pointers on how to build a slackware package for xe-guest-utilities? I'm trying to add the VM guest tools to UnRAID and I'm not having much luck.

              yannY 1 Reply Last reply Reply Quote 0
              • olivierlambertO Online
                olivierlambert Vates 🪐 Co-Founder CEO
                last edited by

                You should try with the new Rust binary, it will be a lot easier: https://gitlab.com/xen-project/xen-guest-agent

                If you have questions about it, ask yann or TeddyAstie

                Maelstrom96M 1 Reply Last reply Reply Quote 0
                • Maelstrom96M Offline
                  Maelstrom96 @olivierlambert
                  last edited by

                  olivierlambert Thanks for the suggestion! The problem is I have no idea where I would start to build it for Slackware. I'll see if I can figure it out but with my research, I'm not quite sure I'll be able to.

                  1 Reply Last reply Reply Quote 0
                  • olivierlambertO Online
                    olivierlambert Vates 🪐 Co-Founder CEO
                    last edited by

                    That's a good question, I think any Rust toolchain should be able to build it. But TeddyAstie and/or yann will answer that better than me!

                    1 Reply Last reply Reply Quote 0
                    • TeddyAstieT Offline
                      TeddyAstie Vates 🪐 XCP-ng Team Xen Guru
                      last edited by

                      It's something on XO side IIRC.
                      XO needs to have icons for Slackware as it doesn't have it yet.

                      1 Reply Last reply Reply Quote 0
                      • olivierlambertO Online
                        olivierlambert Vates 🪐 Co-Founder CEO
                        last edited by

                        We won't add icons in XO 5 anymore, but for XO 6 yes, we'll have a better system so anyone could contribute easily. The question TeddyAstie was about building the Rust tools on Slackware 😉

                        1 Reply Last reply Reply Quote 0
                        • TeddyAstieT Offline
                          TeddyAstie Vates 🪐 XCP-ng Team Xen Guru
                          last edited by

                          The guest agent is built like any Rust program (so basically getting the toolchain with rustup, then cargo build --release in the guest agent directory).
                          Currently, there is some dependency on Xen-specific libraries unless https://gitlab.com/xen-project/xen-guest-agent/-/merge_requests/93 is merged (poke yann).

                          Alternatively take the Linux x86 64bit executable in https://gitlab.com/xen-project/xen-guest-agent/-/releases (which I assume works on Slackware).

                          1 Reply Last reply Reply Quote 0
                          • yannY Offline
                            yann Vates 🪐 XCP-ng Team @Maelstrom96
                            last edited by yann

                            Maelstrom96 said in Icon appears in the XOA interface:

                            do you have pointers on how to build a slackware package for xe-guest-utilities?

                            If you still want to have a try at building (even though that will not let XO show an icon) the first question is, do you really want to build a slackware package (as in "contribute a package to Slackware so it is available to all Slackware users), or just get it built.
                            In the latter case, TeddyAstie answered already, but if you really want to get into packaging, you should look on the Slackware side (e.g. here). I would have added "you may also want to have a look at any existing packaging of a Rust program", but given how "unstructured" the whole thing seems to be (I stand quite surprised of those 1995-looking all-manual instructions), you should be able to build a package once you've built the binary using rustup.

                            1 Reply Last reply Reply Quote 0
                            • First post
                              Last post