VNC Client Access: Difference between revisions

From Proxmox VE
Jump to navigation Jump to search
(Replacement for outdated artice VNC 2.0)
 
No edit summary
Line 15: Line 15:


* Connect from VNC client to Proxmox host ip address and port  as specified (5977 in the example above)
* Connect from VNC client to Proxmox host ip address and port  as specified (5977 in the example above)
[[Category: HOWTO]]

Revision as of 07:19, 13 October 2016

Standard Console Access

As default Proxmox provides access via [noVNC] and/or SPICE and it is recommended to use this access whenever possible. If there are some reasons to have browser independent access it is possible to use an ordinary VNC client.

Enabling Access from other VNC clients

It is possible to enable the VNC access for use with usual VNC clients as RealVNC, TightVNC, Remmina etc.

  • Add in the VM´s configuration file /etc/pve/local/qemu-server/<KVM ID>.conf a line which specifies the VNC display number as follows ("77" in the example bleow):
args: -vnc 0.0.0.0:77 

The display number can be freely chosen, but each number must occur only once. VNC service listens then at port 5900+display_number. Note that connections via noVNC start using display number 0 consecutively therefore it´s recommended to use higher numbers in order to avoid conflicts.

  • Connect from VNC client to Proxmox host ip address and port as specified (5977 in the example above)