*BSD News Article 1753


Return to BSD News archive

Path: sserve!manuel!munnari.oz.au!spool.mu.edu!olivea!decwrl!csus.edu!netcomsv!mork!hasty
From: hasty@netcom.com (Amancio Hasty Jr)
Newsgroups: comp.unix.bsd
Subject: Re: X11R5 for 386bsd part 1 of 3
Message-ID: <akyly6d.hasty@netcom.com>
Date: 30 Jun 92 06:42:25 GMT
Article-I.D.: netcom.akyly6d.hasty
References: <mese9nc@sgi.sgi.com> <6-sl+7+.hasty@netcom.com> <cproto.709866560@marsh>
Organization: Netcom - Online Communication Services  (408 241-9760 guest)
Lines: 136

In article <cproto.709866560@marsh> cproto@marsh.cs.curtin.edu.au (Computer Protocol) writes:
>
>I built and installed X11R5 with Amancios and Paces patches. The
>building was no major problem. But what next ? I tried running xinit
>which initially timed out and reported something about sockets or
>TCP/IP. So I assumed that it required some of the networking stuff so
>I started up routed, portmap and inetd. After this xinit reported its
>version and seemed to hang. Is there any other initialisation required ?
>I have installed /dev/vga c 12 0 anything else ??? How do you start up
>clients once xinit has run or is using xinit some sort of a startup
>script ? Please help !
>
>Regards - Tibor Sashegyi (cproto@abel.cs.curtin.edu.au)
>
>


I suggest that you use xdm

Among many things you will need to setup an Xconfig in /usr/lib/X11.
I installed X11 on my second disk drive so substiture /bd/X11R5 for /usr
in my configuration files.

Make sure that Xconfig points to your fonts! Just read Xconfig and you
will easily spot the specification path for the libraries. there are other
options so just read the Xconfig and make sure that it matches your system.


for xdm-config you will need to setup an xdm-config file. An example
of an xdm-config is enclosed...

to start xdm:
xdm -config /bd/X11R5/lib/X11/xdm/xdm-config

Also xdm accepts a "-debug x", where x is any non-zero number, to enable
debugging output to stdout. All normal xdm errors will go to /bd/X11R5/lib/X11/xdm/xdm-errors. So if the server does not start read the output of this file...

In /bd/X11R5/lib/xdm/Xresources, for the X*login resource insert the 
following text after the "<key> Return:", allow-all-access()

the above will let you get into your own system...

Cheers,
Amancio

Xconfig:

# $XConsortium: Xconfig,v 1.2 91/08/26 14:34:55 gildea Exp $
#
# Copyright 1990,91 by Thomas Roell, Dinkelscherben, Germany.
#
# Permission to use, copy, modify, distribute, and sell this software and its
# documentation for any purpose is hereby granted without fee, provided that
# the above copyright notice appear in all copies and that both that
# copyright notice and this permission notice appear in supporting
# documentation, and that the name of Thomas Roell not be used in
# advertising or publicity pertaining to distribution of the software without
# specific, written prior permission.  Thomas Roell makes no representations
# about the suitability of this software for any purpose.  It is provided
# "as is" without express or implied warranty.
#
# THOMAS ROELL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
# INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
# EVENT SHALL THOMAS ROELL BE LIABLE FOR ANY SPECIAL, INDIRECT OR
# CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
# DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
# TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
#
# Author:  Thomas Roell, roell@informatik.tu-muenchen.de

#
# some nice paths, to avoid conflicts with other X-servers
#
RGBPath		"/bd/X11R5/lib/X11/rgb"
FontPath	"/bd/X11R5/lib/X11/fonts/misc/,/bd/X11R5/lib/X11/fonts/75dpi/"

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

microsoft	"/dev/com1"    <<< mouse port
  BaudRate	1200   
#  SampleRate	150
#  Emulate3Buttons

#
# The graphics drivers
#
vga256
  Chipset	"et4000"
  Vendor	"Orchid"
  Clocks	25 28 40 36 0 44 0 62
  Virtual	1152 900
  ViewPort      0 0
  Modes	        "1024x768i"

ModeDB
# clock  horzontal timing      vertical timing
 "640x480"   25     640  672  768  800    480  490  492  525
             28     640  672  768  800    480  490  492  525

 "800x600"   36     800  816  952 1056    600  608  610  633
             36     800  832  966  966    600  600  609  631
             39     800  872  968 1104    600  600  606  624
             39     800  864  896 1008    600  600  606  624

 "920x690"   62     920  952 1088 1168    690  688  718  724

 "1024x768i" 44    1024 1064 1224 1264    768  777  785  817   Interlace
	     45    1024 1064 1224 1264    768  777  785  817   Interlace
 "1024x768"  62    1024 1092 1220 1344    768  786  791  810
             62    1024 1096 1272 1328    768  776  778  808
             62    1024 1072 1176 1272    768  778  779  804
             62    1024 1072 1200 1240    768  766  782  786

 "1152x900"  62    1152 1184 1288 1360    900  898  929  939   Interlace

------------------------------------------------------------------

xdm-config:

DisplayManager.errorLogFile:	/bd/X11R5/lib/X11/xdm/xdm-errors
DisplayManager.pidFile:		/bd/X11R5/lib/X11/xdm/xdm-pid
DisplayManager.keyFile:		/bd/X11R5/lib/X11/xdm/xdm-keys
DisplayManager.servers:		/bd/X11R5/lib/X11/xdm/Xservers
DisplayManager.accessFile:	/bd/X11R5/lib/X11/xdm/Xaccess
DisplayManager._0.authorize:	false
DisplayManager._0.setup:	/bd/X11R5/lib/X11/xdm/Xsetup_0
DisplayManager._0.startup:	/bd/X11R5/lib/X11/xdm/GiveConsole
DisplayManager._0.reset:	/bd/X11R5/lib/X11/xdm/TakeConsole
DisplayManager*resources:	/bd/X11R5/lib/X11/xdm/Xresources
DisplayManager*session:		/bd/X11R5/lib/X11/xdm/Xsession
DisplayManager*authComplain:	false