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:
SPICE
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.
VNC
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.
RDP
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 currently supported on virtual machines running Windows 8. If a Windows 8 virtual machine is configured to use the SPICE protocol, it will detect the absence of the required SPICE drivers and automatically fall back to using RDP.
4.5.1.1. Accessing Console Options
You can configure several options for opening graphical consoles for virtual machines in the Administration Portal.
Accessing Console Options
-
Click
and select a running virtual machine. -
Click
.
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 Section A.1.4, “Virtual Machine Console Settings Explained” for more information.
4.5.1.2. SPICE Console Options
When the SPICE connection protocol is selected, the following options are available in the Console Options window.
SPICE Options
-
Map control-alt-del shortcut to ctrl+alt+end: Select this check box to map the
Ctrl
+Alt
+Del
key combination toCtrl
+Alt
+End
inside 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
SHIFT
+F11
to toggle full screen mode on or off. - Enable SPICE Proxy: Select this check box to enable the SPICE proxy.
4.5.1.3. VNC Console Options
When the VNC connection protocol is selected, the following options are available in the Console Options window.
Console Invocation
- 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.
VNC Options
-
Map control-alt-delete shortcut to ctrl+alt+end: Select this check box to map the
Ctrl
+Alt
+Del
key combination toCtrl
+Alt
+End
inside the virtual machine.
4.5.1.4. RDP Console Options
When the RDP connection protocol is selected, the following options are available in the Console Options window.
Console Invocation
- 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.
RDP Options
- Use Local Drives: Select this check box to make the drives on the client machine accessible on the guest virtual machine.
4.5.2. Remote Viewer Options
4.5.2.1. 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.
Option | Hotkey |
---|---|
File |
|
View |
|
Send key |
|
Help | The About entry displays the version details of Virtual Machine Viewer that you are using. |
Release Cursor from Virtual Machine |
|
4.5.2.2. 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.
If 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 Shift
+ F12
.
4.5.2.3. 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
. - In the VM Portal, click the virtual machine name and click the pencil icon beside Console.
-
In the Administration Portal, click
- Change the console invocation method to Native client and click .
- 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 .
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.