2017年5月13日 星期六

PaaS: VNC Client Access

Configure VNC Access via Monitor

  1. Go to VM´s 'Monitor' panel in the web interface.
  2. You can setup a plain VNC or also a password secured one:
    • for the plain one type the following into the monitor:
    change vnc 0.0.0.0:100
    100 denotes the port, this will get added to the VNC base port of 5900, so in this case the VNC server listens on all addresses on port 6000.
    • for the password secured one type the following into the monitor:
    change vnc 0.0.0.0:100,password
    set_password vnc foobar1
    note: the first "password" parameter after the IP address mustn't be replaced by a password but is the word "password" itself, this is just a boolean parameter telling QEMU that the server needs a password.
  3. now you may connect via the ip address and port (6000 in the above example)
The configuration is not persistent, i.e. after the VM has been stopped and started again the above actions have to be repeated in order to enable VNC access via external client.
REF: https://pve.proxmox.com/wiki/VNC_Client_Access

沒有留言:

張貼留言