From Fedora Project Wiki

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 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 or vinagre can be used.
    sudo dnf install tigervnc

How to test

  1. 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):
    inst.vnc inst.vncconnect=<host>[:<port>] 
  2. On another system that is accessible over the network, start a VNC client with reverse connections enabled. If using vncviewer (provided by tigervnc), use the following example. The command vinagre may also be used.
    vncviewer -listen [port]
  3. Using the VNC client session, complete the installation as desired

Expected Results

  1. Anaconda starts and attempts to initiate a VNC connection on the specified host and port
    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...                             
    
  2. 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.   
    
  3. VNC works normally during installation (mouse, keyboard)
  4. Anaconda completes successfully
  5. The installed system boots into runlevel 3 (no graphical session)