From Fedora Project Wiki

(update for grub2)
(gnome-session-quit)
Line 6: Line 6:
|actions=
|actions=
# The system will boot to the console. Log in as a normal user (if using a live image the username is 'liveuser', and no password will be needed)
# The system will boot to the console. Log in as a normal user (if using a live image the username is 'liveuser', and no password will be needed)
# Start X: {{command|startx}} Verify that it works as usual
# Start X: <pre>$ startx</pre> Verify that it works as usual
# Log out from your desktop environment. This should stop X and return you to the console. Check there are no unusual errors
# Log out from your desktop environment (if you don't see ''Log out'' button in GNOME, use <code>gnome-session-quit</code> command). This should stop X and return you to the console. Check there are no unusual errors.
# Start X again: {{command|startx}} Again test that it works as usual
# Start X again: <pre>$ startx</pre> Again test that it works as usual
|results=
|results=
# X should work properly both the first and second times it is started
# X should work properly both the first and second times it is started
}}
}}

Revision as of 11:32, 25 September 2012

Description

This test case tests whether, when using the (DRIVER) video driver, X can successfully shut down and restart. You must be using a card supported by the (DRIVER) video driver.

Setup

  1. Ensure the nomodeset and (MODULE).modeset=0 kernel parameters are not set in your bootloader configuration
    • You can see your current kernel options by running cat /proc/cmdline
  2. Ensure the file /etc/X11/xorg.conf does not exist, or is a valid file that uses the (DRIVER) driver
  3. Shut your system down entirely, then start it up again
  4. If using a live image to test, ignore the above steps and simply boot the system from the live image with default options
  5. Shut your system down entirely, then start it up again, in console mode. When the boot prompt appears, hit a key to allow you to change the boot options. Hit the 'e' key on the default entry, select the kernel options line (it starts with linux keyword), hit 'e' again, and add simply a space and the number '3' to the end of the line. Then boot with that change

How to test

  1. The system will boot to the console. Log in as a normal user (if using a live image the username is 'liveuser', and no password will be needed)
  2. Start X:
    $ startx
    Verify that it works as usual
  3. Log out from your desktop environment (if you don't see Log out button in GNOME, use gnome-session-quit command). This should stop X and return you to the console. Check there are no unusual errors.
  4. Start X again:
    $ startx
    Again test that it works as usual

Expected Results

  1. X should work properly both the first and second times it is started