*BSD News Article 85754


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!howland.erols.net!blackbush.xlink.net!fu-berlin.de!irz401!orion.sax.de!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Newbie questions
Date: 27 Dec 1996 19:37:17 GMT
Organization: Private BSD site, Dresden
Lines: 38
Message-ID: <5a18hd$df1@uriah.heep.sax.de>
References: <59hhmc$k0n@nntp1.best.com> <59hps5$olt@nntp.stanford.edu>
  <32BCF6AD.3F02@www.play-hookey.com> <59sv10$26@nntp1.best.com>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.6
X-Phone: +49-351-2012 669
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F  93 21 E0 7D F9 12 D6 4E
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:33198

burton@bsampley.vip.best.com (Burton Sampley) wrote:

> I've tried startx -bpp 32, startx -bpp 16, initx -bpp 16, and initx
> -bpp 32.  Every time X starts in 1280X1024 (which is only defined in
> the 8 bit section of /etc/XF86Config).

There's an error somewhere in the xinit program.  I've also observed
this behaviour.

If you're using a .xserverrc file (as described in the xinit man
page), you should get it going.

> I've also started X with xdm by adding the following line to my /etc/ttys file:
> 
> tty4 "/usr/X11R6/bin/xdm -nodaemon" xterm 	on secure
> 
> from page 99 of The Complete FreeBSD by Greg Lehey.

Unfortunately, Greg got this one wrong. :-(  This form of starting
xdm has been long since depreciated.  The correct way is to set
your /usr/X11R6/lib/X11/xdm/Xservers e.g. to:

:0 local /usr/X11R6/bin/XF86_S3 :0 vt04 -bpp 16

This way, you will force the Xserver to start up on VT4, as opposed to
the first free one it could locate, so it won't collide with the
init-spawned gettys.  And, you can also see how to add Xserver flags
for your xdm setup.

If you're using the above, you could start xdm without any arguments
(i.e., in daemon mode) from /etc/rc.local.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)