You are not logged in.

#1 2003-08-18 05:17:20

jlowell
Member
Registered: 2003-08-10
Posts: 270

X, Schmex

Yesterday, I posted a message here concerning an error I was getting concerning module dependencies. Since I have built in everything and there are no modules the file sought by /etc/rc.sysinit hadn't been created as typically it would. I edited /etc/rc.sysinit commenting out the superfluous lines. Now fine, I went on to rebuild the base packages using makeworld, a story in itself, and later makepkg to compile Xfree86, openbox, and aterm. I configured X with the aging xfree86config, doing it the way I've done it countless times. At reboot I noticed that I was getting the same old module dependency message I'd managed to put out of its misery yesterday. I checked and sure enough the file had been overwritten by some process, almost certainly during the installation of xfree86, so I edited it again.

That fixed, I went on to running  startx. Sadly, it brings output:

(EE) xf86OpenSerial: cannot open device /dev/mouse
              No such file or directory
(EE) Mouse1: cannot open input device
(EE) PreInit failed for input device: "Mouse1"
No core pointer

Fatal server error:
failed to initialize core devices

Clearly, there is a problem here with the mouse. Why I can imagine. Could this be a kernel problem with a possible need to reconfigure and recompile? If it is, what proceedure, if any, is recommended with Arch for doing a reconfiguration?

jlowell

Offline

#2 2003-08-18 05:30:02

Jagged
Member
From: Blacksburg, VA
Registered: 2003-07-18
Posts: 153

Re: X, Schmex

is your mouse at /dev/mouse (or /dev/psaux)?

are you using a usb mouse... if so, are the appropriate kernel drivers installed?


Nkawtg...n!

Offline

#3 2003-08-18 06:07:20

jlowell
Member
Registered: 2003-08-10
Posts: 270

Re: X, Schmex

Hi Jagged!

Good to hear from you. Something that I had to do that edit of /etc/rc.sysinit a second time, eh? Installing Xfree86 apparently involves an overwrite of that file. Anyway, it's fixed now.

As to the mouse, I have just a standard issue three button mouse, not a USB mouse, and I used #1 in xf86config to configure it for X. Looking at /dev, however, I see no entry for /dev/mouse and I'm wondering why.

As you know, I approach kernel configuration by building everything in and did my kernel from sourcecode using the install CD. As far as I recall I did what was necessary with the kernel to get the mouse to work. I mean you could hardly avoid doing that with the default selections so I'm a little in the dark about what to do here.

jlowell

Offline

#4 2003-08-18 19:16:34

apeiro
Daddy
From: Victoria, BC, Canada
Registered: 2002-08-12
Posts: 771
Website

Re: X, Schmex

We use DevFS, and our default setup doesn't have a /dev/mouse symlink.  If it's a ps/2 mouse, use /dev/misc/psaux instead.

Offline

#5 2003-08-18 19:38:14

jlowell
Member
Registered: 2003-08-10
Posts: 270

Re: X, Schmex

Thanks, apiero, but I'm still a little mystified about what I need to do to get things set up here. Do you want me to create a simlink? If so to what?

Some help with specifics would be appreciated. Once learned they'll not be forgotten should an install on another box be performed.

I'll look forward to hearing from you.

jlowell

Offline

#6 2003-08-18 19:40:12

Jagged
Member
From: Blacksburg, VA
Registered: 2003-07-18
Posts: 153

Re: X, Schmex

edit /etc/X11/XF86Config

in the pointer device section change /dev/psaux to /dev/misc/psaux


Nkawtg...n!

Offline

#7 2003-08-18 20:05:48

jlowell
Member
Registered: 2003-08-10
Posts: 270

Re: X, Schmex

Hi Jagged,

Well /etc/X11/XF86Config doesn't have a /dev/psaux entry under the pointer section but you're permited to enter a path for the mouse in xf86config, so I did it that way.

But no sooner had we that problem solved than the next attempt at startx brings:

Fatal server error: could not open default font 'fixed'.

You know, I compiled xfree86 from source and installed it. I wonder if there's something wrong with this build. It overwrote /etc/rc.sysinit and now more problems.

Your thoughts?

jlowell

Offline

#8 2003-08-18 20:13:44

apeiro
Daddy
From: Victoria, BC, Canada
Registered: 2002-08-12
Posts: 771
Website

Re: X, Schmex

Okay, let's start fresh.  The easiest way (I find) to configure X is thru their text-mode utility.

# xf86cfg -textmode

