Jump to content

GII won't start cannot open default font


aperahama
 Share

Recommended Posts

I am using Mandrake 10. Last night I installed a new font from Windoze after clicking on the font file with Konqueror ad clicking on the install button, it reported back that the font had been installed, no problem.

 

This morning when I tied to start the computer it logged into a command line mode, (after showing the Nvidia splash screen three times instead of the usual once). When I tried to startx it came back with the message "could not open default font 'fixed' ". I have not made any changes to the XF86Config or any other files.

 

I assume that the two events are related. Can anybody shed some light on this problem, I haven't a cue where to start looking to fix this problem. (apart from a re install which seem OTT)

 

Thanks for any help you are able to give me (I currently logged in from my work place computer)

Link to comment
Share on other sites

this happened to someone the other day

http://www.mandrakeusers.org/index.php?sho...c=14683&hl=font

their

/usr/X11R6/lib/X11/fonts/misc

dir was missing......is yours? To find out

login>su to root>and do;

ls /usr/X11R6/lib/X11/fonts/

if it's missing follow my instructions on the other thread

Yes, that is where the default fonts are! X has to have them. The easiest way to fix that is to force the uninstall of XFree86 and reinstall. The other is to force the reinstall of the pkg.

 

/usr/X11R6/lib/X11/fonts/misc/cursor.pcf.gz

is part of the XFree86 pkg

[root@localhost root]# urpmf /usr/X11R6/lib/X11/fonts/misc/cursor.pcf.gz
XFree86:/usr/X11R6/lib/X11/fonts/misc/cursor.pcf.gz
[root@localhost root]# rpm -qa | grep XFree86
XFree86-server-4.3-32mdk
XFree86-75dpi-fonts-4.3-32mdk
XFree86-4.3-32mdk
XFree86-xfs-4.3-32mdk

 

In X now, I will do this in a terminal to show you how.

[root@localhost root]# rpm -e --nodeps XFree86
[root@localhost root]# rpm -qa | grep XFree86
XFree86-server-4.3-32mdk
XFree86-75dpi-fonts-4.3-32mdk
XFree86-xfs-4.3-32mdk
[root@localhost root]# urpmi XFree86

   ftp://ftp.proxad.net/pub/Distributions_Linux/Mandrakelinux/devel/cooker/
i586/Mandrake/RPMS/XFree86-4.3-32mdk.i586.rpm
installing /var/cache/urpmi/rpms/XFree86-4.3-32mdk.i586.rpm
Preparing...                ##################################################
moving /usr/X11R6/lib/X11/xkb to /etc/X11/xkb linking to ../../../../etc/X11/xkb
moving /usr/X11R6/lib/X11/xkb/compiled to /var/lib/xkb linking to ../../../../../var/lib/xkb
moving /usr/X11R6/lib/X11/xserver to /etc/X11/xserver linking to ../../../../etc/X11/xserver
moving /etc/X11/xdm/authdir to /var/lib/xdm linking to ../../../var/lib/xdm
  1:XFree86                ##################################################
[root@localhost root]#

All done.....of course if you are using the cd's as your sources then you'll be prompted to insert the cd.

Link to comment
Share on other sites

Problem solved

 

a line in my XF86Config-4 had been changed by the installation of the fonts

 

Section "Files"

# Multiple FontPath entries are allowed (they are concatenated together)

# By default, Mandrake 6.0 and later now use a font server independent of

# the X server to render fonts.

FontPath "unix/:-1"

EndSection

 

The Fontpath line had been replaced with a couple of new lines detailing other paths to various font directories.

 

Thanks for your help bvc it put me on the right path to a solution :thumbs:

Link to comment
Share on other sites

  • 1 year later...

It seems i have the same prob. i can't get my gui up. Have been looking for 2 days now for a solution. Yours seems to be one of the better ones, but when i type

 

[root@localhost root]# urpmf /usr/X11R6/lib/X11/fonts/misc/cursor.pcf.gz

XFree86:/usr/X11R6/lib/X11/fonts/misc/cursor.pcf.gz

 

which i think is the first command, all i get is a help screen for the command urpmf. I still don't know how to rescroll it or keep it from scrolling off my screen before i can read the first few lines.

 

i installed Mandriva 2006 free from the 3 CD set on a PIII 500Mhz machine and it had been working great until i tried installing a ttf through the MCC. Arg. Any idea on how can i get these fonts back?

 

Thanks and have a great afternoon! :)

 

this happened to someone the other day

http://www.mandrakeusers.org/index.php?sho...c=14683&hl=font

their

/usr/X11R6/lib/X11/fonts/misc

dir was missing......is yours? To find out

login>su to root>and do;

ls /usr/X11R6/lib/X11/fonts/

if it's missing follow my instructions on the other thread

Yes, that is where the default fonts are! X has to have them. The easiest way to fix that is to force the uninstall of XFree86 and reinstall. The other is to force the reinstall of the pkg.

 

/usr/X11R6/lib/X11/fonts/misc/cursor.pcf.gz

is part of the XFree86 pkg

[root@localhost root]# urpmf /usr/X11R6/lib/X11/fonts/misc/cursor.pcf.gz
XFree86:/usr/X11R6/lib/X11/fonts/misc/cursor.pcf.gz
[root@localhost root]# rpm -qa | grep XFree86
XFree86-server-4.3-32mdk
XFree86-75dpi-fonts-4.3-32mdk
XFree86-4.3-32mdk
XFree86-xfs-4.3-32mdk

 

In X now, I will do this in a terminal to show you how.

[root@localhost root]# rpm -e --nodeps XFree86
[root@localhost root]# rpm -qa | grep XFree86
XFree86-server-4.3-32mdk
XFree86-75dpi-fonts-4.3-32mdk
XFree86-xfs-4.3-32mdk
[root@localhost root]# urpmi XFree86

   ftp://ftp.proxad.net/pub/Distributions_Linux/Mandrakelinux/devel/cooker/
i586/Mandrake/RPMS/XFree86-4.3-32mdk.i586.rpm
installing /var/cache/urpmi/rpms/XFree86-4.3-32mdk.i586.rpm
Preparing...                ##################################################
moving /usr/X11R6/lib/X11/xkb to /etc/X11/xkb linking to ../../../../etc/X11/xkb
moving /usr/X11R6/lib/X11/xkb/compiled to /var/lib/xkb linking to ../../../../../var/lib/xkb
moving /usr/X11R6/lib/X11/xserver to /etc/X11/xserver linking to ../../../../etc/X11/xserver
moving /etc/X11/xdm/authdir to /var/lib/xdm linking to ../../../var/lib/xdm
  1:XFree86                ##################################################
[root@localhost root]#

All done.....of course if you are using the cd's as your sources then you'll be prompted to insert the cd.

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...