Skip site navigation (1)Skip section navigation (2)
Date:      Fri,  5 Feb 1999 17:53:02 -0500 (EST)
From:      "Russell D. Murphy" <rdmurphy@vt.edu>
To:        stable@FreeBSD.ORG
Subject:   2.2-stable - 3.0-stable and X
Message-ID:  <14011.29244.974506.80389@neale.econ.vt.edu>

next in thread | raw e-mail | index | archive | help

I realize that, wanting stability one shouldn't be moving to 3.0-S
yet, but I need to move a machine along soon, so I thought I'd try on
my laptop.

The process worked quite well, with some minor bumps.  Most were
probably my doing.  One apparent bug is that the new boot loader, if I 
understand its help messages correctly, should take:

boot -s kernel.old

to boot kernel.old in single user mode.  This actually boots kernel.  To 
boot kernel.old in single user mode, I had to specify:

boot kernel.old -s

A minor point.

My bigger problem is that I can nolonger login as myself through xdm.
I can login (non-X); I can login (X) as root.  As myself, I see fvwm
start (sets screen color), screen flashes again, then I'm sent back to 
the login window.  I suspect something I've done is not quite kosher,
but it was working before. . .

My .xsession-errors has:

-----
IP 
DISPLAY  :0
X connection to :0.0 broken (explicit kill or server shutdown).
X connection to :0.0 broken (explicit kill or server shutdown).
X connection to :0.0 broken (explicit kill or server shutdown).
X connection to :0.0 broken (explicit kill or server shutdown).
X connection to :0.0 broken (explicit kill or server shutdown).
Xlib: connection to ":0.0" refused by server
Xlib: Client is not authorized to connect to Server
Error: Can't open display: :0.0
Xlib: connection to ":0.0" refused by server
Xlib: Client is not authorized to connect to Server
FvwmPager: can't open display :0.0
-----

My .xsession file:

-----
#!/bin/sh

# Get hostname
cpu=`/bin/hostname -s`

# modify to set DISPLAY based on IP address; avoid name lookup
# when running behind natd gateway

IP=`/usr/bin/grep $CPU /etc/hosts | /usr/bin/grep -v localhost | /usr/bin/awk '{print $1}'`

echo "IP " $IP

# Set DISPLAY if it is not set.
if [ -z $DISPLAY ]; then
	DISPLAY=$IP:0
fi
case $DISPLAY in
	unix:0.0|unix:0|:0.0|:0)DISPLAY="$IP:0";;
esac
export DISPLAY

echo "DISPLAY " $DISPLAY

# Merge user resource definitions, if they exist, with system definitions.
if [ -f $HOME/.Xresources ]; then
	xrdb -merge $HOME/.Xresources
fi

# KeyClick off, screen Saver after 7 minutes
xset c off s 600
# Mouse acceleration and threshold
xset m 4 3

PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin:$HOME/bin
export PATH

MANPATH=/usr/share/man:/usr/local/man:/usr/X11R6/man
export MANPATH

LD_LIBRARY_PATH=/lib:/usr/lib:/usr/local/lib:/usr/X11R6/lib:/usr/local/real-player/rvplayer5.0
export LD_LIBRARY_PATH

XAPPLRESDIR=/usr/X11R6/lib/X11/app-defaults
export XAPPLRESDIR

XKEYSYMDB=/usr/X11R6/lib/X11/XKeysymDB
export XKEYSYMDB

XNLSPATH=/usr/X11R6/lib/X11/nls
export XNLSPATH

# ----------------------------------------------------------------------
#
# start the controlling process(es).  First a window manager:

# Try this for something slightly different
fvwm &

# The MS-Windows 95 look-a-like:
# fvwm95 &
# ----------------------------------------------------------------------

exec xterm -ls -n login -title "logout here" -display $DISPLAY -geometry 80x15+0+0 -iconic
# ----------------------------------------------------------------------
-----

and /usr/X11R6/lib/xdm/xdm-errors:

-----
XFree86 Version 3.3.2 / X Window System
(protocol Version 11, revision 0, vendor release 6300)
Release Date: February 28 1998
	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.5-STABLE i386 

< stuff deleted >

Using syscons driver with X support (version 2.0)
(using VT number 2)

XF86Config: /etc/XF86Config
(**) stands for supplied, (--) stands for probed/default values
(**) XKB: rules: "xfree86"
(**) XKB: model: "pc101"
(**) XKB: layout: "us"
(**) Mouse: type: SysMouse, device: /dev/sysmouse, buttons: 3
(**) Mouse: 3 button emulation (timeout: 50ms)
(**) SVGA: Graphics device ID: "Primary Card"
(**) SVGA: Monitor ID: "Solo 5100 LCD"
(**) FontPath set to "/usr/X11R6/lib/X11/fonts/misc:unscaled,/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/misc,/usr/X11R6/lib/X11/fonts/75dpi,/usr/X11R6/lib/X11/fonts/100dpi"
xf86OpenConsole: VT_ACTIVATE failed
xf86OpenConsole: VT_WAITACTIVE failed

Fatal server error:
xf86OpenConsole: VT_SETMODE VT_PROCESS failed


When reporting a problem related to a server crash, please send
the full server output, not just the last messages

xf86CloseConsole: KDDISABIO failed (Inappropriate ioctl for device)
xdm error (pid 259): IO Error in XOpenDisplay
xdm error (pid 255): Display :0 cannot be opened

XFree86 Version 3.3.2 / X Window System
(protocol Version 11, revision 0, vendor release 6300)
Release Date: February 28 1998
	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.5-STABLE i386 

< stuff deleted >

Using syscons driver with X support (version 2.0)
(using VT number 4)