This gives you a menu-based interface where you can configure different aspects of X.  As long as you know some information about your system (video card, monitor specs, etc) you should be fine in here.

Now, in the InputDevice section for "Mouse0" (your mouse), you'll want to change the Option "Device" "/dev/mouse" line to point to /dev/misc/psaux instead, like so:

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "ImPS/2"
        Option      "Emulate3Buttons"
        Option      "Device" "/dev/misc/psaux"
        Option      "ZAxisMapping" "4 5"
EndSection

I'll post one of my XF86Configs below here, for reference.  You can use it as a model.

Section "Files"
EndSection

Section "Module"
        Load "freetype"
        Load  "extmod"
        Load  "glx"
        Load  "dri"
        Load  "dbe"
        Load  "record"
        Load  "xtrap"
        Load  "type1"
        Load  "speedo"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "ImPS/2"
        Option      "Emulate3Buttons"
        Option      "Device" "/dev/misc/psaux"
        Option      "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "keyboard"
        Option      "XkbModel" "pc101"
        Option      "XkbLayout" "us"
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        HorizSync    31.5 - 57.0
        VertRefresh  50.0 - 100.0
EndSection

Section "Device"
        Identifier  "Card0"
        Driver      "ati"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Driver      "ati"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultDepth     24
        SubSection "Display"
                Depth     24
                Modes    "1024x768"
        EndSubSection
EndSection

Section "DRI"
        Mode 0666
EndSection

Offline

#9 2003-08-18 20:21:35

jlowell
Member
Registered: 2003-08-10
Posts: 270

Re: X, Schmex

Hi apiero,

Thank you for your effort to help me but, happily, I'd already found my way to a solution of the mouse difficulty. xf86config gives an opportunity to enter the path to the mouse. I entered the correct one and overwrote my old /etc/X11/XF86Config file.

Your help would be appreciated with the font problem I've outlined in my earlier post, however:

But no sooner had we that problem solved than the next attempt at startx brings: 

Fatal server error: could not open default font 'fixed'. 

Ideas?

jlowell

Offline

#10 2003-08-18 20:26:49

Mork II
Member
From: Visby, Sweden
Registered: 2003-05-14
Posts: 87

Re: X, Schmex

I'm not clear on wether you got the mouse working or not, so I'll post this just in case, for future reference you might say.

# This is how an entry for an ps/2 mouse should look
Section "InputDevice"
    Identifier    "Mouse1"
    Driver    "mouse"
    Option "Protocol"    "PS/2"
    Option "Device"      "/dev/psaux"
EndSection

# This is how an entry for a usb-mouse should look
Section "InputDevice" 
    Identifier  "Mouse2"
    Driver      "mouse"
    Option      "Protocol"      "ImPS/2"
    Option      "Device"        "/dev/input/mice"
    Option    "ZAxisMapping"    "4 5" # This enables mousewheel
    Option    "Emulate3Buttons" # Use this for two button mice, doubleclick is  third button   
EndSection

# This is how a server layout section with one keyboard, one monitor and 
# two mice might look (It's a laptop, hence two mice). 

Section "ServerLayout"
    Identifier  "Simple Layout"
    Screen "Screen 1"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Mouse2" "SendCoreEvents" 
    InputDevice "Keyboard1" "CoreKeyboard"
EndSection

As for building X. I took the lazy mans option and used the package from current. Works like a dream.

//Edit: I must learn to type faster tongue//

Offline

#11 2003-08-18 20:32:53

jlowell
Member
Registered: 2003-08-10
Posts: 270

Re: X, Schmex

Hi Mork II.

Thanks for your message.

Lots of simultaneous or near simultaneous posting today it would seem. I do, in fact, have the mouse problem solved but am dealing now with another X related problem:

But no sooner had we that problem solved than the next attempt at startx brings: 

Fatal server error: could not open default font 'fixed'

Your thoughts?

jlowell

Offline

#12 2003-08-18 20:45:26

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: X, Schmex

please post your xconfig.

with regards to that actual error i believe it has to do with the x86 font server. i had this issue long ago in mandrake ppc and remember ther is a whole pile of hits when you do a google.com.linux search with thast error.

but before you do that we should look at your config


AKA uknowme

I am not your friend

Offline

#13 2003-08-18 21:35:30

jlowell
Member
Registered: 2003-08-10
Posts: 270

Re: X, Schmex

Hi Sarah!

You'll find /etc/X11/XF86Config below:

# File generated by xf86config.

