Subject: Re: Giving another user an xdm login
To: None <port-i386@NetBSD.ORG>
From: Peter Simons <simons@rhein.de>
List: port-i386
Date: 10/06/1997 20:31:50
-----BEGIN PGP SIGNED MESSAGE-----

Arne Henrik Juul <arnej@stud.math.ntnu.no> writes:

 > You need to find out what /usr/X11R6/lib/X11/xdm/Xsession does.

The Xsession is working just fine:

 | #!/bin/sh
 | 
 | startup=$HOME/.xinitrc
 | resources=$HOME/.Xdefaults
 | 
 | if [ -f "$startup" ]; then
 |         exec /usr/local/bin/ssh-agent "$startup"
 | else
 |         if [ -f "$resources" ]; then
 |                 xrdb -load "$resources"
 |         fi
 |         exec xterm -geometry 80x24+10+10 -ls &
 |         twm
 | fi

As far as I can tell, there's hardly anything that can go wrong here.
Since my friend doesn't have -any- files at all in his home, this
should just open the xterm and start twm.

	-peter

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: latin1

iQCVAwUBNDkulg9HL1s0103BAQEnlQQAiRulEbBpbNBOw5+B3mZ8iGVqwOFInegA
nuXLL+xeLYZYZ8iiKKXI1SqGHgCM5t8nsJhMBmy6bDM8k2lL63ol2PTEjpK6yTvU
nBPzec2x5QHhhz5ZwiKOI/CGW2zMWws3vkrOV3HcxLWaJ1B/XpoNcLdNWRKYN2di
Kq1n9Ynhg9U=
=T5p+
-----END PGP SIGNATURE-----