7.6. Connecting to Virtual Environments via VNC¶
Virtuozzo Automator allows you to connect to and manage running virtual environments via the built-in VNC client accessible on the Console tab.
You can enable VNC access to a virtual environment when creating it or by configuring its settings in the Remote Display group on the General Settings screen. For the detailed information, see Defining General Settings and Defining Virtual Machine General Settings.
To view the virtual environment console in full screen, click Fullscreen. To exit the fullscreen mode, press
To open the virtual environment console in a new browser window, click Detach Console.
To send a key combination to a virtual environment, choose one from the Send key combination drop-down list below the console and click Send keys.
7.6.1. Using Encrypted VNC Connections¶
Encryption is enabled for the entire physical server.
To configure VNC encryption on Virtuozzo Hybrid Server 7, perform the following steps on said server:
Generate private and public keys:
# openssl genrsa -out vz7-1.key 1024 # openssl req -new -key vz7-1.key -out vz7-1.csr # openssl x509 -req -days 365 -in vz7-1.csr -signkey vz7-1.key -out vz7-1.crt
Assign the created keys to VNC connections:
# prlsrvctl set --vnc-public-key vz7-1.crt --vnc-private-key vz7-1.key
Restart all running virtual environments on the server.
To disable encryption, run the following command on the slave server:
# prlsrvctl set --vnc-public-key "" --vnc-private-key ""
For Virtuozzo 6 servers, VNC encryption is configured by enabling the
vzpp-desktop offline service for the corresponding virtual environment or globally for the entire physical server (see Managing Offline Services Configuration).