From: Richard Briggs (rgb@esleng.ocunix.on.ca)
Date: 08/18/92


From: rgb@esleng.ocunix.on.ca (Richard Briggs)
Subject: problems getting X running
Date: Tue, 18 Aug 1992 19:44:22 GMT

Hi Linux'ers:

So far, I'm quite pleased and excited about what I've seen in Linux. I've
been following since ver 0.11 and am anticipating developments in TCP/IP.

I have, however had problems getting X running. I've tried versions 0.1,
1.0 and now 1.1 with shared libs from gcc2.11 and gcc2.2.2 and have not been
able to get anywhere. Here is part of my setup and a sample of the errors
I'm getting. I am initializing 4 virtual terminals in inittab.

Any time I try to initialize, the screen goes dead and a terminal on a serial
port is the only feedback I've been able to get aside from capture files. Any
help and insight to these problems would be greatly appreciated. I have been
dying to get X running for about 4 Months now and finally gave up and decided
to approach the friendly people on the net. Thanks in advance...

setup: AMD 386DX-40
        68 MB IDE drive, /dev/hda1 is 60 MB /
                                /dev/hda2 is 8 MB Swap
        Tricom MEGA, 1024K mem
        NEC MultiSync II
        MCC-Interim Linux release 0.96c (with GCC 2.2.2)
        X11v1.1
***************************************************
Xconfig:
# $XConsortium: Xconfig,v 1.2 91/08/26 14:34:55 gildea Exp $
#
FontPath "/usr/lib/X11/fonts/misc/"

Keyboard
  AutoRepeat 500 5
# Xleds 1 2 3
  ServerNumLock
# DontZap

MouseSystems "/dev/ttys0"
  BaudRate 1200
# Emulate3Buttons

#
# The graphics drivers
#
vga256
  Virtual 1152 910
  Clocks 25 28 62 36 25 28 62 45
  Chipset "et4000"
  Displaysize 1040 772
  Videoram 1024

ModeDB
# Monitor: NEC Multisync II
# name clock horizontal timing vertical timing flags
 "640x480" 28 640 676 776 812 480 480 485 505
 "752x564" 36 752 788 916 952 564 564 569 594
 "800x600" 40 800 864 1000 1056 600 600 605 631

***************************************************
startx:
#!/bin/sh

# $XConsortium: startx.cpp,v 1.4 91/08/22 11:41:29 rws Exp $
#
userclientrc=$HOME/.xinitrc
userserverrc=$HOME/.xserverrc
sysclientrc=/usr/lib/X11/xinit/xinitrc
sysserverrc=/usr/lib/X11/xinit/xserverrc
clientargs=""
serverargs=""

if [ -f $userclientrc ]; then
    clientargs=$userclientrc
else if [ -f $sysclientrc ]; then
    clientargs=$sysclientrc
fi
fi

if [ -f $userserverrc ]; then
    serverargs=$userserverrc
else if [ -f $sysserverrc ]; then
    serverargs=$sysserverrc
fi
fi

whoseargs="client"
while [ "x$1" != "x" ]; do
    case "$1" in
        /''*|\.*) if [ "$whoseargs" = "client" ]; then
                    clientargs="$1"
                else
                    serverargs="$1"
                fi ;;
        --) whoseargs="server" ;;
        *) if [ "$whoseargs" = "client" ]; then
                    clientargs="$clientargs $1"
                else
                    serverargs="$serverargs $1"
                fi ;;
    esac
    shift
done

xinit $clientargs -- $serverargs

***************************************************
ls -l /dev:
total 44
crw--w--w- 2 root other 4, 0 Jun 30 12:33 console
cr--r----- 1 bin mem 1, 2 Mar 19 11:10 kmem
c-w--w--w- 1 bin lp 6, 0 Apr 14 11:32 lp0
...
c-w--w--w- 1 bin lp 6, 2 Apr 15 13:56 lp3
cr--r----- 1 bin mem 1, 1 Mar 19 11:10 mem
crw------- 1 root root 10, 0 Aug 14 23:29 mouse
crw-rw-rw- 1 root root 1, 3 Mar 19 11:10 null
crw-rw-rw- 1 root root 1, 4 Mar 19 11:10 port
crw-rw-rw- 1 root root 4, 128 Mar 19 11:10 ptyp0
...
crw-rw-rw- 1 root root 4, 143 Mar 19 11:10 ptypf
brw-rw-rw- 1 root root 1, 1 Mar 19 11:10 ram
crw-rw-rw- 1 root root 5, 0 Apr 5 12:53 tty
crw--w--w- 2 root other 4, 0 Jun 30 12:33 tty0
...
crw--w--w- 1 root root 4, 8 Aug 17 20:58 tty8
crw-rw-rw- 1 root root 4, 192 Mar 19 11:10 ttyp0
...
crw-rw-rw- 1 root root 4, 207 Mar 19 11:10 ttypf
crw--w--w- 1 root root 4, 64 Aug 11 20:05 ttys0
...
crw-rw-rw- 1 root root 4, 67 Mar 19 11:10 ttys3

***************************************************
errors:

giving up.
xinit: Invalid argument (errno 22): unable to connect to X server
xinit: No such process (errno 3): Server error.

giving up.
xinit: Interrupted system call (errno 4): unable to connect to X server
xinit: No such process (errno 3): Server error.

-- 
__________________________________________________________________________
 Richard Guy Briggs         |   briggs@aix1.uottawa.ca
 Excalibur Systems Limited  |   rgb@[esleng|excalibur].ocunix.on.ca
 Kanata, Ontario, Canada    |   [esleng|excalibur]!rgb