summaryrefslogtreecommitdiffstats
path: root/anaconda
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2002-01-18 21:08:05 +0000
committerMike Fulbright <msf@redhat.com>2002-01-18 21:08:05 +0000
commit28b0aef945d29f2fb0739b8f8678839201891da7 (patch)
tree42200b17a3f53883f814edda02323ac803c1b526 /anaconda
parent8758b1766a90bae56f8c3b4197605154fa363202 (diff)
downloadanaconda-28b0aef945d29f2fb0739b8f8678839201891da7.tar.gz
anaconda-28b0aef945d29f2fb0739b8f8678839201891da7.tar.xz
anaconda-28b0aef945d29f2fb0739b8f8678839201891da7.zip
discard fb based xconfig after we start X
Diffstat (limited to 'anaconda')
-rwxr-xr-xanaconda6
1 files changed, 4 insertions, 2 deletions
diff --git a/anaconda b/anaconda
index d96fe00b2..3846fe3a0 100755
--- a/anaconda
+++ b/anaconda
@@ -454,8 +454,10 @@ if display_mode == 'g':
if os.access("/etc/X11/XF86Config", os.R_OK) or os.access("/etc/X11/XF86Config-4", os.R_OK):
xcfg = xserver.start_existing_X ()
else:
- xcfg = xserver.startX (runres, nofbmode, videohw, monitorhw,
- mousehw)
+ xcfg = xf86config.XF86Config(videohw.primaryCard(),
+ monitorhw, mousehw, runres)
+ testxcfg = xserver.startX(runres, nofbmode, videohw, monitorhw,
+ mousehw)
except RuntimeError:
print " X startup failed, falling back to text mode"
xcfg = xf86config.XF86Config(videohw.primaryCard(),