Setup Troubles
Summary:- Preparations
- Rerunning The X Configuration Utility
- Finding Out About X Server 'Issues'
- If Your Card Is Not Supported By XFree
- Logs
- Common Errors and Fixes
Preparations
It is always good to have some data at hand, here you might need the brand and chipset of your video card, the manufacturer name, model name and - perhaps - the frequency specs of your monitor.How to find out specs
Of course the easiest way would be to have the relevant hardware docs at hand. If you don't have them, there are several ways to find out:- If you happen to have MS-Windows installed, get some data from its control panel (Right-Click somewhere on the screen - 'Properties' - 'Change Configuration').
This will tell you at least the name of the graphics card and something about the monitor. Write it down. Many graphic cards come with their own bundle of diagnostic software. Chances are that this software will tell you more. - In Linux, either use 'lspcidrake' or the command
- Have a look at the '/usr/share/ldetect-lst/~MonitorsDB' file if it lists your monitor.
The only values you might be interested in now are '~HorizSync' and '~VertRefresh'. Write them down. - See a friendly hardware vendor and ask him.
- Visit the hardware manufacturer's web-site. Sometimes they maintain spec-databases for their products.
- Ask in hardware-related Usenet newsgroups like comp.periphs.*, comp.sys.ibm.pc.hardware.video, or comp.os.linux.hardware.
Rerunning The X Configuration Utility
Sometimes it just takes rerunning the X configuration utility to get a working X. Running this utility requires 'root' privileges. In Mandrake releases 7.x and later, you can use XFdrake on the console. For manual settings, try XFdrake expert If you've set up your system to boot directly into graphics mode, press theIf you can't find the exact model of your graphics card in the presented list, try the entry which comes closest, but do not choose a card with more video memory than the one you have installed. section index
Finding Out About X Server 'Issues'
If rerunning the configuration utility hasn't helped you, you should check the XFree documentation for your card.This documentation is stored in '/usr/X11R6/lib/X11/doc' (those X guys sure know how to hide help files ;-)). This directory consists of README files for the several X servers (X 3) or drivers (X 4), for input devices and more. If you don't know which X server / driver is the right one, cd to that directory and run grep -i name_of_device * This will list all files which mention your card. If it is not mentioned at all, you've either made a typo, used the wrong name, or your card isn't supported. The READMEs list the supported cards and options you may pass to the X server. Most servers accept options like
"noaccel""no_bitblt"If Your Card Is Not Supported By XFree
If your card isn't listed in the supported card database or if it's listed but support is flaky, you have three more possibilities: getting a Linux driver from the vendor, using a commercial X server or using the framebuffer server. Several vendors are offering their own drivers for Linux. These drivers either add support for chipsets or allow you to use certain proprietary hardware features like 3D acceleration.Due to the license of these drivers, they can't be distributed along with the free edition of Mandrake Linux (or indeed any other Linux distribution) and their use is not supported by Mandrakesoft: The usual tactic to install these drivers is to configure a 'generic vga card' during installation and then replace the values in '/etc/X11/XF86Config-4' with those needed by the vendor's driver. Read the accompanying help file of the driver. Commercial X servers for Linux are offered by Xi Graphics and by Metro Link. Notice that since these are commercial products, you will have to rely on their support or find one of the few other Linux users who uses them. Xi Graphics' X servers are rather expensive. The framebuffer server is a generic X server which works for all cards which at least comply to the VESA 2 standard. As it is with generic servers, it's slow as molasses, but it should at least work with all post-1996 graphics cards. Read the Framebuffer HOWTO for more information. section index
Logs
To get an idea of what's going wrong, check the log files like '.xsession-errors' in your home directory or '/var/log/XFree86.{x}.log'.You can generate a log on your own with X > xlog.txt 2>&1 Then kill the X server with
Common Errors and Fixes
- _X11TransSocketUNIXConnect: Can't connect: errno = 111
Quoting only this message in a bug report is therefore utterly useless. Look in the server output for the real reason why the server died. Normally you should see the real error message (=why the server stopped working) a few lines before the "error 111" message.
- could not open default font 'fixed'
Make sure you have the X font server xfs installed (rpm -qa | grep xfs) and that it is running (service xfs status as 'root'). Have a look at '/etc/X11/XF86Config-4'. The font path setting should look like this:
~FontPath "unix/:-1"- INIT: Id "x" respawning too fast: disabled for 5 minutes or screen keeps flicking resolutions on X startup
- no screens found
- X loads but dies or shows just a gray screen when started with 'startx'
- Monitor not listed in database
- Get the values for horizontal and vertical refresh rates for your monitor and write them down. These values can be gathered from the hardware's documentation or the manufacturer's website.
- The next step depends on where you are.
- If you are installing Mandrake Linux, choose 'Generic VGA Monitor' from the monitor list to get through this installation step. Do not test the setup. On reboot, press the ESC key when the boot screen is displayed and type
- If you are already on the console, run (as 'root')
- Type
- Press the key. Scroll the file down to the "Monitor section".
- Replace the values for '~HorizSync' and '~VertRefresh' with the values of your monitor model.
- Press
. Type
- Reboot.
Related Resources:
XFree86: Support, Documentation and Resourcescomp.windows.x. i386unix
comp.os.linux.x Revision / Modified: June 19, 2002
Author: Tom Berger Legal: This page is covered by the GNU Free Documentation License. Standard disclaimers of warranty apply. Copyright LSTB and Mandrakesoft.
Setup Troubles
Version 1.3 last modified by AdminWiki on 22/03/2004 at 09:45
Version 1.3 last modified by AdminWiki on 22/03/2004 at 09:45
Document data
- Lost account?
- Join the community, be part of the Club: it's free!
- Get the PWP Download Subscription!
Mandriva.com
Store
Club



