On Thu, Dec 16, 1999 at 09:32:32PM -0500, Hal Burgiss wrote:
> On Thu, Dec 16, 1999 at 07:58:37PM -0500, Steve wrote:
> > I would like to know where I can find info on how to start X w/o a
> > login screen. I want to have a box boot w/o a keyboard or mouse and
> > start X with a monitoring program on it and I am not sure how. If
> > some one could point me in the right direction I would appreciate
> > it.
>
> Someone will surely point out a slick trick to do this with inittab,
> but could you not set runlevel to 3, and then at the bottom of
> rc.local put:
>
> su <some_user>
> startx &
I posted the solution to this a year or so ago to this list, but I can't
for the life of me find what I did with that post. Here's the highlights:
Create a user account such that, when that user logs in and runs startx,
the app you want automagically appears and the environment is sound.
Simplify the interface as much as possible... use a very simple window
manager that allows you to disable most of it's features (in some
instances, you can run without a WM at all).
When you get the user account tweaked, add this line to /etc/inittab
x:4:respawn:/bin/su -c <username> startx
Next, use whatever runlevel editor you're comfortable and configure
run-level 4 to have everything running you think you'll need in this
'single-non-root-user-in-X' mode.
Try it out by running telinit 1, then telinit 4. It should boot right
into X and log into that user's environment. If X gets killed for any
reason, it'll automatically get restarted (exiting your window manager
will be the equivilant of 'restarting windows').
When everything is just groovy, edit /etc/inittab again and make runlevel
4 the default runlevel, then reboot once just to verify the setup.
--
Steve Borho Voice: 314-615-6349
Network Engineer
Celox Communications Corp
Fortune of the day:
design, v.:
What you regret not doing later on.
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.