From Fedora Project Wiki

(improve steps)
(adjust associated_release_criterion template invocation)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Template:Associated_release_criterion|Alpha|installer-interfaces}}
{{QA/Test Case
{{QA/Test Case
|description=A complete installation using the graphical installer over VNC
|description=This is to verify that [[Anaconda]] can perform an installation over the [http://en.wikipedia.org/wiki/Virtual_Network_Computing VNC] remote desktop protocol
|setup=
# Prepare any non-live media for booting the installer (anything except {{filename|Live.iso}})
# Install a VNC viewer, e.g. {{package|vinagre}} or {{package|tigervnc}}.
|actions=
|actions=
<ol>
<ol>
<li>Boot the installer with the command-line option ''vnc'' (added as a kernel option in boot selection screen)</li>
<li>In the initial boot menu screen, append <code>inst.vnc</code> boot option and boot the installer
<li>Watch the text messages printed out, you should see something like this:
<ul>
<li>Optionally, you can also add <code>inst.vncpassword=<password></code> boot option to encrypt the VNC connection.</li>
</ul>
</li>
<li>The installer prints out a message similar to this (depending whether you provided the password or not) and waits:
<pre>
<pre>
Running anaconda 13.42, the Fedora system installer - please wait.           
09:12:24 Starting VNC...
09:12:24 Starting VNC...
09:12:25 The VNC server is now running.
09:12:25 The VNC server is now running.
Line 16: Line 24:


09:12:25 Please manually connect your vnc client to 192.168.1.17:1 to begin the install.
09:12:25 Please manually connect your vnc client to 192.168.1.17:1 to begin the install.
09:12:25 Starting graphical installation.
</pre></li>
</pre></li>
<li>Connect with VNC client (vncviewer, vinagre) to the specified address, you should see the graphical installation.
<li>Connect with a VNC client ({{command|vncviewer}}, {{command|vinagre}}) to the specified address, you should see the graphical installation:
<pre>
<pre>
vinagre 192.168.1.17:1
vinagre 192.168.1.17:1
</pre></li>
</pre></li>
<li>Proceed and complete installation with VNC client.</li>
<li>Proceed and complete the installation with the VNC client.</li>
<li>Boot the new system and check it starts in the text mode (runlevel 3):
<pre>$ runlevel
N 3</pre></li>
</ol>
</ol>
|results=
|results=
# Anaconda starts Xvnc properly
# The installer starts the VNC server and prints out information how to connect to it
# User can connect with VNC client
# You can connect with a VNC client and see the graphical installation
# VNC works normally during installation (mouse, keyboard)
#* If the VNC connection was encrypted, you are asked for a password. Providing correct password unlocks the session, incorrect passwords are rejected. If the connection was not encrypted, no password is necessary.
# Anaconda completes successfully
# The installer displays and works properly
# Reboot successfully into installed system
# The installation completes successfully
# The installed system boots into runlevel 3 (text mode)
}}
}}


[[Category:User Interface]]
[[Category:User Interface]]

Latest revision as of 20:43, 30 July 2013

Associated release criterion
This test case is associated with the Basic_Release_Criteria#installer-interfaces release criterion. If you are doing release validation testing, a failure of this test case may be a breach of that release criterion. If so, please file a bug and nominate it as blocking the appropriate milestone, using the blocker bug nomination page.


Description

This is to verify that Anaconda can perform an installation over the VNC remote desktop protocol

Setup

  1. Prepare any non-live media for booting the installer (anything except Live.iso)
  2. Install a VNC viewer, e.g. vinagre or tigervnc.

How to test

  1. In the initial boot menu screen, append inst.vnc boot option and boot the installer
    • Optionally, you can also add inst.vncpassword=<password> boot option to encrypt the VNC connection.
  2. The installer prints out a message similar to this (depending whether you provided the password or not) and waits:
    09:12:24 Starting VNC...
    09:12:25 The VNC server is now running.
    09:12:25 
    
    WARNING!!! VNC server running with NO PASSWORD!
    You can use the vncpassword=<password> boot option
    if you would like to secure the server.
    
    09:12:25 Please manually connect your vnc client to 192.168.1.17:1 to begin the install.
    
  3. Connect with a VNC client (vncviewer, vinagre) to the specified address, you should see the graphical installation:
    vinagre 192.168.1.17:1
    
  4. Proceed and complete the installation with the VNC client.
  5. Boot the new system and check it starts in the text mode (runlevel 3):
    $ runlevel 
    N 3

Expected Results

  1. The installer starts the VNC server and prints out information how to connect to it
  2. You can connect with a VNC client and see the graphical installation
    • If the VNC connection was encrypted, you are asked for a password. Providing correct password unlocks the session, incorrect passwords are rejected. If the connection was not encrypted, no password is necessary.
  3. The installer displays and works properly
  4. The installation completes successfully
  5. The installed system boots into runlevel 3 (text mode)