LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-21-2002, 07:34 PM   #1
islandkid
Member
 
Registered: Mar 2002
Location: Victoria, BC, Canada
Distribution: None (www.linuxfromscratch.org)
Posts: 103

Rep: Reputation: 15
How do I use the font server (X11)?


how do I get X11 to use the xfs font server? X11 loads fine when I use direct paths to the fonts in XF86Config, but I get an error when I have FontPath "unix/:7100" in the "Files" Section and X11 doesn't load.
 
Old 03-21-2002, 07:40 PM   #2
Sixpax
Member
 
Registered: Mar 2002
Distribution: Mandrake 8.1
Posts: 386

Rep: Reputation: 30
I'm using both the local xfs server and a network one. My XF86Config entry looks like this:

FontPath "unix/:-1"
Fontpath "tcp/192.168.3.5:7000"

As far as I know, X11 won't even work if you aren't pointing to the local xfs server, but I could be wrong.

Is that what you are asking?
 
Old 03-21-2002, 07:54 PM   #3
islandkid
Member
 
Registered: Mar 2002
Location: Victoria, BC, Canada
Distribution: None (www.linuxfromscratch.org)
Posts: 103

Original Poster
Rep: Reputation: 15
I'm trying to connect to the local font server. xfs loads at startup. I tried FontPath "unix/:-1" - didn't work. Whenever I try to connect to the font server I get this message:

could not open default font 'fixed'

and X11 won't load,
but I can set the paths directly like this:
FontPath "/usr/X11R6/lib/X11/fonts/misc"
ect....

I would like to beable to use the font server though.
 
Old 03-21-2002, 09:09 PM   #4
Sixpax
Member
 
Registered: Mar 2002
Distribution: Mandrake 8.1
Posts: 386

Rep: Reputation: 30
Need more info...

What version of XFree86 are you running?

What do you get when you run "ps -efw | grep xfs"

What about "netstat -an | grep 7100"

One more thing to run "xfsinfo", if that gives nothing, try "xfsinfo -server localhost:7100"
 
Old 03-22-2002, 01:33 AM   #5
islandkid
Member
 
Registered: Mar 2002
Location: Victoria, BC, Canada
Distribution: None (www.linuxfromscratch.org)
Posts: 103

Original Poster
Rep: Reputation: 15
bash-2.05# ps -efw | grep xfs
root 691 688 1 12:15 pts/1 00:00:00 grep xfs
bash-2.05# netstat -an | grep 7100
bash-2.05# xfsinfo
xfsinfo: no font server defined
bash-2.05# xfsinfo -server localhost:7100
xfsinfo: unable to open server "localhost:7100"
bash-2.05# xfsinfo -server localhost:7000
xfsinfo: unable to open server "localhost:7000"
bash-2.05# rpm -qi XFree86-xfs
Name : XFree86-xfs Relocations: (not relocateable)
Version : 4.2.0 Vendor: Red Hat, Inc.
Release : 6.47 Build Date: Thu Mar 14 23:15:32 2002
Install date: Tue Mar 19 00:42:13 2002 Build Host: daffy.perf.redhat.com
Group : System Environment/Daemons Source RPM: XFree86-4.2.0-6.47.src.rpm
Size : 175569 License: XFree86
Packager : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
URL : http://www.xfree86.org
Summary : A font server for the X Window System.
Description :
XFree86-xfs contains the font server for XFree86. Xfs can also serve
fonts to remote X servers. The remote system will be able to use all
fonts installed on the font server, even if they are not installed on
the remote computer.
bash-2.05#
 
Old 03-22-2002, 05:08 AM   #6
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
Are you running this on redhat or caldera?
 
Old 03-22-2002, 08:12 AM   #7
Bert
Senior Member
 
Registered: Jul 2001
Location: 406292E 290755N
Distribution: GNU/Linux Slackware 8.1, Redhat 8.0, LFS 4.0
Posts: 1,004

Rep: Reputation: 46
This is another RedHat 7.2 kernel 2.4.7-10 problem I'll bet, seen it tried it, uninstalled it.

Bert
 