#
# Copyright (c) 1999 by The XFree86 Project, Inc.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following conditions:
# 
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
# 
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
# THE XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
# OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
# 
# Except as contained in this notice, the name of the XFree86 Project shall
# not be used in advertising or otherwise to promote the sale, use or other
# dealings in this Software without prior written authorization from the
# XFree86 Project.
#

# **********************************************************************
# Refer to the XF86Config(4/5) man page for details about the format of 
# this file.
# **********************************************************************

# **********************************************************************
# Module section -- this  section  is used to specify
# which dynamically loadable modules to load.
# **********************************************************************
#
Section "Module"

# This loads the DBE extension module.

    Load        "dbe"      # Double buffer extension

# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection

# This loads the Type1 and FreeType font modules
    Load        "type1"
    Load        "speedo"
#    Load        "freetype"
#    Load        "xtt"

# This loads the GLX module
#    Load       "glx"
# This loads the DRI module
#    Load       "dri"

EndSection

# **********************************************************************
# Files section.  This allows default font and rgb paths to be set
# **********************************************************************

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 (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)
# 
# If you don't have a floating point coprocessor and emacs, Mosaic or other
# programs take long to start up, try moving the Type1 and Speedo directory
# to the end of this list (or comment them out).
# 

    FontPath   "/usr/X11R6/lib/X11/fonts/local/"
    FontPath   "/usr/X11R6/lib/X11/fonts/misc/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
    FontPath   "/usr/X11R6/lib/X11/fonts/Speedo/"
#    FontPath   "/usr/X11R6/lib/X11/fonts/Type1/"
#    FontPath   "/usr/X11R6/lib/X11/fonts/TrueType/"
#    FontPath   "/usr/X11R6/lib/X11/fonts/freefont/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/"

# The module search path.  The default path is shown here.

#    ModulePath "/usr/X11R6/lib/modules"

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

#    Option "NoTrapSignals"

# Uncomment this to disable the <Crtl><Alt><Fn> VT switch sequence
# (where n is 1 through 12).  This allows clients to receive these key
# events.

#    Option "DontVTSwitch"

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

#    Option "DontZap"

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

#    Option "Dont Zoom"

# Uncomment this to disable tuning with the xvidtune client. With
# it the client can still run and fetch card and monitor attributes,
# but it will not be allowed to change them. If it tries it will
# receive a protocol error.

#    Option "DisableVidModeExtension"

# Uncomment this to enable the use of a non-local xvidtune client. 

#    Option "AllowNonLocalXvidtune"

# Uncomment this to disable dynamically modifying the input device
# (mouse and keyboard) settings. 

#    Option "DisableModInDev"

# Uncomment this to enable the use of a non-local client to
# change the keyboard or mouse settings (currently only xset).

#    Option "AllowNonLocalModInDev"

EndSection

# **********************************************************************
# Input devices
# **********************************************************************

# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************

Section "InputDevice"

    Identifier    "Keyboard1"
    Driver    "Keyboard"

# For most OSs the protocol can be omitted (it defaults to "Standard").
# When using XQUEUE (only for SVR3 and SVR4, but not Solaris),
# uncomment the following line.

#    Option     "Protocol"      "Xqueue"

    Option "AutoRepeat" "500 30"

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

#    Option "LeftAlt"     "Meta"
#    Option "RightAlt"    "ModeShift"

# 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:
#    Option "XkbModel"    "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
#    Option "XkbModel"    "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
#    Option "XkbLayout"   "de"
# or:
#    Option "XkbLayout"   "de"
#    Option "XkbVariant"  "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
#    Option "XkbOptions"  "ctrl:swapcaps"

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

#    Option "XkbDisable"

    Option "XkbRules"    "xfree86"
    Option "XkbModel"    "pc101"
    Option "XkbLayout"    "us"

EndSection


# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************

Section "InputDevice"

# Identifier and driver

    Identifier    "Mouse1"
    Driver    "mouse"
    Option "Protocol"    "Auto"
    Option "Device"      "/dev/misc/psaux"

# Mouse-speed setting for PS/2 mouse.

#    Option "Resolution"    "256"

# When using XQUEUE, comment out the above two lines, and uncomment
# the following line.

#    Option "Protocol"    "Xqueue"

# Baudrate and SampleRate are only for some Logitech mice. In
# almost every case these lines should be omitted.

#    Option "BaudRate"    "9600"
#    Option "SampleRate"    "150"

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

#    Option "Emulate3Buttons"
#    Option "Emulate3Timeout"    "50"

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

#    Option "ChordMiddle"

EndSection


