LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   X.Org problem (https://www.linuxquestions.org/questions/slackware-14/x-org-problem-417284/)

sklitzz 02-19-2006 05:51 PM

X.Org problem
 
When I start my system(I start in text mode). I type in startx and nothing happens. Ctrl+Alt+F1 back to console and startx again...ok KDE up and running. I checked out Xorg.0.log and this is what I found:
Code:

Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/local/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/cyrillic/, removing from list!

Any ideas how to solve this? Maybe permission problems or something?

gbonvehi 02-19-2006 08:06 PM

By default there are no fonts inside those directories unless you installed the corresponding packages and/or fonts in the directories. If you want to take out the warning messsage, comment the lines that define those paths in your xorg.conf file.

/bin/bash 02-20-2006 03:20 AM

You are looking at the wrong log. The log Xorg.0.log is for the current X session. There should be another log Xorg.1.log or something like that which will be for the previous X session. Otherwise you should look through the log when you first try to startx.

startx
<Ctrl><Alt><F2> # Switch to another terminal.
less /var/log/Xorg.0.log

kevkim55 02-20-2006 05:20 AM

Post the entire Xorg.0.log file as, the part output you have included doesn't help solve your problem.

eelriver 02-20-2006 12:28 PM

Use "grep EE /var/log/Xorg.0.log"

sklitzz 02-21-2006 07:01 AM

This is how my Xorg log looks like.

Xorg.8.log
Code:

_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/localhost:8
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6


X Window System Version 6.8.2
Release Date: 9 February 2005
X Protocol Version 11, Revision 0, Release 6.8.2
Build Operating System: Linux 2.6.13 i686 [ELF]
Current Operating System: Linux localhost 2.4.31 #6 Sun Jun 5 19:04:47 PDT 2005 i686
Build Date: 11 September 2005
        Before reporting problems, check http://wiki.X.Org
        to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.8.log", Time: Tue Jan 17 00:06:19 2006
(++) Using config file: "/root/xorg.conf.new"
(==) ServerLayout "X.org Configured"
(**) |-->Screen "Screen0" (0)
(**) |  |-->Monitor "Monitor0"
(**) |  |-->Device "Card0"
(**) |-->Input Device "Mouse0"
(**) |-->Input Device "Keyboard0"
(WW) `fonts.dir' not found (or not valid) in "/usr/X11R6/lib/X11/fonts/100dpi/".
        Entry deleted from font path.
        (Run 'mkfontdir' on "/usr/X11R6/lib/X11/fonts/100dpi/").
(**) FontPath set to "/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/TTF/,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/CID/,/usr/X11R6/lib/X11/fonts/75dpi/"
(**) RgbPath set to "/usr/X11R6/lib/X11/rgb"
(**) ModulePath set to "/usr/X11R6/lib/modules"
(WW) Open APM failed (/dev/apm_bios) (No such device)
(II) Module ABI versions:
        X.Org ANSI C Emulation: 0.2
        X.Org Video Driver: 0.7
        X.Org XInput driver : 0.4
        X.Org Server Extension : 0.2
        X.Org Font Renderer : 0.4
(II) Loader running on linux
(II) LoadModule: "bitmap"
(II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a
(II) Module bitmap: vendor="X.Org Foundation"
        compiled for 6.8.2, module version = 1.0.0
        Module class: X.Org Font Renderer
        ABI class: X.Org Font Renderer, version 0.4
(II) Loading font Bitmap
(II) LoadModule: "pcidata"
(II) Loading /usr/X11R6/lib/modules/libpcidata.a
(II) Module pcidata: vendor="X.Org Foundation"
        compiled for 6.8.2, module version = 1.0.0
        ABI class: X.Org Video Driver, version 0.7
(--) using VT number 7

I hope I included the relevant part since I can't post the entire log here(it's too large).

dive 02-21-2006 09:12 AM

AS as been said, you need to install the x11-font packages:

x11-fonts-100dpi
x11-fonts-cyrillic
x11-fonts-misc
x11-fonts-scale

Then run 'mkfontdir' on /usr/X11R6/lib/X11/fonts/100dpi/ etc (read log warning)

That will fix the font warnings, but you haven't posted the relevant part about any other errors stopping X from staring. Try 'cat Xorg.0.log | grep EE' and post the output.

eelriver 02-21-2006 02:10 PM

Quote:

Originally Posted by dive
That will fix the font warnings, but you haven't posted the relevant part about any other errors stopping X from staring. Try 'cat Xorg.0.log | grep EE' and post the output.

That will work if you're in /var/log, I like my way better.

/bin/bash 02-23-2006 04:26 AM

Is this a new installation, or did you upgrade your kernel or X server?

Before starting X look in /var/log and note date/time of the Xorg log files. After you try to start X look again and note the date/time of the new file. Then do this:

tail -n80 /var/log/xorg.X.log >xorg.log

Replace the X with the number of the new log file created when X failed to start. Then post the contents of xorg.log. You can adjust the -n80 to a bigger number if you need to get more info from the log file.


All times are GMT -5. The time now is 12:27 AM.