Advertisement
gregmark

OpenStack or Bust, Part 10: connect to vm from vncviewer

Mar 20th, 2013
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.36 KB | None | 0 0
  1. # On the compute node, get the vnc port from the kvm command line
  2. root@kvm-sn-10i:~# cat /proc/$(ps -C kvm -o pid --no-headings)/cmdline | xargs -0n1 echo | grep -A1 vnc
  3. -vnc
  4. 0.0.0.0:0
  5.  
  6. # Now connect from your workstation/laptop/whatever:
  7.  
  8. gchavez@tyrone:~> vncviewer localhost:0 -via ubuntu@kvm-sn-10i
  9.  
  10. # This assumes you have RealVNC and X installed on a Mac
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement