9.8. Running Virtual Machines
9.8.1. Installing Console Components
9.8.1.1. Console Components
A console is a graphical window that allows you to view the start up screen, shut down screen and desktop of a virtual machine, and to interact with that virtual machine in a similar way to a physical machine. In Red Hat Enterprise Virtualization, the default application for opening a console to a virtual machine is Remote Viewer, which must be installed on the client machine prior to use.
9.8.1.2. Installing Remote Viewer on Linux
Remote Viewer is an application for opening a graphical console to virtual machines. Remote Viewer is a SPICE client that is included the virt-viewer package provided by the
Red Hat Enterprise Linux Workstation (v. 6 for x86_64) channel.
Procedure 9.22. Installing Remote Viewer on Linux
- Run the following command to install the spice-xpi package and dependencies:
# yum install spice-xpi
- Run the following command to check whether the virt-viewer package has already been installed on your system:
# rpm -q virt-viewer virt-viewer-0.5.2-18.el6_4.2.x86_64
If the virt-viewer package has not been installed, run the following command to install the package and its dependencies:# yum install virt-viewer
- Restart Firefox for your changes to take effect.
- The SPICE plug-in is now installed. You can now connect to your virtual machines using the SPICE protocol.
9.8.1.3. Installing Remote Viewer for Internet Explorer on Windows
Summary
The SPICE ActiveX component is required to run Remote Viewer, which opens a graphical console to virtual machines. Remote Viewer is a SPICE client installed together with the SPICE ActiveX component; both are provided in the SpiceX.cab file.
Procedure 9.23. Installing Remote Viewer for Internet Explorer on Windows
- Open Internet Explorer and log in to the User Portal.
- Start a virtual machine and attempt to connect to the virtual machine using the Browser Client console option.
- Click the warning banner and click when prompted.
- Click when prompted.
- Restart Internet Explorer for your changes to take effect.
Result
You have installed the SPICE plug-in and Remote Viewer, and can now connect to virtual machines using the SPICE protocol from within Internet Explorer.
9.8.1.4. Installing Remote Viewer on Windows
The Remote Viewer application provides users with a graphical console for connecting to virtual machines. Once installed, it is called automatically when attempting to open a SPICE session with a virtual machine. Alternatively, it can also be used as a standalone application.
Procedure 9.24. Installing Remote Viewer on Windows
- Open a web browser and download one of the following installers according to the architecture of your system.
- Virt Viewer for 32-bit Windows:
https://[your manager's address]/ovirt-engine/services/files/spice/virt-viewer-x86.msi
- Virt Viewer for 64-bit Windows:
https://[your manager's address]/ovirt-engine/services/files/spice/virt-viewer-x64.msi
- Open the folder where the file was saved.
- Double-click the file.
- Click Run if prompted by a security warning.
- Click Yes if prompted by User Account Control.
Result
Remote Viewer is installed and can be accessed via Remote Viewer in the VirtViewer folder of All Programs in the start menu.