*BSD News Article 5793


Return to BSD News archive

Newsgroups: comp.unix.bsd
Path: sserve!manuel!munnari.oz.au!uunet!wupost!darwin.sura.net!uvaarpa!rucs!rucs2!bmyers
From: bmyers@rucs2.sunlab.cs.runet.edu (B.Myers)
Subject: Re: HELP me make a /dev/vga for X11 under 386bsd
Message-ID: <1992Sep30.054009.4895@rucs2.sunlab.cs.runet.edu>
Keywords: HELP vga 386bsd X11
Organization: Radford University
References: <tony.717293304@babel.cltr.uq.oz.au> <1992Sep24.135539.20555@super.org> <19uvbpINNsk@corax.udac.uu.se>
Date: Wed, 30 Sep 92 05:40:09 GMT
Lines: 61

>|> In article <tony.717293304@babel.cltr.uq.oz.au> tony@ctpm.uq.oz.au (Tony Jago) writes:
>|> >If anybody could please tell me how to create this device or where I can find
>|> >some instructions I would be made muchly happy!
>
>do mknod /dev/vga c 12 0
>(remember to change the ... console ... line in /dev/ttys to ... vga ...).
>
>|> 
>|> i have it too, but a different problem. 
>|> i run /usr/bin/X11/X :/dev/console
>|> and it goes but then it can't make the unix domain socket. 
>|> It makes /tmp/.X11-unix, but then no socket ...
>|> any ideas here? 
>|> i am using the supplied 386bsd kernel that is part of the 1.2E distrib.
>
>The X server should be started as:
>X :0
>(or just X)
>in your .xserverrc.  Also be sure to have /usr/X386/bin in your
>path, and set the environment variable DISPLAY to :0 (setenv DISPLAY :0
>in csh).  You should also have a .xinitrc to start a few applications
>when X starts.  Use the startx command to start X, it (or rather xinit)
>will execute your .xserverrc and .xinitrc.  (This is assuming you don't
>use xdm.  I've never used it, so I don't know how to set that up.
>You can put the startx command followed by a logout last in your .login
>file to start X when you log in.)
>
There is a MUCH simpler way to go about starting Xwindows.. or at
least I use everytime I log in...

1: make a .xinitrc file that makes some Xterms and starts some applications.
2: make a text file with the following program:

		#!/bin/csh -f
		/usr/bin/X11/xinit ~/.xinitrc -- /usr/bin/X11/X386 :0 >>& /dev/null

3: chmod this little shell script to a+rx and put it in /usr/bin/X11 so anyone/everyone
   can use it. This script can also be made into an alias for Cshell, and a function for
	Bourne shell.
4: type xwin to start Xwindows.  Works every time. 

My X installation is in /usr/bin/X11 with
   a link from /usr/X386/bin -> /usr/bin/X11.

>
>Goran
>
>------------------------------+---------------------------------
>Goran Hammarback              |     goran@astro.uu.se
>Astronomiska Observatoriet    |
>Uppsala Universitet           |
>S-751 20 SWEDEN               |
>------------------------------+---------------------------------


Where can I get MWM? Is it worth the trouble?
I'm working on GWM port.. anyone else already got it???

Brandon Myers

bmyers@rucs2.sunlab.cs.runet.edu