I am having problems loading a preconfigured XF86Config file with the
XF86CONFIG_FILE = XF86CONFIG_FILE.ws001


I have a picky video card on my laptop that requires some different settings
than what
the rc.setupx3 script builds see below the Weight and the ViewPort settings

Section "Screen"
    Driver      "svga"
    Device      "Micron XPE Video Card"
    Monitor     "Micron XPE Laptop LCD"
    DefaultColorDepth   16
    Subsection "Display"
        Depth       16
        Modes       "800x600"
        Weight      555
        ViewPort    0 0
    EndSubsection

After I modify the config file that I need I name it XF86CONFIG_FILE.ws001
install it in the /opt/ltsp/i386/etc directory and modified the
lts.conf file for the workstation ws001 with the line

XF86CONFIG_FILE = XF86CONFIG_FILE.ws001

The problem starts during the running of the /tmp/start_ws script

it bombs at the part it reads the new preconfigured file with error

XF86Config: /etc/XF86Config
(**) stands for supplied, (--) stands for probed/default values

Config Error: /etc/XF86Config:1

Section "Files"
               ^^

File section keyword expected

copies of files below

any help would be appreciated
Thanks
Bill


--------------------------------------------------------------------
lts.conf
#
# Config file for the Linux Terminal Server Project (www.ltsp.org)
#

[Default]
        SERVER             = 192.168.0.10
        DNS_SERVER         = 192.168.0.15
        SEARCH_DOMAIN      = "domain.com"
        XSERVER            = auto
        X_MOUSE_PROTOCOL   = "PS/2"
        X_MOUSE_DEVICE     = "/dev/psaux"
        X_MOUSE_RESOLUTION = 400
        X_MOUSE_BUTTONS    = 3
        USE_XFS            = N
        LOCAL_APPS         = N
        RUNLEVEL           = 5

#---------------------------------------------------------------------------
---
#
# Example of specifying X settings for a workstation
#
[ws001]
        XSERVER            = auto
        XF86CONFIG_FILE    = XF86Config.ws001
        X_MODE_0           = 800x600
        X_COLOR_DEPTH      = 16
        LOCAL_APPS         = N
        USE_NFS_SWAP       = N
        SWAPFILE_SIZE      = 48m
        RUNLEVEL           = 3
------------------------------------------------------------------

#[ws001]
#    MODULE_01       = agpgart.o                # This is for i810 video
#    MODULE_02       = uart401.o
#    MODULE_03       = sb.o io=0x220 irq=5 dma=1
#    MODULE_04       = opl3.o
#    MODULE_01       = pcnet32.0
#---------------------------------------------------------------------------
---
XF86Config.ws001

Section "Files"

# The location of the RGB database.  Note, this is the name of the
# file minus the extension (like ".txt" or ".db").  There is normally
# no need to change the default.

    RgbPath     "/usr/X11R6/lib/X11/rgb"

# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.

    FontPath    "/usr/X11R6/lib/X11/fonts/misc/"
    FontPath    "/usr/X11R6/lib/X11/fonts/Type1/"
    FontPath    "/usr/X11R6/lib/X11/fonts/Speedo/"
    FontPath    "/usr/X11R6/lib/X11/fonts/75dpi"
    FontPath    "/usr/X11R6/lib/X11/fonts/100dpi"

#    FontPath   "unix/:7100"
EndSection

# Server flags section.

Section "ServerFlags"

    # Uncomment this to cause a core dump at the spot where a signal is
    # received.  This may leave the console in an unusable state, but may
    # provide a better stack trace in the core dump to aid in debugging
    #NoTrapSignals

    # Uncomment this to disable the <Crtl><Alt><BS> server abort sequence
    # This allows clients to receive this key event.
    #DontZap

    # Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching
    # sequences.  This allows clients to receive these key events.
    #DontZoom

EndSection

# Input devices

# Keyboard section

Section "Keyboard"

    Protocol    "Standard"

    # when using XQUEUE, comment out the above line, and uncomment the
    # following line
    #Protocol   "Xqueue"

    AutoRepeat  500 5

    # Let the server do the NumLock processing.  This should only be
    # required when using pre-R6 clients
    #ServerNumLock

    # Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
    #Xleds      1 2 3

    #To set the LeftAlt to Meta, RightAlt key to ModeShift,
    #RightCtl key to Compose, and ScrollLock key to ModeLock:

    LeftAlt        Meta
    RightAlt        Meta
   ScrollLock      Compose
   RightCtl        Control

# To disable the XKEYBOARD extension, uncomment XkbDisable.

#    XkbDisable

# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults).  For example, for a non-U.S.
# keyboard, you will probably want to use:
#    XkbModel    "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
#    XkbModel    "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
#    XkbLayout   "de"
# or:
#    XkbLayout   "de"
#    XkbVariant  "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
#    XkbOptions  "ctrl:swapcaps"

# These are the default XKB settings for XFree86
#    XkbRules    "xfree86"
#    XkbModel    "pc101"
#    XkbLayout   "us"
#    XkbVariant  ""
#    XkbOptions  ""

   XkbKeycodes     "xfree86"
   XkbTypes        "default"
   XkbCompat       "default"
   XkbSymbols      "us(pc101)"
   XkbGeometry     "pc"
   XkbRules        "xfree86"
    XkbModel        "pc101"
    XkbLayout       "us"
EndSection

# Pointer section

Section "Pointer"
    Protocol    "PS/2"
    Device      "/dev/psaux"
    Resolution  400
    Buttons     3
    BaudRate    1200
    AlwaysCore
    ZAxisMapping 4 5
# When using XQUEUE, comment out the above two lines, and uncomment
# the following line.

#    Protocol   "Xqueue"

# Baudrate and SampleRate are only for some Logitech mice

#    BaudRate   9600
#    SampleRate 150

# Emulate3Buttons is an option for 2-button Microsoft mice
# Emulate3Timeout is the timeout in milliseconds (default is 50ms)

#    Emulate3Buttons
#    Emulate3Timeout    50

# ChordMiddle is an option for some 3-button Logitech mice

#    ChordMiddle

EndSection


# Monitor section

# Any number of monitor sections may be present

Section "Monitor"

    Identifier  "Micron XPE Laptop LCD"
    VendorName  "Micron"
    ModelName   "XPE"

# 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-62

# 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 50-70

# Modes can be specified in two formats.  A compact one-line format, or
# a multi-line format.

# These two are equivalent

#    ModeLine "1024x768i" 45 1024 1048 1208 1264 768 776 784 817 Interlace

#    Mode "1024x768i"
#        DotClock       45
#        HTimings       1024 1048 1208 1264
#        VTimings       768 776 784 817
#        Flags          "Interlace"
#    EndMode

# 800x600 @ 56 Hz, 35.15 kHz hsync
ModeLine "800x600"     36     800  824  896 1024   600  601  603  625

EndSection


# Graphics device section

# Any number of graphics device sections may be present

Section "Device"
    Identifier  "Micron XPE Video Card"
    VendorName  "Cirrus Logic"
    BoardName   "GD-7555"
EndSection


# Screen sections

# The Colour SVGA server

Section "Screen"
    Driver      "svga"
    Device      "Micron XPE Video Card"
    Monitor     "Micron XPE Laptop LCD"
    DefaultColorDepth   16
    Subsection "Display"
        Depth       16
        Modes       "800x600"
        Weight      555
        ViewPort    0 0
    EndSubsection









-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

Reply via email to