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
-
@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
Why?
Also, XO Lite is coming then (you can already test it)
-
Because it sounds like he's setting up a thin client. No need to have cluster management software running. I understand that you're pushing the use of your project, I get that, it's your baby and I'll be the first to salute you on an amazing job done but he should be made aware of all the possibilities. Knowledge is power.
-
I still don't get the usage. You have 2 software already allowing VNC access remotely, XO Lite and Xen Orchestra, they are open source and free
If you want to do remote desktop, then it's another story (UDS or Citrix Desktop).
-
@Linuxmonger-0 you can also use XCP-ng Center which is a windows client which has detachable graphical consoles.
-
@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.
-
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 -
@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?
-
As long as XCP-ng-center is working, you can use it's VM-console which does also support full-screen.
-
@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
-
If you want a VDI experience, you should use UDS Enterprise for example
-
@olivierlambert - can I add a virtual sound card at least ?
-
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.
-
@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 !!