From: Rafal Kustra (g1krakow@cdf.toronto.edu)
Date: 08/10/93


From: g1krakow@cdf.toronto.edu (Rafal Kustra)
Subject: Re: [Q] inittab and xdm
Date: Wed, 11 Aug 1993 02:18:17 GMT

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 ?

Thanks

                        Rafal

>__________________________________________________________________________
>Colin Brough cmb@epcc.ed.ac.uk Edinburgh Parallel Computing Centre

-- 
/|| Numbers exist only in our minds. There is no physical entity that
 ||_is_ number 1. If there were, 1 would be in a place of honor in 
 || some great museum of science, and past it would file a steady
==== stream of mathematicians gazing at 1 in wonder and awe.