*BSD News Article 8041


Return to BSD News archive

Newsgroups: comp.unix.bsd
Path: sserve!manuel.anu.edu.au!munnari.oz.au!spool.mu.edu!uwm.edu!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!destroyer!cs.ubc.ca!uw-beaver!newsfeed.rice.edu!rice!news.Rice.edu!rich
From: rich@Rice.edu (Richard Murphey)
Subject: Re: xdm and login 
In-Reply-To: kuku@acds.physik.rwth-aachen.de's message of Mon, 23 Nov 92 15:49:21 GMT
Message-ID: <RICH.92Nov23111959@omicron.Rice.edu>
Sender: news@rice.edu (News)
Reply-To: Rich@rice.edu
Organization: Department of Electrical and Computer Engineering, Rice
	University
References: <1992Nov23.154921.29674@Urmel.Informatik.RWTH-Aachen.DE>
Date: Mon, 23 Nov 1992 17:19:59 GMT
Lines: 46

In article <1992Nov23.154921.29674@Urmel.Informatik.RWTH-Aachen.DE> kuku@acds.physik.rwth-aachen.de (Christoph Kukulies) writes:
   I'm looking for a method to use xdm to come up on my system permanently
   in a fashion similar to the way it's done on most systems, e.g. Ultrix:

   at the end of /etc/ttys:

   :0 "/usr/bin/login -P /usr/bin/Xprompter -C /usr/bin/dxsession" none on secure w
   indow="/usr/bin/Xcfb"
   :1 "/usr/bin/login -P /usr/local/xprompter-ncd -C /usr/local/start-ncd -e" none
   on secure

   What would it require? A special login program? A special init?
   Any clues?

just edit /etc/ttys and /etc/rc.local -- nothing special is needed.

>From /usr/X386/lib/X11/etc/README.386BSD in the XFree86 distribution:

If you would rather run xdm on bootup, disable logins on the console
by removing `vga' from /etc/ttys, and add code like the following to
your /etc/rc.local script.

  if [ -x /usr/X386/bin/xdm ]; then
    echo -n ' xdm'; /usr/X386/bin/xdm
  fi

If you have replaced crypt on your system (see Chris Demetriou's
/usr/386bsd.errata/crypt.instructions) and use encrypted passwords,
you cannot use the supplied xdm binary.  The supplied xdm binary uses
the 386BSD 0.1's dummy crypt routine that prints the message 'Crypt
not present in system' in the xdm-errors file each time a user logs
in.  You can ignore this.  It merely tells you that passwords are
unencrypted.  US export restrictions prevent us from providing an xdm
binary with a real crypt.  If you need it, get the xdm sources
(mit/clients/xdm) and recompile it using `xmkmf -a' and `make'.

Rich Murphey 

   --
   --Chris
   Christoph P. U. Kukulies
   kuku@acds.physik.rwth-aachen.de
   *** Error code 1

   Stop.