Red Hat Bugzilla – Bug 448340
X works only once.
Last modified: 2018-04-11 12:28:22 EDT
Description of problem:
When the system boots in runlevel 5, the screen goes blank when it's supposed to
change from RHGB to the login screen. Then the monitor goes to sleep. The system
doesn't react to keypresses; I can't even get it to switch virtual consoles. By
logging in by SSH I can see that everything else is working fine. Only the
console is unresponsive.
As far as I can tell from the logs, two instances of X start even though I have
only one graphics controller and one monitor. One crashes and logs a backtrace.
The other stays alive but complains about errors in the hardware state and
doesn't display anything on the screen.
The problem seems to occur only when initdefault is 5. If I let the system boot
in runlevel 3 and then run telinit 5, then only one X starts and it works
normally. Therefore I guess that the problem is in Upstart, but I may be wrong.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Boot in runlevel 5.
2. Watch the initscripts run.
The screen goes black and won't even switch virtual consoles.
the GDM login screen
This is a fully updated Fedora 9 upgraded from Fedora 8 (where I didn't have
The graphics controller is the X3500 inside Intel's G35 chip on an Asus P5E-V
HDMI motherboard. X uses the driver "intel".
Connecting the monitor by DVI or VGA makes no difference.
Created attachment 306637 [details]
log of the first X
Created attachment 306638 [details]
log of the second X
Created attachment 306639 [details]
Here's an additional observation. As noted above, I can get a working desktop by
booting in runlevel 3 and then switching to runlevel 5. Now, if I log out from
that desktop and X is supposed to restart, then two instances of X start again
and the result is a blank screen just like when I boot in runlevel 5.
Assigning to GDM for now.
I think I've found out why booting in runlevel 3 made a difference. I discovered that booting in runlevel 5 works if I remove "rhgb" from the Linux command line, and RHGB also doesn't run when the default runlevel is 3. X still doesn't restart properly when I log out. Thus it seems like X works only if X hasn't run before since the machine was booted.
I originally thought that two instances of X were started at once. I'm not so sure about that anymore. It may have been that X was started, crashed and was restarted within the same second.
*** This bug has been marked as a duplicate of bug 241498 ***