XF86Config: /etc/XF86Config
(**) stands for supplied, (--) stands for probed/default values
(**) XKB: rules: "xfree86"
(**) XKB: model: "pc101"
(**) XKB: layout: "us"
(**) Mouse: type: SysMouse, device: /dev/sysmouse, buttons: 3
(**) Mouse: 3 button emulation (timeout: 50ms)
(**) SVGA: Graphics device ID: "Primary Card"
(**) SVGA: Monitor ID: "Solo 5100 LCD"
(**) FontPath set to "/usr/X11R6/lib/X11/fonts/misc:unscaled,/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/misc,/usr/X11R6/lib/X11/fonts/75dpi,/usr/X11R6/lib/X11/fonts/100dpi"
(--) SVGA: PCI: C&T 65555 rev 198, Memory @ 0xfd000000
(**) SVGA: Chipset: ct65555 
(--) SVGA: CHIPS: no monitor detected.
(**) SVGA: CHIPS: 2048 kB VRAM
(--) SVGA: CHIPS: TFT probed.
(--) SVGA: CHIPS: LCD
(--) SVGA: CHIPS: Display Size: x=1024; y=768
(--) SVGA: CHIPS: PCI Bus
(--) SVGA: CHIPS: base address is set at 0xFD000000.
(--) SVGA: CHIPS: Linear addressing is enabled at 0xFD000000.
(**) SVGA: CHIPS: 16 bpp.
(--) SVGA: CHIPS: Internal DAC disabled.
(--) SVGA: CHIPS: using programmable clocks.
(--) SVGA: CHIPS: probed memory clock of 50113 KHz
(**) SVGA: chipset:  ct65555
(**) SVGA: videoram: 2048k
(**) SVGA: Option "no_stretch"
(**) SVGA: Option "sw_cursor"
(**) SVGA: Using 16 bpp, Depth 16, Color weight: 565
(--) SVGA: Maximum allowed dot-clock: 70.158 MHz
(**) SVGA: Mode "1024x768": mode clock =  65.100
(**) SVGA: Mode "800x600": mode clock =  28.300
(**) SVGA: Mode "640x480": mode clock =  28.300
(--) SVGA: Virtual resolution set to 1024x768
(--) SVGA: CHIPS: 524288 bytes off-screen memory available
(--) SVGA: CHIPS: SpeedUps selected (Flags=0xF)
(--) SVGA: CHIPS: Memory mapped I/O selected
(--) SVGA: Using XAA (XFree86 Acceleration Architecture)
(--) SVGA: XAA: Solid filled rectangles
(--) SVGA: XAA: Screen-to-screen copy
(--) SVGA: XAA: 8x8 pattern fill
(--) SVGA: XAA: 8x8 color expand pattern fill
(--) SVGA: XAA: CPU to screen color expansion (bitmap, TE/NonTE imagetext, TE/NonTE polytext)
(--) SVGA: XAA: Using 8 128x128 areas for pixmap caching
(--) SVGA: XAA: Caching tiles and stipples
(--) SVGA: XAA: Horizontal and vertical lines and segments
X connection to :0.0 broken (explicit kill or server shutdown).
FreeFontPath: FPE "/usr/X11R6/lib/X11/fonts/misc:unscaled" refcount is 2, should be 1; fixing.
AUDIT: Fri Feb  5 15:33:45 1999: 265 X: client 2 rejected from local host
X connection to :0.0 broken (explicit kill or server shutdown).
FreeFontPath: FPE "/usr/X11R6/lib/X11/fonts/misc:unscaled" refcount is 2, should be 1; fixing.
X connection to :0.0 broken (explicit kill or server shutdown).
FreeFontPath: FPE "/usr/X11R6/lib/X11/fonts/misc:unscaled" refcount is 2, should be 1; fixing.
AUDIT: Fri Feb  5 15:47:19 1999: 265 X: client 2 rejected from local host
AUDIT: Fri Feb  5 17:20:03 1999: 265 X: client 4 rejected from local host
AUDIT: Fri Feb  5 17:20:34 1999: 265 X: client 4 rejected from local host
AUDIT: Fri Feb  5 17:20:47 1999: 265 X: client 4 rejected from local host
X connection to :0.0 broken (explicit kill or server shutdown).
FreeFontPath: FPE "/usr/X11R6/lib/X11/fonts/misc:unscaled" refcount is 2, should be 1; fixing.
X connection to :0.0 broken (explicit kill or server shutdown).
FreeFontPath: FPE "/usr/X11R6/lib/X11/fonts/misc:unscaled" refcount is 2, should be 1; fixing.
X connection to :0.0 broken (explicit kill or server shutdown).
FreeFontPath: FPE "/usr/X11R6/lib/X11/fonts/misc:unscaled" refcount is 2, should be 1; fixing.
FreeFontPath: FPE "/usr/X11R6/lib/X11/fonts/misc:unscaled" refcount is 2, should be 1; fixing.
AUDIT: Fri Feb  5 17:31:25 1999: 265 X: client 2 rejected from local host
AUDIT: Fri Feb  5 17:31:25 1999: 265 X: client 3 rejected from local host
X connection to :0.0 broken (explicit kill or server shutdown).
FreeFontPath: FPE "/usr/X11R6/lib/X11/fonts/misc:unscaled" refcount is 2, should be 1; fixing.
-----

Any suggestions?

Thanks-

Russ Murphy

-----
Russell D. Murphy
Department of Economics
Virginia Polytechnic Institute and State University
3034 Pamplin Hall
Blacksburg, Virginia  24061-0316
(540) 231-4537
rdmurphy@vt.edu

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message



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