vncproxy dosent work with external vncviewer

spcvlt

Renowned Member
Sep 10, 2016
10
0
66
28
Hello at all,
i want to use a kvm server with an external vnc viewer under mac os.

Code:
root@kvm0:~# nc -l -p 5900 -c "qm vncproxy 102 supersecret"
400 wrong number of arguments
qm vncproxy <vmid>
root@kvm0:~#
or without a password
Code:
root@kvm0:~# nc -l -p 5900 -c "qm vncproxy 102"
root@kvm0:~#

booth methods, dosent work with my vnc viewer. can anyone help me?

I use Proxmox 3.x
Code:
proxmox-ve-2.6.32: 3.4-156 (running kernel: 2.6.32-39-pve)
pve-manager: 3.4-15 (running version: 3.4-15/e1daa307)
pve-kernel-2.6.32-39-pve: 2.6.32-157
lvm2: 2.02.98-pve4
clvm: 2.02.98-pve4
corosync-pve: 1.4.7-1
openais-pve: 1.1.4-3
libqb0: 0.11.1-2
redhat-cluster-pve: 3.2.0-2
resource-agents-pve: 3.9.2-4
fence-agents-pve: 4.0.10-3
pve-cluster: 3.0-20
qemu-server: 3.4-9
pve-firmware: 1.1-5
libpve-common-perl: 3.0-27
libpve-access-control: 3.0-16
libpve-storage-perl: 3.0-35
pve-libspice-server1: 0.12.4-3
vncterm: 1.1-8
vzctl: 4.0-1pve6
vzprocps: 2.0.11-2
vzquota: 3.1-2
pve-qemu-kvm: 2.2-27
ksm-control-daemon: 1.1-1
glusterfs-client: 3.5.2-1
Bildschirmfoto 2016-09-10 um 21.45.32.png
 
Last edited:
Hi,

see the output of
qm showcmd <vmid>
this will shows you where the socket of vnc is set.
 
okay. this is the socket:
Code:
-vnc unix:/var/run/qemu-server/102.vnc

What should be set here?