*BSD News Article 20600


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!elroy.jpl.nasa.gov!decwrl!news.doit.wisc.edu!psl.wisc.edu!128.104.200.15!ram
From: ram@xor.epi.wisc.edu (Ram Bhamidipaty)
Subject: how to get x to work on netbsd-0.9 without recompiling anything
Message-ID: <RAM.93Sep7210622@xor.epi.wisc.edu>
Lines: 40
Sender: news@pslu1.psl.wisc.edu (USENET News System)
Organization: Physical Sciences Lab, UW-Madison
Date: 08 Sep 1993 02:06:22 GMT


I got X to work with NetBSD-0.9 without recompiling anything !!!
Note that I installed Netbsd-0.9 from scratch. I did not use the upgrade
path, if you did you may have to make some changes to this.

It is possible. I'm using it as I write this.

1. As root cd /X386/lib/X11/etc and run ./x386install
   This will redo some of the stuff that was originally done when xfree was
   installed.

2. Edit the /etc/ttys to look like this:

#console "/usr/libexec/getty Pc"		pc3	on secure

# on the i386, the 'console' line above should be commented out and 
# the following lines should be uncommented:
# console	"/usr/libexec/getty Pc"		pc3 off secure
vga   	"/usr/libexec/getty Pc"		pc3 on secure

3. mknod /dev/vga c 12 0
   ( I also removed /dev/console and made it a sym link to /dev/vga )
lrwxrwxr-x    1 root            3 Sep  7 19:07 /dev/console -> vga
crw-------    1 ram       12,   0 Sep  7 19:10 /dev/vga


4. reboot.

X should now work. I pretty sure this is what I did. Look in x386install
to get some idea about what x386install does. Good luck. 

BTW, I haven't run into any problems with the new db format, but I'm sure
I will. I've had X running for all for 20 mins so far :-).

-Ram
--
--------------
Ram Bhamidipaty                     use this ->ram@epidat.epi.wisc.edu
Department of Preventive Medicine   or this->ram%epidat.decnet@macc.wisc.edu
University of Wisconsin, Madison    Ignore the header. It might be wrong.