From Fedora Project Wiki
(draft a test for vncconnect) |
(Add some setup and moved some result output into expected results) |
||
Line 1: | Line 1: | ||
{{QA/Test Case | {{QA/Test Case | ||
|description=This test verifies the vnc option '''vncconnect''' work as expected. See [[ | |description=This test verifies the vnc option '''vncconnect''' work as expected. See [[Anaconda_Boot_Options]] for more information. | ||
|setup= | |||
* Requires two systems able to communicate over the network, one to test the installation and a second to initiate the VNC client session | |||
* Install a VNC client application. The package {{package|tigervnc}} or {{package|vinager}} can be used. <pre>yum install /usr/bin/vncviewer</pre> | |||
|actions= | |actions= | ||
# Boot the installer with the command-line option to connect the client named ''<host>'', and optionally use port ''<port>'' (added as a kernel option in boot selection screen): <pre>vnc vncconnect=<host>[:<port>] </pre> | |||
# On another system that is accessible over the network, start a VNC client with ''reverse connections'' enabled. If using {{command|vncviewer}} (provided by {{package|tigervnc}}), use the following example. The command {{command|vinagre}} may also be used. <pre>vncviewer -listen [port]</pre> | |||
# Using the VNC client session, complete the installation as desired | |||
|results= | |||
<ol> | <ol> | ||
<li> | <li> Anaconda starts and attempts to initiate a VNC connection on the specified <code>host</code> and <code>port</code> | ||
< | |||
</ | |||
<pre> | <pre> | ||
Running anaconda 15.31, the Fedora system installer - please wait. | Running anaconda 15.31, the Fedora system installer - please wait. | ||
Line 24: | Line 26: | ||
09:16:45 Will try to connect again in 15 seconds... | 09:16:45 Will try to connect again in 15 seconds... | ||
09:17:00 Will try to connect again in 15 seconds... | 09:17:00 Will try to connect again in 15 seconds... | ||
</pre> | |||
<li> After starting the VNC client with ''reverse connections'' enabled, a successful VNC connection is established between the installing system, and your VNC client. Output similar to the following will be visible on the installing systems console. | |||
<pre> | |||
09:17:15 Connected! | 09:17:15 Connected! | ||
Press <enter> for a shell | Press <enter> for a shell | ||
09:17:15 Starting graphical installation. | 09:17:15 Starting graphical installation. | ||
</pre | </pre> | ||
<li> | <li> VNC works normally during installation (mouse, keyboard) | ||
<li> | <li> Anaconda completes successfully | ||
<li> Reboot successfully into installed system | |||
</ol> | </ol> | ||
}} | }} | ||
[[Category:User Interface]] | [[Category:User Interface]] |
Revision as of 12:33, 30 June 2011
Description
This test verifies the vnc option vncconnect work as expected. See Anaconda_Boot_Options for more information.
Setup
- Requires two systems able to communicate over the network, one to test the installation and a second to initiate the VNC client session
- Install a VNC client application. The package
tigervnc
orvinager
can be used.yum install /usr/bin/vncviewer
How to test
- Boot the installer with the command-line option to connect the client named <host>, and optionally use port <port> (added as a kernel option in boot selection screen):
vnc vncconnect=<host>[:<port>]
- On another system that is accessible over the network, start a VNC client with reverse connections enabled. If using
vncviewer
(provided bytigervnc
), use the following example. The commandvinagre
may also be used.vncviewer -listen [port]
- Using the VNC client session, complete the installation as desired
Expected Results
- Anaconda starts and attempts to initiate a VNC connection on the specified
host
andport
Running anaconda 15.31, the Fedora system installer - please wait. 09:16:44 Starting VNC... 09:16:45 The VNC server is now running. 09:16:45 You chose to connect to a listening vncviewer. This does not require a password to be set. If you set a password, it will be used in case the connection to the vncviewer is unsuccessful 09:16:45 Attempting to connect to vnc client on host 192.168.1.17... 09:16:45 Will try to connect again in 15 seconds... 09:17:00 Will try to connect again in 15 seconds...
- After starting the VNC client with reverse connections enabled, a successful VNC connection is established between the installing system, and your VNC client. Output similar to the following will be visible on the installing systems console.
09:17:15 Connected! Press <enter> for a shell 09:17:15 Starting graphical installation.
- VNC works normally during installation (mouse, keyboard)
- Anaconda completes successfully
- Reboot successfully into installed system