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

    Is there something like VMRC (VMware Remote Console) for XCP-ng?

    Scheduled Pinned Locked Moved Compute
    16 Posts 8 Posters 5.9k Views 5 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.
    • ForzaF Offline
      Forza @Linuxmonger 0
      last edited by

      @Linuxmonger-0 you can also use XCP-ng Center which is a windows client which has detachable graphical consoles.

      1 Reply Last reply Reply Quote 0
      • A Offline
        alejandro-anv @tomg
        last edited by

        @tomg said in Is there something like VMRC (VMware Remote Console) for XCP-ng?:

        If you don't want to use mgmt software like Xen Orchestra you could just connect to the VNC console of the remote VM. This used to work via TCP ports but as of of a few years back qemu started using UNIX sockets by default for the VNC console.

        You can see the option being passed by qemu at run time

        -vnc unix:/var/run/xen/vnc-3,lock-key-sync=off

        where 3 is the domain ID of the domU.

        SSH supports UNIX socket forwarding but I had a hard time getting it to work with qemu's VNC socket, it could be umask issue but I didn't look further into it. Socat works well, the only caveat being you need to install it on the Xen host. Here is a write up on how to use it

        https://www.nico.schottelius.org/blog/tunneling-qemu-kvm-unix-socket-via-ssh/

        HTH

        I think this is the right way. It should not be difficult to make a script that determines the port associated to a VM and lanuch ssh with the right parameters to tunnel the port.

        L 1 Reply Last reply Reply Quote 0
        • L Offline
          lior.assaf @alejandro-anv
          last edited by

          On the similar lines, im looking for something light like novnc or spice for thin clients.
          VMware solved this with Vmrc , AWS solve it , even Proxmox - this is a big issues for me
          Any suggestions will be more than welcome

          1 Reply Last reply Reply Quote 0
          • L Offline
            Linuxmonger @olivierlambert
            last edited by Linuxmonger

            @olivierlambert Is there a way to make Xen Orchestra run a session full screen without the lag of the https connection?
            At this point, I'm running xrdp on my Linux machines, and access everything from a shell script that I hard-link with different names;

            #!/bin/bash
            
            # Name the script the same as the machine you want to log into
            Server=$(basename ${0})
            
            # Get the credentials into an aray from .netrc, keys are the even references, values are the odds.
            Creds=($(grep -A 2 "machine ${Server}" ~/.netrc))
            
            # Open RDP session to the server, /sound and /microphone let Zoom work, opens full screen across multiple monitors.
            xfreerdp /f /sound /microphone /multimon /u:${Creds[3]} /p:"${Creds[5]}" /v:${Server}
            
            # Use <Ctrl>-<Alt>-<Enter> to switch fullscreen and allow disconnect
            

            Argh, why doesn't this keep carriage returns the way they were typed?

            K 1 Reply Last reply Reply Quote 0
            • K Offline
              KPS Top contributor @Linuxmonger
              last edited by

              As long as XCP-ng-center is working, you can use it's VM-console which does also support full-screen.

              1 Reply Last reply Reply Quote 1
              • L Offline
                lior.assaf @olivierlambert
                last edited by

                @olivierlambert said in Is there something like VMRC (VMware Remote Console) for XCP-ng?:

                usage

                we are looking for something like this : https://www.youtube.com/watch?v=oLatrZBFQrw

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

                  If you want a VDI experience, you should use UDS Enterprise for example 🙂

                  L 1 Reply Last reply Reply Quote 0
                  • L Offline
                    lior.assaf @olivierlambert
                    last edited by

                    @olivierlambert - can I add a virtual sound card at least ?

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

                      I would say it's up to you to install stuff in the VM operating system to do remote things (it's not my area of expertise, but I'm sure there's many software doing what you want). Except to report the IP address and minor info, we don't deal with what's inside the VM in XCP-ng/XO.

                      L 1 Reply Last reply Reply Quote 0
                      • L Offline
                        lior.assaf @olivierlambert
                        last edited by

                        @olivierlambert - thank you. For enterprise gear, it's working perfectly, as I'm looking into the home lab community less, but I must mention that the support here in the XCP-NG forum is great !!

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