From: Andreas Klemm (andreas@knobel.gun.de)
Date: 08/21/93


From: andreas@knobel.gun.de (Andreas Klemm)
Subject: Re: [Q] inittab and xdm
Date: Sat, 21 Aug 1993 11:28:37 GMT

In <g1krakow.745035497@cdf.toronto.edu> g1krakow@cdf.toronto.edu (Rafal Kustra) writes:

>In <CBHH2D.BH7@dcs.ed.ac.uk> cmb@epcc.ed.ac.uk (C M Brough) writes:

>>Couldn't find documentation on init, and particularly the format of
>>/etc/inittab (SLS 1.02 version, if it makes a difference). Pointers to
>>documentation appreciated.

>>The reason for asking is that I want to kick up xdm on bootup as the
>>primary login window - I've got xdm working fine from a root login,
>>all I need now is get it invoked automatically at boot time in the
>>appropriate place. I'd like to still have getty running on one or two
>>virtual consoles so I can bypass X/xdm if I need to, which is
>>presumably a sensible thing to do!

>>Thanks in advance for any information.

>I use bootsys package with its SYSV init and rc? files. In relevant part of
>my inittab I have
>
>1:12345:respawn:/bin/getty tty1 con100x40
>2:2345:respawn:/bin/getty_ps tty2 9600 con100x40
>3:2345:respawn:/bin/getty_ps tty3 9600 con100x40
>4:2345:respawn:/bin/getty_ps tty4 9600 con100x40
>S2:2345:respawn:/bin/uugetty ttyS2 2400 vt100
>XT:5:respawn:/usr/X386/bin/xdm -nodaemon

>This works, it gives you four consoles and X on vt5. There is one problem
>I have not been able to solve: If I start xdm without being attached to tty
>(ie either from inittab or from one of rc files) the xterms come up with
>'#' set for delete and '@' for kill. stty is not able to change it.
>If I start it on command line, everything is fine.
>BTW, I am running Xfree 1.2
>Any soln's ?

The only difference is, that my SLS Version (upgraded from 1.01 -> 1.03)
uses an other format for the entries in the inittab and that
getty_ps isn't found by init.

And one should mention, that xdm isn't very familiar with the
shadow password facility. If I want to login as ordinary user
who has in the second field of his /etc/passwd entry a '*',
which means, that his password is stored in the file /etc/shadow,
then you are not able to login !

It was luckily possible to login as root, since this account
hasn't a star in the 2nd entry of the passwd file ....

Otherwise it was possible for me to startup x with xdm.

Another question. Has somebody a working xdm - Xsession file
which processes the systems xinitrc or the users .xinit
file if present ?

It wasn't completely clear for me, what entries are really
needed in the /usr/lib/X11/xdm/Xsesson file .....

Thanks in advance

        Andreas

-- 
Andreas Klemm - 41469 Neuss - Germany - phone: +49/ 2137 12609