This is an old revision of the document!
xsconsole
.xsconsole
is the built-in text-mode console on XenServer.xsconsole
is useful, but it doesn't provide guest console visibility.xsconsole
at the CLI.
You can get partial functionality by simply forwarding port 443 into the XenServer.
The easiest way I've found to access the console of a VM running on a XenServer behind NAT is:
You can determine which VNC port is assigned to which VM like this:
Log into the XenServer via SSH:
ssh -p 22222 -l root <your-remote-xenserver>
Determine the domain ID and VNC port of your target VM:
xe vm-list list_domains netstat -lp|grep -w <domid> |awk '{print $4}'|cut -d: -f2
Now you can forward the port(s) and access the VNC console of the VM from another terminal on your remote workstation:
ssh -p 22222 -l root -L <local-vnc-port>:localhost:<vm-vnc-port> <your-remote-xenserver> vncviewer localhost:<last-vnc-port-digit>