LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   "Out of range" Error for regular users but not root (https://www.linuxquestions.org/questions/linux-hardware-18/out-of-range-error-for-regular-users-but-not-root-308464/)

geekychic 03-31-2005 11:00 PM

"Out of range" Error for regular users but not root
 
Hi all!

I'm quite the linux newbie and I have quite an odd problem. I'm getting an "out of range" error on my lcd monitor when i try startx as any user but root.

I've run fx86config at least 30 times with every conceivable combination of device and monitor. I'm having no luck.

I'm running a hard disk install of Knoppix 3.7. My video card is an onboard radeon 9100 and my monitor is an albatron L17AS (I can't seem to find the refresh rates supported by the monitor online). Here's my current settings in XF86Config:

Code:

# **********************************************************************
# Monitor section
# **********************************************************************

# Any number of monitor sections may be present

Section "Monitor"

    Identifier  "My 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.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

    HorizSync  31.5 - 79.0

#    HorizSync        30-64        # multisync
#    HorizSync        31.5, 35.2    # multiple fixed sync frequencies
#    HorizSync        15-25, 30-50  # multiple ranges of sync frequencies

# VertRefresh is in Hz unless units are specified.
# VertRefresh may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

    VertRefresh 60-75

EndSection


# **********************************************************************
# Graphics device section
# **********************************************************************

# Any number of graphics device sections may be present

# Standard VGA Device:

Section "Device"
    Identifier        "Standard VGA"
    VendorName        "Unknown"
    BoardName        "Unknown"

# The chipset line is optional in most cases.  It can be used to override
# the driver's chipset detection, and should not normally be specified.

#    Chipset        "generic"

# The Driver line must be present.  When using run-time loadable driver
# modules, this line instructs the server to load the specified driver
# module.  Even when not using loadable driver modules, this line
# indicates which driver should interpret the information in this section.

    Driver    "vga"
# The BusID line is used to specify which of possibly multiple devices
# this section is intended for.  When this line isn't present, a device
# section can only match up with the primary video device.  For PCI
# devices a line like the following could be used.  This line should not
# normally be included unless there is more than one video device
# intalled.

#    BusID      "PCI:0:10:0"

#    VideoRam        256

#    Clocks        25.2 28.3

EndSection

# Device configured by xf86config:

Section "Device"
    Identifier  "** ATI Radeon (generic)              [radeon]"
    Driver      "radeon"
    #VideoRam    32768
    # Insert Clocks lines here if appropriate
EndSection


# **********************************************************************
# Screen sections
# **********************************************************************

# Any number of screen sections may be present.  Each describes
# the configuration of a single screen.  A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.
Section "Screen"
    Identifier  "Screen 1"
    Device      "** ATI Radeon (generic)              [radeon]"
    Monitor    "My Monitor"
    DefaultDepth 24

    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


Please help me before I take a hammer to my box ;) Thanks!

jschiwal 04-01-2005 03:06 AM

This won't answer a potential permissions problem. However, I could recommend trying the 'gtf' program to analyse your system and give you mode lines to use.

gtf 1280 1024 60 -x

gtf 1024 768 60 -x

gtf 800 600 60 -x

The gtf program is in /usr/X11/bin/gtf, and is probably in your path. If you run in init level 5 (kdm or gdm etc) the x-server will start up before you login and if that is your case, it would really be a puzzle.

I think that a 60 hz refresh rate should be safe for virtually any monitor. If this doesn't work, you will probably need to study the XFree86 log in the /var/log directory. I think that the x-server fails to start and this is the cause of the out-of-range problem.

----

After saving my response, I noticed a related thread that you might want to follow.
http://www.linuxquestions.org/questi...hreadid=308478

/bin/bash 04-01-2005 09:25 AM

You can always let X configure itself, run this as root:
X -configure
Then you will have a config file in /root directory you can copy it to /etc/X11 (after you make a backup of your current config file.)

But like jschiwal said this seems like a permission problem, more than a config problem.


All times are GMT -5. The time now is 11:39 AM.