editing XFree86Config in Red Hat


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers editing XFree86Config in Red Hat
# 1  
Old 09-16-2005
editing XFree86Config in Red Hat

My laptop is goes black when I perform startx in Red Hat 9. I used a generic monitor type, just like Red Hat documentation instructs, during the installation. Now after the installation I am unable to run RedHat-Config-xfree86, the screen just goes blank. I am trying to just edit the XFree86config file using VI. I am noticing that the Display values are 0.0. Is this the source of my problem or is there another way to configure my display? Please help
# 2  
Old 09-16-2005
The Display value has nothing to do with your monitor's resolution, 0.0 is normal, designating the first display on your system.

You'll need to know more about your monitor to write a good config file, most importantly, it's maximum horizontal and vertical refresh rates. I was fortunate enough to have my monitor autodetected by Mandrake way back when, it looks like this:
Code:
Section "Monitor"
# HorizSync is in kHz unless units are specified.
# HorizSync may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
    Identifier "Dell"
    VendorName "Plug'n Play"
    ModelName "Dell D1025TM"
    HorizSync 30-85
    VertRefresh 50-120
    DisplaySize 434 406
EndSection

Note that this is an example. Use values from YOUR MONITOR. The wrong values could possibly DAMAGE YOUR MONITOR, though fortunately monitors are better about that than they used to be. DisplaySize is something I filled in later to tell Xfree the literal physical dimensions of my monitor to stop font sizes from jumping around, it describes the width and height of the display in millimeters.

The display is only part of it. These sections come in any order, but next, my graphics card is described:
Code:
Section "Device"
    Identifier "r7500"
    Driver     "radeon"
    VideoRam   65536
    Option     "AGPMode"        "4"
    Option     "AGPFastWrite"   "on"
#    Option     "backingstore"   "true"
#           Option     "EnablePageFlip" "on"
EndSection

These are decent settings for an ATI Radeon 7500, using the open-source radeon driver. Your video card may and probably does differ, google up the appropriate settings for it.

Here's the part that actually defines resolutions:
Code:
Section "Screen"
    Identifier  "Screen 1"
    Device      "r7500"
    Monitor     "Dell"
    DefaultDepth 16

    Subsection "Display"
        Depth       8
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
EndSection

Notice how it joins the Monitor section with a Device section. DefaultDepth is the bits-per-pixel of the default video mode you want.

There's tons more in XF86Config, but those are the parts dealing with displays, video cards, and display resolutions.

You'll need to find out more about what hardware you have in your laptop before you can edit your XF86Config for it by hand.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Partition in Red Hat

Hello I am installing RED Hat linux on my machine and want to create partition mounted on /boot , / ,/var, /var/log,/opt , /export/home and /tmp. Do i need to force any of the mounted partition to be primary as i know if it is not created as a primary partition it is created as a logical... (7 Replies)
Discussion started by: DOkuwa
7 Replies

2. Red Hat

Red Hat registration

I had a query that is it that once we have registered with Red Hat, all the updates would happen automatically provided that the machine is connected to the internet? My knowledge about Red Hat registration is that it is required for updates. I hope, my question is clear. Please revert with... (2 Replies)
Discussion started by: RHCE
2 Replies

3. UNIX for Dummies Questions & Answers

how to know if i use "Red Hat Enterprise Linux" or "Red Hat Desktop" ?

how to know if i use "Red Hat Enterprise Linux" or "Red Hat Desktop" ? (2 Replies)
Discussion started by: ahmedamer12
2 Replies

4. Red Hat

Red-hat

Hello, How do I see what IP addresses are connected to my machine? thanks (2 Replies)
Discussion started by: sonomao
2 Replies

5. Red Hat

Red Hat E 3

I'm am working with a Red Hat Enterprise 3 server. This is a dedicated server that is supposedly dedicated to one domain, but I have been tasked with trying to figure out if there are files on this system that are being accessed by other IP's. Does anyone know if how I would go about finding... (0 Replies)
Discussion started by: chrisPlusPlus
0 Replies

6. Linux

red hat ee 2.6.9-42

hello. I would be greatfull if someone could tell me how will i see what dns server and gateway my red hat server uses. I tryied to find out by typing ifconfig command but i got : -bash: ifconfig: command not found , although man ifonconfig gives output with info about using that command. Is... (3 Replies)
Discussion started by: tonijel
3 Replies

7. UNIX for Dummies Questions & Answers

Red Hat 9 help

please help me how to install softwares in linux.i have a ethernet internet connection.i try to open the site on LAN to download internet client.but i cannot as our lan supports only internet explorer....i downloaded the linux client by booting thru XP......but i cannot c my NTFS partition thru... (0 Replies)
Discussion started by: shobhit143
0 Replies

8. Linux

Red Hat?

I have a Red Hat upgrade disk. I installed it and it corrupted my entire hard drive! I had gotten the disks out of a Dummy's book at my local library. Trying to install 'Red Hat', has cost me $100.00 in damages. (The cool part is my friend gave me that $100.00 part) Ah...A 120gig Hard Drive. Just... (3 Replies)
Discussion started by: hdk_mkr
3 Replies

9. UNIX for Dummies Questions & Answers

Red Hat 7.2.....

I just installed red hat 7.2 on my laptop. it's dual booted with xp and red hat. when i boot in to linux it boots up to the screen to ask me my name and pass....i put in root and my password. after this it goes to a blue screen and sits there. the after about 2 minutes it comes up with a fatal... (1 Reply)
Discussion started by: muzscman
1 Replies
Login or Register to Ask a Question