On Tue, May 16, 2000 at 03:25:48PM +0100, Kenn Humborg wrote:
> > I tend to install machines to init level 3, and then telinit 5 when
> > I'm sure X is happy (and edit /etc/inittab obviously)
>> I've often wondered about this: Why is the X display manager
> (xdm, kdm, gdm, whatever) run from inittab, rather than from a
> rc.d/init.d script?
I guess so that it can be re-run if it crashes, or is killed?
Debian does it with an rc script...
>> I've made a init script for X on my RH6.2 box and it works fine.
> (And doesn't re-run rc.local when I want to start/stop X.)
>It's also kind of a historical thing.. at least with that old
digital Unix from VAX era that I can't remember the name of,
it started X in the inittab (on the decstations I installed).
It means you don't have to have a suid wrapper, or root access.
> Some clues: don't start an agent if the environment
> variable SSH_AGENT_SOCK exists. Starting in .bash_profile
> and killing in .bash_logout doesn't work because
> .bash_logout won't always be run (e.g. logging out of GNOME).
I'm sure GNOME can have a logout script run? Or be hacked to..
Liam Bedford | What we've got here is, failure to
System Administrator | communicate. Some man you just can't
WBT Systems, Block 2, | reach... so you get what we had
Harcourt Centre, Harcourt St. | here last week, which is the way
01-4170100 | he wants it.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!