Jump to content

X won't start .. font problem


MottS
 Share

Recommended Posts

My friend's computer refuses to startx. We installed the nVidia drivers, modifed the XF8config-4 file, ran XFdrake --noauto --expert a couple of times and remodified XF86config-4 .. you see. But X still refuses to start. Here is the error in var/log/XFree86.0.log

 

....

(II) XINPUT: Adding extended input device "Mouse1" (type: MOUSE)

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

 

Fatal server error:

could not open default font 'fixed'

....

 

Here is the font section in the XF86config-4 file:

 

Section "Files"

   FontPath "unix/:-1"

EndSection

 

Any ideas?

 

MOttS

Link to comment
Share on other sites

The first thing I'd try is to specify the location of the fonts. # out

#FontPath "unix/:-1"

and add the others, example:

FontPath "/usr/X11R6/lib/X11/fonts/100dpi"

 

and see if X starts.

 

If that doesn't work, a last resort that worked for me once, was to remove all XFree86 pkgs from console and reinstall them.

Link to comment
Share on other sites

Does xfs run ?  

Do either "ps aux | grep xfs" or "service xfs status".  

Post its output, if there is any. If there is none, or if the second command shows xfs not running, just issue "service xfs start" and then try "startx".

We have a problem with XFS here. Here is the output of 'service xfs status'

xfs est mort mais le fichier de process existe toujours.

Basically it means that XFS is dead but the process file still exist. I also tried "ps aux | grep xfs" and got:

root 2009 0.0 0.1 1788 688 vc/1 S 16:15 0..00 grep xfs

I don't know what this mean though.

 

We didn't try to add the font's path in XF86config-4, do you think it would make any diff since xfs isn't even running correctly ?

 

We tried to removed /var/pid/xfs.pid and 'service xfs status' returned:

xfs mort mais le sous-system reste vérouillé

which means that xfs is dead but the system is locked .. or something similar to that.

 

Thx guys for the help. Anything else ?

 

MottS

Link to comment
Share on other sites

[bvc9@localhost bvc9]$ ps aux | grep xfs

xfs        757  0.0  3.0  7468 5744 ?        S    15:15   0:01 xfs -port -1 -dae

bvc9      1366  0.0  0.2  1412  436 pts/0    S    15:39   0:00 grep xfs

[root@localhost bvc9]# service xfs status

xfs (pid 757) is running...

 

Have you tried

service xfs -f

 

for a full restart?

 

We didn't try to add the font's path in XF86config-4, do you think it would make any diff since xfs isn't even running correctly ?
No, probably not, but you won't know until....
Link to comment
Share on other sites

He solved the problem by booting cd1 and 'upgrading' linux .. lol .. and that worked.

 

Adding the path to the font in XF86config-4 didn't help and he didn't want to remove XFree and reinstall.

 

Those kind of things affray newbies !! .. this guy don't want to touch Linux anymore at all.

 

MOttS

Link to comment
Share on other sites

:lol: LOL.....I did the "Upgrade" thing a couple of times when I first started, and it always fixed my probs as well. Now it would just be a last resort.

 

Those kind of things affray newbies !! .. this guy don't want to touch Linux anymore at all.
That's ok...someday, if he sticks with it, he'll look back and laugh at how he upgraded to fix probs. Actually, it IS better than reinstalling.
Link to comment
Share on other sites

I wasn't even awared that could be done .. that's funny.

 

When I was beginning using Linux and things was screwing up, I was reinstalling the whole thing.... lol. I was saying to myself 'ok .. this time I'm not going to do that and this'. And one day I said 'NO .. I'm not going to reinstall. I'm going to fix it'. Well, I really started to learn something at that point. Actually, this is when things breaks that we learn something .. This is why we'll never know what the problem was really is.

 

ThankS

 

MOttSS

Link to comment
Share on other sites

He solved the problem by booting cd1 and 'upgrading' linux .. lol .. and that worked.

 

Adding the path to the font in XF86config-4 didn't help and he didn't want to remove XFree and reinstall.

What you needed to do is to add ALL the paths from /etc/X11/fs/config to /etc/X11/XF86Config-4. As far as I remember, /usr/X11R6/lib/X11/fonts/100dpi isn't enough, you need /usr/X11R6/lib/X11/fonts/misc there as well, as this is the directory containing the "fixed" font.

Link to comment
Share on other sites

We added all the paths included in /usr/X11R6/lib/X11/XF86Config-4.eg. Here they are

 

   FontPath    "/usr/X11R6/lib/X11/fonts/local/"

   FontPath    "/usr/X11R6/lib/X11/fonts/misc/"

   FontPath    "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"

   FontPath    "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"

   FontPath    "/usr/X11R6/lib/X11/fonts/Type1/"

   FontPath    "/usr/X11R6/lib/X11/fonts/CID/"

   FontPath    "/usr/X11R6/lib/X11/fonts/Speedo/"

   FontPath    "/usr/X11R6/lib/X11/fonts/75dpi/"

   FontPath    "/usr/X11R6/lib/X11/fonts/100dpi/"

 

and that didn't solve the problem. Anyway, problem is solved now..

 

Thx chalex20

 

MottS

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...