*BSD News Article 5607


Return to BSD News archive

Path: sserve!manuel!munnari.oz.au!spool.mu.edu!hri.com!noc.near.net!uunet!mcsun!sunic!corax.udac.uu.se!astro.uu.se!goran
From: goran@astro.uu.se (Goran Hammarback)
Newsgroups: comp.unix.bsd
Subject: Re: HELP me make a /dev/vga for X11 under 386bsd
Keywords: HELP vga 386bsd X11
Message-ID: <19uvbpINNsk@corax.udac.uu.se>
Date: 25 Sep 92 12:06:17 GMT
References: <tony.717293304@babel.cltr.uq.oz.au> <1992Sep24.135539.20555@super.org>
Sender: goran@solaris.astro.uu.se (Goran Hammarback)
Organization: Uppsala University
Lines: 38
NNTP-Posting-Host: solaris.astro.uu.se

In article <1992Sep24.135539.20555@super.org>, rminnich@super.org (Ronald G Minnich) writes:
|> 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.)

-- 

Goran

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