Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 61185 - Xautoconfig configures for Fontserver, rather than fontpath
Summary: Xautoconfig configures for Fontserver, rather than fontpath
Status: RESOLVED DUPLICATE of bug 61152
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: Everything (show other bugs)
Hardware: PPC Linux
: High critical (vote)
Assignee: Matt Jarjoura (RETIRED)
URL: http://linux-pel.blog-city.com/read/7...
Whiteboard:
Keywords:
Depends on: 53258 61152
Blocks:
  Show dependency tree
 
Reported: 2004-08-21 12:16 UTC by p.lavarre
Modified: 2005-07-17 13:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description p.lavarre 2004-08-21 12:16:04 UTC
X refuses to launch despite Xautoconfig, if I boot Gentoo 2004.2 PPC live on my original bondi blue iMac or my Titanium Powerbook.  The console complaints printed appear in full at the URL but include:

Could not init font path element unix/:7100, removing from list!

could not open default font 'fixed'

---

On the iMac, I actually also saw the complaint:

Parse error on line 57 of section Monitor in file /etc/X11/xorg.conf
	The VertRefresh keyword must be followed by a list of numbers or ranges.

But that secondary complaint went away when I listed min before max for the VertRefresh line of /etc/X11/xorg.conf

Reproducible: Always
Steps to Reproduce:
1. Acquire Titanium Powerbook or original bondi blue iMac.
2. Md5sum, burn, verify, and boot boot Gentoo 2004.2 PPC live.
3. Try: Xautoconfig ; X &
Actual Results:  
I've stumbled into the fix of asking for tcp font service, with the -p0 patches to /etc that I quote below 
followed by a manual relaunch of xfs:

cd /etc/init.d
./xfs status
./xfs start

--- /etc/conf.d/xfs~	2004-07-22 12:18:36.000000000 +0000
+++ /etc/conf.d/xfs	2004-08-21 11:12:00.859465048 +0000
@@ -10,7 +10,7 @@
 # you however want it to listen on tcp, remember to comment
 # "nolisten = tcp" in /etc/X11/fs/config.
 
-XFS_PORT="-1"
+XFS_PORT="7100"
 
 
 # If this is set to "yes", then the xfs rc-script will
--- /etc/X11/fs/config~	2004-07-22 12:18:36.000000000 +0000
+++ /etc/X11/fs/config	2004-08-21 11:12:43.111041832 +0000
@@ -6,7 +6,7 @@
 #client-limit = 4
 
 # no tcp, use sockets!
-no-listen  =  tcp
+# no-listen  =  tcp
 
 # when a font server reaches its limit, start up a new one
 clone-self = on
--- /etc/X11/xorg.conf~	2004-08-21 11:09:23.000000000 +0000
+++ /etc/X11/xorg.conf	2004-08-21 11:10:57.443105800 +0000
@@ -54,7 +54,7 @@ Section "Monitor"
 	ModelName	"Monitor Model"
 	Option		"DPMS"
 	HorizSync	60-60
-	VertRefresh	75-60
+	VertRefresh	60-75
 EndSection
 
 Section "Modes"


Expected Results:  
Should the default configuration work?

Are those -p0 /etc patches the right fix?

Can I somehow help correct the Gentoo Xautoconfig?
Comment 1 p.lavarre 2004-08-21 17:09:42 UTC
Me personally, I know kernel space better than user space.  A user space friend tells me,

Substitute startx for X, and omit the unnecessary '-no-listen  =  tcp' patch ... and run xdm on top of X if you like ... but the essential trouble remains, i.e. Xautoconfig does not launch xfs and does not set XFS_PORT=7100.
Comment 2 p.lavarre 2004-08-22 14:35:22 UTC
> you mean the KDE/Gnome LiveCD ..
> not the Minimal or Universal LiveCD ... ?

Yes I mean the kde-gnome-universal-2004.2.iso of http://www.metadistribution.org/gentoo/2004.2/
Comment 3 Pieter Van den Abeele (RETIRED) gentoo-dev 2004-09-22 11:49:01 UTC
Thnxs for the report. The easiest fix is to have Xautoconf configure X for fixed fonts paths instead of a fontserver. Xautoconf needs a patch to do that. If I'm not mistaken eklipse@gentoo.org is working on that. This bug is critical for 2004.3. 

Matt can you take a look asap? 
Comment 4 Pieter Van den Abeele (RETIRED) gentoo-dev 2004-09-24 15:39:20 UTC
The easiest way to 'fix' this is to have Xautoconfig output a x.org configuration configured for font paths rather than a font server. That should be a one line patch.
Comment 5 Matt Jarjoura (RETIRED) gentoo-dev 2004-09-24 20:15:21 UTC

*** This bug has been marked as a duplicate of 61152 ***
Comment 6 Matt Jarjoura (RETIRED) gentoo-dev 2004-09-24 20:16:32 UTC
See bug # 53258 for the patch!