# **********************************************************************
# Other input device sections 
# this is optional and is required only if you
# are using extended input devices.  This is for example only.  Refer
# to the XF86Config man page for a description of the options.
# **********************************************************************
#
# Section "InputDevice" 
#    Identifier  "Mouse2"
#    Driver      "mouse"
#    Option      "Protocol"      "MouseMan"
#    Option      "Device"        "/dev/mouse2"
# EndSection
#
# Section "InputDevice"
#    Identifier "spaceball"
#    Driver     "magellan"
#    Option     "Device"        "/dev/cua0"
# EndSection
#
# Section "InputDevice"
#    Identifier "spaceball2"
#    Driver     "spaceorb"
#    Option     "Device"        "/dev/cua0"
# EndSection
#
# Section "InputDevice"
#    Identifier "touchscreen0"
#    Driver     "microtouch"
#    Option     "Device"        "/dev/ttyS0"
#    Option     "MinX"          "1412"
#    Option     "MaxX"          "15184"
#    Option     "MinY"          "15372"
#    Option     "MaxY"          "1230"
#    Option     "ScreenNumber"  "0"
#    Option     "ReportingMode" "Scaled"
#    Option     "ButtonNumber"  "1"
#    Option     "SendCoreEvents"
# EndSection
#
# Section "InputDevice"
#    Identifier "touchscreen1"
#    Driver     "elo2300"
#    Option     "Device"        "/dev/ttyS0"
#    Option     "MinX"          "231"
#    Option     "MaxX"          "3868"
#    Option     "MinY"          "3858"
#    Option     "MaxY"          "272"
#    Option     "ScreenNumber"  "0"
#    Option     "ReportingMode" "Scaled"
#    Option     "ButtonThreshold"       "17"
#    Option     "ButtonNumber"  "1"
#    Option     "SendCoreEvents"
# EndSection

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

#    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 55-120

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  "** Matrox Graphics (generic)          [mga]"
    Driver      "mga"
    #VideoRam    32768
# Option "mga_sdram"
    # 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      "** Matrox Graphics (generic)          [mga]"
    Monitor     "My Monitor"
    DefaultDepth 24

    Subsection "Display"
        Depth       8
        Modes       "800x600"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "800x600"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "800x600"
        ViewPort    0 0
    EndSubsection
EndSection

# **********************************************************************
# ServerLayout sections.
# **********************************************************************

# Any number of ServerLayout sections may be present.  Each describes
# the way multiple screens are organised.  A specific ServerLayout
# section may be specified from the X server command line with the
# "-layout" option.  In the absence of this, the first section is used.
# When now ServerLayout section is present, the first Screen section
# is used alone.

Section "ServerLayout"

# The Identifier line must be present
    Identifier  "Simple Layout"

# Each Screen line specifies a Screen section name, and optionally
# the relative position of other screens.  The four names after
# primary screen name are the screens to the top, bottom, left and right
# of the primary screen.  In this example, screen 2 is located to the
# right of screen 1.

    Screen "Screen 1"

# Each InputDevice line specifies an InputDevice section name and
# optionally some options to specify the way the device is to be
# used.  Those options include "CorePointer", "CoreKeyboard" and
# "SendCoreEvents".

    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"

EndSection

# Section "DRI"
#    Mode 0666
# EndSection

You know, I wonder if this problem may have some relation to xfs not starting at boot. While I'm told that the latest versions of xfree86 don't require xfs to start at boot, I wonder if it couldn't hurt trying to turn it on.

I'll look forward to hearing from you.

jlowell

Offline

#14 2003-08-18 21:49:21

Arielext
Member
From: Amersfoort, the Netherlands
Registered: 2002-08-12
Posts: 362
Website

Re: X, Schmex

Is there a reason why you don't have true type fonts enabled?


apt-get install arch

Offline

#15 2003-08-18 22:02:29

jlowell
Member
Registered: 2003-08-10
Posts: 270

Re: X, Schmex

Hi Arietext!

No reason at all. I've uncommented the appropriate line. Same result with startx, however.

Regards.

jlowell

Offline

#16 2003-08-18 22:07:28

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: X, Schmex

also uncommenting freetype and adding one for freetype2 would not hurt. here is my working xconfig:

Section "ServerLayout"
        Identifier     "XFree86 Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        RgbPath      "/usr/X11R6/lib/X11/rgb"
        ModulePath   "/usr/X11R6/lib/modules"
        FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
        FontPath     "/usr/X11R6/lib/X11/fonts/Speedo/"
        FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
        FontPath     "/usr/X11R6/lib/X11/fonts/CID/"
        FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
        FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection
        Load  "record"
        Load  "extmod"
        Load  "dbe"
