From Fedora Project Wiki
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
- 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
- You can see your current kernel options by running
- Ensure the file
/etc/X11/xorg.conf
does not exist, or is a valid file that uses the (DRIVER) driver - Shut your system down entirely, then start it up again
- If using a live image to test, ignore the above steps and simply boot the system from the live image with default options
- 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
- 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:
startx
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
- Start X again:
startx
Again test that it works as usual
Expected Results
- X should work properly both the first and second times it is started