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

    Root password to ssh into xoce

    Scheduled Pinned Locked Moved Solved Xen Orchestra
    9 Posts 3 Posters 4.0k Views 2 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.
    • M Offline
      mrchip
      last edited by

      Ultimately I want to change the ip of my xo vm. After reading the docs it looks like I have to edit via the cli. My passwords do not work on the cli (they work to log into the xo-ce gui & set as admin.

      I can log into the webconfig of XO. I am trying both from the vm console "xo-ce login:" and ssh in as user root. None of my passwords work. I tried creating a new user called root in the webconfig & reboot...that didn't work.

      All the documentation I read says to use the cli but that's the problem. Within the webconfig I can't even reboot xo-ce as the operation is blocked. I was hoping to 'e' the boot process and rw init=/bin/bash to gain access.

      Any ideas how to reset the root password to gain cli access? NOTE: I can access the shell of xcp-ng (but I think that's irrelevant)

      Thanks for any help

      DanpD 1 Reply Last reply Reply Quote 0
      • M Offline
        mrchip
        last edited by

        Figured it out!
        1st thing...thank you for your quick responses.

        If anyone else is having problems here was my problem/solution. I had originally installed using a github script from ronivay (not sure if I can put full links in here but google github ronivay XenOrchestraInstallerUpdater...better yet youtube "How To Build XO From Sources on Debian 10 Using XenOrchestraInstallerUpdater" big thankyou to Lawrence Systems.

        From there I went into the readme.md where it said the username is xo and pass is xopass (I actually had changed my password but was missing the u/n of xo). Then I got in...hope it helps someone else.

        Who new that rtfm would actually work? (Collective forehead smack of all the admins heard across the internet). In all honesty I did read the xcp-ng docs before posting but was looking in the wrong area as I had run the github script so thanks again oliverlambert and Danp for pointing me in the right direction.

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

          Hi,

          What's xoce?

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

            @mrchip What OS? I'm guessing Ubuntu, which would mean that you setup a new user ID when the OS was installed. That's the user ID that you should use to login to the console.

            How did you install XO(CE)? Did you follow the official docs or use one of the available scripts?

            @olivierlambert Why the disingenuous response? 😦

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

              @Danp I have no idea what's xoce in this context, frankly 😞 Is it build from sources directly via our official doc? or via a 3rd party repo? Some 3rd party scripts are using this terms, but it's really confusing (as I already told in the past), and that's a good demonstration.

              1 Reply Last reply Reply Quote 0
              • M Offline
                mrchip @olivierlambert
                last edited by

                @olivierlambert xoce = xen orchestra - community edition

                1 Reply Last reply Reply Quote 0
                • M Offline
                  mrchip
                  last edited by mrchip

                  Good questions & I can't remember the actually script. Orginally I installed XCP-NG then did a yum update, then ran the command. It was from a youtube video that LTS (lawrence - also a member here) put up. I thought I would check it out in my home lab.
                  I'll go through the video and find out the command I used.

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

                    Okay, it's important to know how did you install it, and that's only where you could ask an answer (as explained in the doc, see the yellow warning: https://xen-orchestra.com/docs/community.html)

                    Obviously, depending on the way you did the install, the answer can be different: if it's within a Docker container, a VM you installed yourself (so you entered the password yourself at some point), on a 3rd party script doing "we don't know what" etc. 🤷 Context matters 🙂

                    Happy to help if we can though 🙂

                    1 Reply Last reply Reply Quote 0
                    • M Offline
                      mrchip
                      last edited by

                      Figured it out!
                      1st thing...thank you for your quick responses.

                      If anyone else is having problems here was my problem/solution. I had originally installed using a github script from ronivay (not sure if I can put full links in here but google github ronivay XenOrchestraInstallerUpdater...better yet youtube "How To Build XO From Sources on Debian 10 Using XenOrchestraInstallerUpdater" big thankyou to Lawrence Systems.

                      From there I went into the readme.md where it said the username is xo and pass is xopass (I actually had changed my password but was missing the u/n of xo). Then I got in...hope it helps someone else.

                      Who new that rtfm would actually work? (Collective forehead smack of all the admins heard across the internet). In all honesty I did read the xcp-ng docs before posting but was looking in the wrong area as I had run the github script so thanks again oliverlambert and Danp for pointing me in the right direction.

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

                        No problem @mrchip 🙂 You are welcome. If you explain your issue with enough context, everyone is happy to help!

                        1 Reply Last reply Reply Quote 0
                        • olivierlambertO olivierlambert marked this topic as a question on
                        • olivierlambertO olivierlambert has marked this topic as solved on
                        • First post
                          Last post