*BSD News Article 96405


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.ysu.edu!news.radio.cz!nntp.uio.no!news.kth.se!tybalt.admin.kth.se!merope.saaf.se!electra.saaf.se!not-for-mail
From: gorhas@electra.saaf.se (G|ran Hasse)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: How to start the chooser in X-windows
Date: 28 May 1997 23:16:41 +0200
Organization: Svensk Amat|rAstronomisk F|rening
Lines: 48
Message-ID: <5mi7bp$6f8@electra.saaf.se>
NNTP-Posting-Host: electra.saaf.se
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:41794

I am running several FreeBSD boxes and want to
be able to logg into any box on the network.

For that I want the X-window program "chooser" 
started (by xdm) instead of the ordinary login.


I do this by first comment in the file

/usr/X11R6/lib/X11/xdm/Xservers

...
#:0 local /usr/X11R6/bin/X
...

Then  I start xdm in /etc/ttys with the usual command
...
ttyv4   "/usr/X11R6/bin/xdm -nodaemon"  xterm on secure
...

Then I start the X-server in rc.local with the
command

/usr/X11R6/bin/X -indirect my.system.name &

This works but if the X-server fails I have to restart
it manualy. 

Does anyone have a better idea?

NOTE! You must be carefull when experimenting with this.
I you start X with the "-indirect" switch and someting
goes wrong - you vill have a X-server restarting over and
over and it is hard to get a sane console!

Try everyting by hand first before you put it into files
for atomatic start.

Please drop me a mail.

GH
 
-- 
-------------------------------------------------------------------
Göran Hasse         gh@saaf.se                  Tel: +46 8 7730148
Raditex AB          http://www.raditex.se        Fax: +46 8 7730902
Kungsgatan 71                                    Minicall: 0740-167443
112 27  STOCKHOLM, SWEDEN