Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Jun 1997 07:53:45 -0600
From:      Richard Memory <rmemory@phbtsus.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   x errors
Message-ID:  <33A54569.5DF9@phbtsus.com>

next in thread | raw e-mail | index | archive | help
I sent the following mail to the XFree86 people, and they say that
"libXpm.so.4.10" is not part of XFree86, but should be part of my
FreeBSD distribution. How do I install that file?

----begin included message

I am trying to get XFree86 up and running on my machine. My machine is a
pentium grade pc with a Diamond Stealth 2201 video card (S3 Trio 64 V+
with 2 Meg of RAM) and an old regular VGA monitor. I belive that my
config file is correct for the hardware I have. I am using the S3
server, a horizontal scan freq of 31.5 kHz, and a vertical of 60 Hz. I
didn't perform any RAMDAC or clockchip settings.

I have installed on my machine, version 3.2 of XFree86 that came with my
version 2.2.1 distribution of FreeBSD. I performed the installation
about 3 weeks ago and haven't had x running yet.

I logged in as root into one of the available virtual terminals and
typed "xdm -nodaemon". After a few seconds, this provided me with an x
login screen. I tried logging into my regular user account through this
screen. The screen went black for a few seconds and then just simply
returned me to the x login screen. I then returned back to the virtual
terminal where I had started xdm, and typed <ctrl c> to kill xdm. I then
went to my user directory and found a  .xession-errors file that
reported the following error:

"ld.so failed: Can't find shared library "libXpm.so.4.10"

After this, I tried the following command after logging in to another
virtual terminal into my user account:

"startx >& oufile"

I have included this file at the end of this message. It contains the
same error as above.

My home directory of my user account contains the following "dot" files:
.ctwmrc /* I want to use ctwm as my window manger. This file is simply a
copy of the system.ctwmrc file I found in /usr/X11R6/lib/X11/xdm */
.Xresources /* I also simply copied this file from xdm directory */
.xinitrc /* I created this file from the example on the startx man page
-- see below */

I have a couple of other generic questions:

I am thinking that I will start xdm from my /etc/rc.local file (I don't
have an /etc/inittab file nor do I know what it is), how will xdm know
how to start ctwm instead of something like fvwm or the like? Do I need
to continue using startx? Maybe from my .profile?

Are there any other "dot" files that I am missing in my home directory?

----.xinitrc
xrdb -load $HOME/.Xresources
xsetroot -solid gray &
xbiff -geometry -430+5 &
oclock -geometry 75x75-0-0 &
xload -geometry -80-0 &
xterm -geometry +0+60 -ls &
xconsole -geometry -0+0 -fn 5x7 &
exec ctwm

---------output from startx

XFree86 Version 3.2 / X Window System
(protocol Version 11, revision 0, vendor release 6100)
Release Date: Oct 26 1996
        If the server is older than 6-12 months, or if your card is
newer
        than the above date, look for a newer version before reporting
        problems.  (see http://www.XFree86.Org/FAQ)
Operating System: FreeBSD 2.2.0 
Configured drivers:
  S3: accelerated server for S3 graphics adaptors (Patchlevel 0)
      newmmio, mmio_928, s3_generic
Using syscons driver with X support (version 2.0)
(using VT number 4)

XF86Config: /usr/X11R6/lib/X11/XF86Config
(**) stands for supplied, (--) stands for probed/default values
(**) XKB: disabled
(**) XKB: keymap: "xfree86(us)" (overrides other XKB settings)
(**) Mouse: type: Microsoft, device: /dev/mouse, baudrate: 1200,
       3 button emulation (timeout: 50ms)
(**) S3: Graphics device ID: "Diamond Stealth64 Video 2001 series
(2121/2201)"
(**) S3: Monitor ID: "My Monitor"
(--) S3: Mode "640x400" needs vert refresh rate of 69.93 Hz. Deleted.
(--) S3: Mode "800x600" needs hsync freq of 35.16 kHz. Deleted.
(--) S3: Mode "1024x768" needs hsync freq of 35.52 kHz. Deleted.
(--) S3: Mode "640x480" needs hsync freq of 36.46 kHz. Deleted.
(--) S3: Mode "800x600" needs hsync freq of 37.88 kHz. Deleted.
(--) S3: Mode "800x600" needs hsync freq of 48.08 kHz. Deleted.
(--) S3: Mode "1024x768" needs hsync freq of 48.36 kHz. Deleted.
(--) S3: Mode "1024x768" needs hsync freq of 56.48 kHz. Deleted.
(--) S3: Mode "1280x1024" needs hsync freq of 51.02 kHz. Deleted.
(--) S3: Mode "1024x768" needs hsync freq of 62.50 kHz. Deleted.
(--) S3: Mode "1280x1024" needs hsync freq of 64.25 kHz. Deleted.
(--) S3: Mode "1280x1024" needs hsync freq of 78.86 kHz. Deleted.
(--) S3: Mode "1280x1024" needs hsync freq of 81.13 kHz. Deleted.
(--) S3: Mode "320x200" needs vert refresh rate of 69.93 Hz. Deleted.
(--) S3: Mode "320x240" needs hsync freq of 39.38 kHz. Deleted.
(--) S3: Mode "400x300" needs hsync freq of 35.16 kHz. Deleted.
(--) S3: Mode "400x300" needs hsync freq of 37.88 kHz. Deleted.
(--) S3: Mode "400x300" needs hsync freq of 48.08 kHz. Deleted.
(--) S3: Mode "480x300" needs hsync freq of 35.16 kHz. Deleted.
(--) S3: Mode "480x300" needs hsync freq of 37.80 kHz. Deleted.
(--) S3: Mode "480x300" needs hsync freq of 39.56 kHz. Deleted.
(--) S3: Mode "480x300" needs hsync freq of 48.00 kHz. Deleted.
(**) FontPath set to
"/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/75dpi/:unscaled,/usr/X11R6/lib/X11/fonts/100dpi/:unscaled,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/Speedo/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/"
(--) S3: PCI: Trio32/64 rev 54, Linear FB @ 0xf4000000
(--) S3: card type: PCI
(--) S3: Diamond Stealth BIOS found
(--) S3: chipset:   Trio64V+ rev. 541
(--) S3: chipset driver: newmmio
(--) S3: videoram:  2048k
(--) S3: Ramdac type: s3_trio64
(--) S3: Ramdac speed: 135
(--) S3: Using Trio32/64 programmable clock (MCLK 54.886 MHz)
(--) S3: Maximum allowed dot-clock: 135.000 MHz
(**) S3: Mode "640x480": mode clock =  25.175
(--) S3: There is no mode definition named "800x600"
(--) S3: Removing mode "800x600" from list of valid modes.
(--) S3: There is no mode definition named "1024x768"
(--) S3: Removing mode "1024x768" from list of valid modes.
(--) S3: There is no mode definition named "1280x1024"
(--) S3: Removing mode "1280x1024" from list of valid modes.
(--) S3: Using 6 bits per RGB value
(--) S3: Virtual resolution set to 640x480
(--) S3: Local bus LAW is 0xF4000000
(--) S3: Using a banksize of 2048k, line width of 640
(--) S3: Using a single 64x64 area at (576,482) for expanding pixmaps
(--) S3: Using 8 planes of 640x2730 at (0,546) aligned 8 as font cache
PEX extension module not loaded
XIE extension module not loaded
ld.so failed: Can't find shared library "libXpm.so.4.10"
xload: can't open kvm files ¨Ý¿ï®Ý¿ï¸Ý¿ï

waiting for X server to shut down



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?33A54569.5DF9>