Skip to content

Instantly share code, notes, and snippets.

@bsa7
Last active August 29, 2015 14:02
Show Gist options
  • Select an option

  • Save bsa7/f44c9e7a1e1ab6af288c to your computer and use it in GitHub Desktop.

Select an option

Save bsa7/f44c9e7a1e1ab6af288c to your computer and use it in GitHub Desktop.
xenserver: detect vnc port of vm

select your vm:

xe vm-list

detect id of dom of its vm:

xe vm-param-list uuid=8e2dd6ac-4883-0e6e-5cce-afbf214fa916 | grep dom-id

read vnc port by that dom_id:

xenstore-read /local/domain/18/console/vnc-port

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment