VNC connection

pvenub

Member
Mar 17, 2014
38
0
6
Can anyone help point me in the correct direction for enabling users beside root@pam to connect via external VNC client?

One of the last relevant posts I found regarding this issue was from several years back and I cannot find anything further. Post
is here: http://forum.proxmox.com/threads/7155-External-VNC-Client

I also followed the protocol from the wiki for old VNC clients, which works and I would like to use, though I cannot figure out how to implement the password. When I add the pw
to the end of the config (nano /etc/pve/local/qemu-server/100.conf), the pw simply does not take effect when attempting connection, even after restarting services, vm and host. As well,
this method seems to disable the use of the web gui console vnc connection...
https://pve.proxmox.com/wiki/Vnc_2.0

Much appreciated,
the nub
 
Last edited:
Thanks for the link Marco...

That protocol looks a bit sophisticated and doesn't look too stable?...

Is there no way to simply use the /etc/inetd.conf with another user other than root@pam? Or anyone know how I can implements the
vnc password for the old vnc client setup?
 
Is there no way to simply use the /etc/inetd.conf with another user other than root@pam? Or anyone know how I can implements the
vnc password for the old vnc client setup?

Just create a new user on the GUI. Then allow access to tho the VM for that user (permission tab). That is all.
 
If it is really that easy I feel more stupid than I did five minutes ago... ;)

Will the user will be ****@pam and will I still need to use the root password or does user get their own?

Thanks mucho
 
Dietmar,

when adding permissions for the user, what role do I assign, PVEVMuser? As well, not sure what the PATH ought to be, /usr/share/vncterm/VncViewer.jar for the particual VM I want to
allow them VNC access rights to?

apologize for my ignorance,
 
Last edited:
when adding permissions for the user, what role do I assign, PVEVMuser?

Yes (PVEVMUser include VM.Console permissions).

As well, not sure what the PATH ought to be, /usr/share/vncterm/VncViewer.jar for the particual VM I want to
allow them VNC access rights to?

Why do you need a path? Just use the GUI and go to the VM/Permission tab and add the user there.
 
Just create a new user on the GUI. Then allow access to tho the VM for that user (permission tab). That is all.

I have a pool with vm and user, that's already able to connect with spice (downloading and using ticket): can I also connect with vnc on windows?

I am a bit lost in what is needed on the vm side (configs) and what URL to use in the vnc client

Marco
 
m.ardito,

I installed inetd and used the second config for inetd config referred to in this wiki https://pve.proxmox.com/wiki/Vnc_2.0 ... then as Dietmar informed me above in the thread, add a user to the datacenter pve realm,
then add that user to the vm as a vmuser. Then login via tiger vnc (tls client) and use user@pve and the password for that user that was created for the pve realm. the vnc will connect to the machine you have
configured for that port in the inetd config...

Dietmar, got the permissions worked out. Wonderful piece of software, thankyou.