4.5. Configuring Console Options
4.5.1. Console Options
Connection protocols are the underlying technology used to provide graphical consoles for virtual machines and allow users to work with virtual machines in a similar way as they would with physical machines. Red Hat Virtualization currently supports the following connection protocols:
Simple Protocol for Independent Computing Environments (SPICE) is the recommended connection protocol for both Linux virtual machines and Windows virtual machines. To open a console to a virtual machine using SPICE, use Remote Viewer.
Virtual Network Computing (VNC) can be used to open consoles to both Linux virtual machines and Windows virtual machines. To open a console to a virtual machine using VNC, use Remote Viewer or a VNC client.
Remote Desktop Protocol (RDP) can only be used to open consoles to Windows virtual machines, and is only available when you access a virtual machines from a Windows machine on which Remote Desktop has been installed. Before you can connect to a Windows virtual machine using RDP, you must set up remote sharing on the virtual machine and configure the firewall to allow remote desktop connections.
SPICE is not supported on virtual machines running Windows 8 or Windows 8.1. If a virtual machine running one of these operating systems is configured to use the SPICE protocol, it detects the absence of the required SPICE drivers and runs in VGA compatibility mode.
4.5.2. Accessing Console Options
You can configure several options for opening graphical consoles for virtual machines in the Administration Portal.
- Click Compute → Virtual Machines and select a running virtual machine.
- Click Console → Console Options.
You can configure the connection protocols and video type in the Console tab of the Edit Virtual Machine window in the Administration Portal. Additional options specific to each of the connection protocols, such as the keyboard layout when using the VNC connection protocol, can be configured. See Virtual Machine Console settings explained for more information.
4.5.3. SPICE Console Options
When the SPICE connection protocol is selected, the following options are available in the Console Options window.
Map control-alt-del shortcut to ctrl+alt+end: Select this check box to map the
Delkey combination to
Endinside the virtual machine.
- Enable USB Auto-Share: Select this check box to automatically redirect USB devices to the virtual machine. If this option is not selected, USB devices will connect to the client machine instead of the guest virtual machine. To use the USB device on the guest machine, manually enable it in the SPICE client menu.
Open in Full Screen: Select this check box for the virtual machine console to automatically open in full screen when you connect to the virtual machine. Press
F11to toggle full screen mode on or off.
- Enable SPICE Proxy: Select this check box to enable the SPICE proxy.
4.5.4. VNC Console Options
When the VNC connection protocol is selected, the following options are available in the Console Options window.
- Native Client: When you connect to the console of the virtual machine, a file download dialog provides you with a file that opens a console to the virtual machine via Remote Viewer.
- noVNC: When you connect to the console of the virtual machine, a browser tab is opened that acts as the console.
Map control-alt-delete shortcut to ctrl+alt+end: Select this check box to map the
Delkey combination to
Endinside the virtual machine.
4.5.5. RDP Console Options
When the RDP connection protocol is selected, the following options are available in the Console Options window.
- Auto: The Manager automatically selects the method for invoking the console.
- Native client: When you connect to the console of the virtual machine, a file download dialog provides you with a file that opens a console to the virtual machine via Remote Desktop.
- Use Local Drives: Select this check box to make the drives on the client machine accessible on the guest virtual machine.
4.5.6. Remote Viewer Options
188.8.131.52. Remote Viewer Options
When you specify the Native client console invocation option, you will connect to virtual machines using Remote Viewer. The Remote Viewer window provides a number of options for interacting with the virtual machine to which it is connected.
Table 4.1. Remote Viewer Options
The About entry displays the version details of Virtual Machine Viewer that you are using.
Release Cursor from Virtual Machine
184.108.40.206. Remote Viewer Hotkeys
You can access the hotkeys for a virtual machine in both full screen mode and windowed mode. If you are using full screen mode, you can display the menu containing the button for hotkeys by moving the mouse pointer to the middle of the top of the screen. If you are using windowed mode, you can access the hotkeys via the Send key menu on the virtual machine window title bar.
vdagent is not running on the client machine, the mouse can become captured in a virtual machine window if it is used inside a virtual machine and the virtual machine is not in full screen. To unlock the mouse, press
220.127.116.11. Manually Associating console.vv Files with Remote Viewer
If you are prompted to download a console.vv file when attempting to open a console to a virtual machine using the native client console option, and Remote Viewer is already installed, then you can manually associate console.vv files with Remote Viewer so that Remote Viewer can automatically use those files to open consoles.
Manually Associating console.vv Files with Remote Viewer
- Start the virtual machine.
Open the Console Options window:
- In the Administration Portal, click Console → Console Options.
- In the VM Portal, click the virtual machine name and click the pencil icon beside Console.
- Change the console invocation method to Native client and click OK.
- Attempt to open a console to the virtual machine, then click Save when prompted to open or save the console.vv file.
- Click the location on your local machine where you saved the file.
- Double-click the console.vv file and select Select a program from a list of installed programs when prompted.
- In the Open with window, select Always use the selected program to open this kind of file and click the Browse button.
- Click the C:\Users_[user name]_\AppData\Local\virt-viewer\bin directory and select remote-viewer.exe.
- Click Open and then click OK.
When you use the native client console invocation option to open a console to a virtual machine, Remote Viewer will automatically use the console.vv file that the Red Hat Virtualization Manager provides to open a console to that virtual machine without prompting you to select the application to use.