Old 03-22-2002, 08:46 AM   #8
Sixpax
Member
 
Registered: Mar 2002
Distribution: Mandrake 8.1
Posts: 386

Rep: Reputation: 30
The only problem I see is that your font server isn't even running.

Try this "xfs -droppriv", and tell me if you get any error messages.

If not, kill it (ctrl-C), and run it this way "xfs -daemon -droppriv"

Then go through those commands I gave you again and see what you get.

Also, you never told me what version of XFree86 you are running (not what version of xfs you are running).
 
Old 03-22-2002, 01:26 PM   #9
islandkid
Member
 
Registered: Mar 2002
Location: Victoria, BC, Canada
Distribution: None (www.linuxfromscratch.org)
Posts: 103

Original Poster
Rep: Reputation: 15
I'm running the same version of XFree86

bash-2.05# xfs -droppriv
bash-2.05# xfs -daemon -droppriv
bash-2.05# ps -efw | grep xfs
xfs 1012 1 0 00:23 ? 00:00:00 xfs -daemon -droppriv
root 1014 1008 0 00:23 pts/1 00:00:00 grep xfs
bash-2.05# netstat -an | grep 7100
tcp 0 0 0.0.0.0:7100 0.0.0.0:* LISTEN
unix 2 [ ACC ] STREAM LISTENING 3824 /tmp/.font-unix/fs7100
bash-2.05# xfsinfo
xfsinfo: no font server defined
bash-2.05# xfsinfo -server localhost:7100
name of server: localhost:7100
version number: 2
vendor string: The XFree86 Project (experimental version)
vendor release number: 6600
maximum request size: 8192 longwords (32768 bytes)
number of catalogues: 1
all
Number of alternate servers: 0
number of extensions: 0
bash-2.05#

It seems to have worked, but my initscript for xfs uses the exact same command to start it.

Thank you very much. I will figure the initscripts out.
 
Old 06-28-2003, 08:45 AM   #10
nnn
LQ Newbie
 
Registered: Jun 2003
Location: IN
Distribution: Red Hat 8.0
Posts: 2

Rep: Reputation: 0
For such an error //could not open default font 'fixed'//
even a 'disk space run out' can be a reason
 
Old 11-02-2004, 03:18 AM   #11
Piro
LQ Newbie
 
Registered: Oct 2003
Distribution: Ubuntu 6.0
Posts: 14

Rep: Reputation: 0
ok i just installed Slackware 10 and now im getting a simular error as to that dude...


Code:
bash-2.05b# xfs -droppriv
_FontTransSocketOpenCOTSServer: Unable to open socket for inet6
_FontTransOpen: transport open failed for inet6/craptop:7100
_FontTransMakeAllCOTSServerListeners: failed to open listener for inet6
ive been getting a dhcpcd problem too... could this be causing this error?

i do an ifconfig apon bootup and my eth0 doesn't show up, i do a dhcpcd eth0 and it takes 20 seconds to do nothing before returning to main prompt. i do a 'ifconfig eth0 down' then 'ifconfig eth0 up' and it shows up but still no ip... i even tryed setting static ip to the eth0... still no ip or networking for the box... any suggestions on either of these would be greatly appreciated :P

i know its eth0 because i do the ifconfig eth0 up and the linksys switch light goes off for a second while it restarts the device... but when i try ping google.com it doesnt even blink on the switch... its like its doesn't know it has a net connection. >_<!!!!

background of the box:
toshiba satellite pro 430cds
xircom realport ethernet 10/100+modem 56 (REM56G-100)
48mbs ram
256mbs swap partition & 1.1gig linux partition
slackware 10 (did a clean install from 8.0)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
X11 font problem Danimal *BSD 2 09-04-2005 12:44 AM
How to install Font Server in FedoraCore2--my font server failed covaigold Fedora 0 02-21-2005 12:42 AM
X11 Font question / problem STeeF Linux - Software 2 03-07-2004 05:53 AM
X11 Default Font darklogik_org Linux - General 2 02-15-2004 01:57 PM
setting the default x11 font k4zau Linux - Software 5 05-05-2003 12:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration