*BSD News Article 96523


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!metro!metro!munnari.OZ.AU!spool.mu.edu!howland.erols.net!cpk-news-hub1.bbnplanet.com!cam-news-hub1.bbnplanet.com!news.bbnplanet.com!hermes.sovam.com!sovam!demos!news.uni-stuttgart.de!news.urz.uni-heidelberg.de!rz.uni-karlsruhe.de!not-for-mail
From: Philipp Mergenthaler <un1i@rz.uni-karlsruhe.de>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: how to start XFree86 ?
Date: 29 May 1997 19:42:13 GMT
Organization: University of Karlsruhe, Germany
Lines: 32
Sender: Philipp Mergenthaler <un1i@ab152.rz.uni-karlsruhe.de>
Message-ID: <5mkm6l$itq$2@nz12.rz.uni-karlsruhe.de>
References: <338d17f8.13929803@news.dowco.com>
NNTP-Posting-Host: ab152.rz.uni-karlsruhe.de
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
NNTP-Posting-User: un1i
X-Newsreader: TIN [UNIX 1.3 unoff BETA 970409; AIX 4.1]
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:41884

 Randy Shepherd <randys@dowco.com> wrote:
> Hi I'm new to UNIX and BSD. I want to start x-windows but don't know
> how!. I was told I should put it in the path, but this is over my
> head. 
> Maybe I should go back a few steps?
> Thanks for any help.

A bit more information would be usefull...
You did install it, didn't you? :-)
Did you run xf86config (that's /usr/X11/bin/xf86config) ?
To use X (and programs using X) you have to have /usr/X11R6/bin 
(or /usr/X11/bin, if /usr/X11 is a link to /usr/X11R6) in your path.
The $PATH variable is set in $HOME/.profile or $HOME/.login .
But usually this should be set by default, check it with "echo $PATH".

To start X use the startx command (xdm is more complicated).
startx executes /usr/X11R6/lib/X11/xinit/xinitrc , which you can
copy to $HOME/.xinitrc and change to your wishes.
The X server terminates, when the program which is exec'd in xinitrc
terminates. Usually that's the window manager.

If there's a problem, like your monitor not synchronizising and making
strange sounds, you should terminate the X server immediately.
You can also switch from X to one of the virtual terminals with
CTRL-ALT-F1 (resp. F2,F3) and back with ALT-F4.
If the configuration from xf86config doesn't seem optimal, have a look
at /usr/X11/lib/X11/Cards and /usr/X11/lib/X11/doc/ .

Bye, Philipp

-- 
P. Mergenthaler   http://www.uni-karlsruhe.de/~un1i/