From Fedora Project Wiki

Revision as of 22:16, 25 September 2012 by Adamwill (talk | contribs) (completely re-do the test case not to use startx, since we're caring less about it these days)

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

How to test

  1. Log in to the desktop
  2. Press ctrl+alt+f2: this should switch to a console interface
  3. Log in as root (if you are using the live image, you can do so, there is no password on the root account)
  4. Run the command systemctl stop display-manager.service
  5. Run the command systemctl start display-manager.service
  6. If necessary, hit ctrl+alt+f1 to get back to the graphical interface
  7. Log back into the desktop

Expected Results

  1. After running the first command, the graphical desktop should stop running
  2. After running the second command, the graphical desktop should start up again at the login screen
  3. X should work properly both the first and second times it is started