summaryrefslogtreecommitdiffstats
path: root/xserver.py
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>1999-12-20 17:44:00 +0000
committerMike Fulbright <msf@redhat.com>1999-12-20 17:44:00 +0000
commit326e3d637e05d1f43a417ac99230158d09acb619 (patch)
treea87f094650d98b2bf8b3a97048e69a85ea1847d4 /xserver.py
parent0aebddf56d552fd2ee3f329085b7acb917946a55 (diff)
downloadanaconda-326e3d637e05d1f43a417ac99230158d09acb619.tar.gz
anaconda-326e3d637e05d1f43a417ac99230158d09acb619.tar.xz
anaconda-326e3d637e05d1f43a417ac99230158d09acb619.zip
Make change so we run xserver in reconfig mode with appropriate fontpath
specified on the X server command line. We do this because the system configured XF86Config relies upon xfs being run, which is not running when the reconfig init script is run. Dr Mike
Diffstat (limited to 'xserver.py')
-rw-r--r--xserver.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/xserver.py b/xserver.py
index c8f602fd7..a54e8339c 100644
--- a/xserver.py
+++ b/xserver.py
@@ -224,9 +224,21 @@ def start_existing_X():
server = os.fork()
serverPath = "/etc/X11/X"
+
+ # override fontpath because xfs is not running yet!
if (not server):
print "Starting X using existing XF86Config"
args = [serverPath, ':1', 'vt7', '-s', '1440', '-terminate']
+ args.append("-fp")
+ args.append("/usr/X11R6/lib/X11/fonts/misc/,"
+ "/usr/X11R6/lib/X11/fonts/75dpi/,"
+ "/usr/X11R6/lib/X11/fonts/100dpi/,"
+ "/usr/X11R6/lib/X11/fonts/cyrillic/,"
+ "/usr/share/fonts/ISO8859-2/misc/,"
+ "/usr/share/fonts/ISO8859-2/75dpi/,"
+ "/usr/share/fonts/ISO8859-2/100dpi/")
+
+ print args
os.execv(serverPath, args)
# give time for the server to fail (if it is going to fail...)