Red Hat Bugzilla – Bug 128148
system-config-display --reconfig --noui fails
Last modified: 2007-11-30 17:10:46 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.6)
Description of problem:
When I run the command
system-config-display --reconfig --noui
I get the error
Traceback (most recent call last):
File "/usr/share/system-config-display/xconf.py", line 412, in ?
NameError: name 'hardware_state' is not defined
The problem seems to be the lines 336-7
if reconfig and loop_count == 0:
which discards the first card in the card list. Since the system in
question only finds one card the configuration fails. If I comment out
these lines, the command works as expected.
Package versions are system-config-display-1.0.14-1 and rhpl-0.143-1
Actually, it seems this bug is already fixed in the rawhide version.
I really do think there should be an update for this for the current
release (Core 2). If users get stuck without X and this doesn't work
they're kind of lost. This is a severe bug IMHO.
I was just bitten by on a production system. :(
Here's a possible workaround though:
mv /etc/X11/xorg.conf* /etc/X11/XF86Config* /root/old-x-files