#       Load  "dri"
        Load  "glx"

Section "Module"        Load  "xtrap"
        Load  "type1"
        Load  "speedo"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "keyboard"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "IMPS/2"
        Option      "Device" "/dev/psaux"
        Option      "Buttons" "3"
        Option      "ZAxisMapping" "4 5"
EndSection
Section "Monitor"
        #DisplaySize      360   270     # mm
        Identifier   "Monitor0"
        VendorName   "DWE"
        ModelName    "PnP Monitor"
        Option      "DPMS"
        HorizSync 30-95
        VertRefresh 50-160
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "SWcursor"                  # [<bool>]
        #Option     "HWcursor"                  # [<bool>]
        #Option     "NoAccel"                   # [<bool>]
        #Option     "ShowCache"                 # [<bool>]
        #Option     "ShadowFB"                  # [<bool>]
        #Option     "UseFBDev"                  # [<bool>]
        #Option     "Rotate"                    # [<str>]
        #Option     "VideoKey"                  # <i>
        #Option     "FlatPanel"                 # [<bool>]
Identifier  "Card0"
        Driver      "nvidia"
        VendorName  "NVidia"BoardName   "0x0171"
        BusID       "PCI:1:0:0"
        Option "NvAGP" "1"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultDepth 24
        SubSection "Display"

                Depth     1
        EndSubSection
        SubSection "Display"
                Depth     4
        EndSubSection
        SubSection "Display"
                Depth     8
        EndSubSection
        SubSection "Display"
                Depth     15
        EndSubSection
        SubSection "Display"
                Depth     16
        EndSubSection
        SubSection "Display"
                Depth     24
                Modes "1280x1024" "1024x768" "800x600"
        EndSubSection
EndSection

another thing you may want to consider is adding certain files to your NoUpgrade section in rc.conf.


AKA uknowme

I am not your friend

Offline

#17 2003-08-18 22:48:53

Toth
Member
Registered: 2002-12-04
Posts: 82

Re: X, Schmex

I think sarah has a typo in her above post. The NoUpgrade option appears in /etc/pacman.conf, not rc.conf.

Any luck with this problem yet?

Offline

#18 2003-08-18 22:53:09

Toth
Member
Registered: 2002-12-04
Posts: 82

Re: X, Schmex

Make sure to uncomment the line that reads Load "freetype" if you haven't yet.  You can try running fc-cache -fv as root to update your font caches, but that should only affect TTFs and other such fonts handled by fontconfig. Check the directories /usr/X11R6/lib/X11/fonts/misc. That atleast should contain some list of default fonts.

Offline

#19 2003-08-18 23:04:29

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: X, Schmex

thanks toth ...yes i meant pacman.conf.....i had only 1.5 hours sleep last night


AKA uknowme

I am not your friend

Offline

#20 2003-08-18 23:34:42

Toth
Member
Registered: 2002-12-04
Posts: 82

Re: X, Schmex

Heh, it sounds like you could use a nap smile

Offline

#21 2003-08-19 01:40:59

jlowell
Member
Registered: 2003-08-10
Posts: 270

Re: X, Schmex

Everyone,

I'm going to start over. There's clearly something wrong that a reinstallation might help, first because I now know how to do a lot of what I need to do whereas there was some guesswork first time around and probably some mistakes. I reserve the right to take that back if I get the same problems the second time though. smile

As to X, every reboot after an attempted fix running startx I keep getting the same or very similar errors. Toth, looking at /usr/X11R6/lib/X11/fonts/misc, other than one file the cupboard was bare. Running fc-cache -fv at first seemed promising but I still got output:

X IO: fatal IO error 104 (connection reset by peer) on server "0.0" ater 0 requests 0 (0 known processed).

I've done a lot of installations of various Linux distros and know when its time for me to give up and try again. I've tried to do a number of things with Arch that it clearly has the capacity to do, that is to say a rebuild of the base system from source and attempts at source builds of at least three or four packages need for run level 5, and well may have botched up a proceedure or two, possibly with X. I like this distro, think it has tons of potential and think it deserves a clean, unproblemed install to give it an honest try. And, Sarah, I intend to employ the NoUpgrade option in /etc/pacman.conf next time around.

Many thanks for the prompt and very first class help I've gotten on this forum. I'm sure there'll be more questions for you. I always have questions about GNU/Linux.

jlowell

Offline

Board footer

Powered by FluxBB