Quantcast
Channel: VMware Communities : Popular Discussions - VIX API
Viewing all articles
Browse latest Browse all 34639

Modifying built-in VNC server configuration

$
0
0

I am experimenting with some code where I want to switch on the VNC server inside Workstation 7.1.2 via the VIX API by writing to runtime configuration variables. At the moment just using vmrun to do this but does not seem to work. So the commands being used are:

 

vmrun writeVariable  runtimeConfig  RemoteDisplay.vnc.port 5900

 

Reading these back via the readVariable command shows that they have been set correctly. However then using VNC viewer to connect to the localhost:5900 port fails. By contrast if I enable it in the running guest via the Settings dialog I am able to successfully connect to the guest via VNC.

 

Is this a bug, wrong commands or just not supported?


Viewing all articles
Browse latest Browse all 34639

Trending Articles