MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I have this problem with my X server. Some background information first: I'm using Mdk10 2.6.3-15mdk kernel on a Dell Inspiron 5100 laptop; ATI Radeon 7500 mobile. I installed the prism54 driver for my NetGear Wireless PC Card for my laptop (model WG511 2.4Ghz 54Mbps b/g); it has become eth1. I believe it recompiled my kernel.
Afterwards my computer acted abnormally, for example konqueror (as a file browser) wouldn't load, unless you loaded it as the webbrowser from the start menu first, and then tried opening a folder. Second, in addition to that wireless ethernet card, I also have a standard ethernet card which is eth0. I noticed very quickly that upon booting (everytime), it would take a long time to initialize eth0 and eth1 (eth0 starts long because I do not use a cable to connect to the router anymore), both come up as status [FAILED]. So I went into the Mandrake Control Centre and disabled the booting of the 'network' service at start up. This worked, but if I killed KDE (halting the Xserver) to go back into text mode, and then typed 'startx', it failed because it couldn't establish a connection at ":0.0". I went su and noticed that the prompt didn't have a name for my computer as it normally does:
[alex@localhost Documents]$ su
I reboot, change the network booting settings (e.g. i can set eth0 and/or eth1 to boot at start up, as well as the 'network' service). I chose eth0 to NOT boot; network and eth1 TO boot, etc. Finally it seemed to have fixed itself, then upon my booting the computer TODAY, i couldn't even start the GUI once....
i wrote down the error:
"> Using last definition for conflicting fields
>Warning: Symbol for key <AC10> redefined
^^that is a long list with other things for <AC10>, then:
"Errors from xkbcomp are not fatal to the Xserver
Could not init font path element unix/:-1, removing from list!
Fatal server error:
could not open default font 'fixed'
When reporting a problem related to a server crash, please send the full server output, not just the last two messages. This can be found in the log file '/var/log/XFree86.0.log'. Please report problems to firstname.lastname@example.org
XIO: fatal IO error 104 (Connection reset by peer) on X server ":0.0" after 0 requests (0 known processed) with 0 events remanining"
This problem has stumped me completely, and I am usually very ambitious to solve problems on my own using this forum (other people have the same problem usually) and google.. If ANYBODY has ANY clue what is going on here, I would happy to hear it. (I thought about changing back to the default kernel - as it was before prism54 changed it). If there are any logs that would help, let me know, too. Thanks in advance.
don't know about all the network stuff, but it sounds kind of strange. (btw, it most definitely did not recompile your kernel. you would have to do that yourself -- which might not be a bad idea.)
X needs the fixed font to start, and it's telling you it can't find it. make sure your font paths are in your xorg.conf file (/usr/X11R6/lib/X11/fonts/misc and 100/75dpi paths), also add the paths to /etc/fonts/local.conf or ~/.fonts.conf if you have them, and then run # fc-cache -fv to update your font cache.
it looks like your keymappings are screwed up, also. maybe X got corrupted somehow from installing the prism drivers? i don't know, but i think the idea to boot to the working kernel is a good one, and then see if you can get into X from there. if not, you might be looking at a pretty major overhaul -- of X at least. it appears that things might have gotten really messed up that shouldn't have from installing network drivers.
I only have that one kernel to boot (except for the nonfb and 267something) and I couldn't find an xorg.conf file (I typed '# find / -name 'xorg.conf' and nothing came up). I found many .gz'd files in the /usr/X11R6/lib/X11/fonts/misc/ and in the /usr/X11R6/lib/X11/fonts/100dpi folder, and i grep'd for 'fixed' (I don't know if the font it wants would be listed there or if it had the string 'fixed' in it...) but didn't see anything. I have both an /etc/fonts/local.conf and a ~/.fonts.conf
I posted all the files that i changed (new and old versions) and the output of the fc-cache -fv command and the XFree86 log file here:
ah right.. that i have (XF86Config-4) and i posted it on that webpage (see above link). For that file I am not sure what to do..
I can see the FontPath "unix/:-1" there, which was in the error message.. startx still doesn't work *sigh*. Where and how do I add the two paths you mentioned to the XF86Config-4 file? Do i just type -- FontPath "/path/to/font/" ?
comment out that unix line. that is for some other font server, Xfs, i think. add at least the following lines directly underneath that (and before the EndSection), replacing the path with the path to your fonts if necessary (check /usr/lib/X11 for font directories if they're not in /usr/X11R6/lib/X11):
I modified the XF86Config-4 file (backed it up, of course) and posted it on the site. I'm happy to say it loaded the full blue screen and an "X" for the mouse... but nothing further. I have updated the #fc-cache -fv output and the XF86Config.0.log. Well.. I think this is progress so far - unless I'm wrong..?
The only error I can see in the log file is the loading of the keymap (I cannot find it not being able to load the font 'fixed', but that file is big, so I could have over-looked). Hmm.. will fixing the keymap allow it to continue loading (whatever keymap might be)?
BTW when I Ctrl+Alt+Backspaced to exit out of the blue screen i saw messages (mainly in the log file) with:
AUDIT: Mon Aug blabla 2004: 2824 X: client 1 rejected from localhost
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
xinit: No such file or directory (errno2): unable to connect to Xserver
xinit: No such process (errno3): server error
I don't know if those are of any importance, but I put them there anyway.
a couple of things i noticed were missing from your config file that i've seen in most others. try adding the following stuff as described. i'll have more time later today to take a closer look, but try adding these at least, maybe it will help. if not, i'll try to check in later.
btw, *posting errors is good.* that thing about not finding xinit seems like a major problem, but maybe it will turn out not to be. as i said i don't have time to check it out right now. so for now:
add this to Section "Module" (the one that starts with the Load "dbe" line):
the Rbg thing might just be for LCD monitors or fine tuning the antialiasing or something, and i've seen the modules line both commented out and not, but at least it's a start. in the meantime, keep !
another idea is that you might want to backup your config file and run xf86config (as root). that will run you throught the configuration and write a new config file that hopefully will be more usable.
p.s. you are using KDE, right? when you say "blue screen with the mouse," i assume you mean you are getting a blue background and not using some windows-speak for a locked up screen, etc.? do you get any menu when you right click the mouse?
Yes, I am using KDE; the blue screen is actually a blue screen - the one I normally see when start up, and the mouse is just that X that i can move around, but nothing works when i click any of the buttons (no menus or anything).. it just sits there.
wellllllllll I changed the config file, updated it on my site, as well as the log. As I was still in root, I just typed "startx" after editing the file, and KDE actually started! (but in root) I fiddled around a bit to see if it actually did work, and I saw that some window's titlebars (around the three buttons on the upper right) had squares around the without the color of the rest of the titlebar (red). They were white, but if i moved them around they went away/came back, etc.
Anyway, I logged out of the X session, and then out of su'ing. I typed "startx" and the same thing happened as before - blue screen and mouse is an X, no menus.
The message I saw on the screen after logging out of root's X session was:
>Warning: Symbol map for key <AC05> redefined
> Using last definition for conflicting fields
and that <AC05> goes to AC10, then LFSH, AB01-AB10, BKSL, LCTL, SPCF
Errors from xkbcomp are not fatal to the X server
Could not init fontpath element /usr/X11R6/lib/X11/fonts/Speed, removing from list!
waiting for X server to shut down
And the message i saw on the screen after Alt+Ctrl+Backspacing of user alex's session was basically the same as last time... :
The same as root above (except waiting for Xserver to shut down), then the AUDITs as i wrote in the previous post, and finally those annoying errnos:
xinit: No such file or directory (errno2): unable to connect to Xserver
xinit: No such process (errno3): server error
I'm going to try the xf86config and see if i can compare my config file to a friend's (not actually USE it, but see what's the same/diffferent, as he uses mandrake 10 also, on a desktop computer)
i'm not really familiar with mandrake package management, but is there any way to remove XFree and reinstall it, through mandrake tools or urmpi or whatever? with the apparent permissions problems, rendering problems, and xinit problems, that might actually be the best course of action at this point, to hopefully "wipe the slate clean" and get a fresh version of X (installing that driver must have really wacked something). then you can run xf86config and also make a custom config file (btw, it's "Speedo" with an o at the end, which is why you're getting that one error ). and as it says, the keyboard error is not fatal, so don't worry about that until you get X actually working.
So I tried the "xf86config" command, and did my best to configure it (I went back to the original was-working config file for the HorizSync and VertRefresh, because I had no clue what to put). It made the file, and I looked it over - the things you told me to add were in it this time. "startx" gave the same results: errno's for user "alex" and boot up fine with root (except for the mouse not responding immediatly in the beginning, but that's because it probably has the wrong one dedected - that's not the issue here, though). I also posted the new config file and log file. I'll see what else there is to do.. maybe trying XFdrake? since that's what created the file in the first place... *sigh*...