> I want to start up a specific program in its own virtual console everytime
> linux starts up. One way I thought of doing this was to automaticly have a
> specific user logged on when linux started up and have that users login
> scripts start the program. Unfortunately I don't know how to automaticly
> login a user into one of the virtual consoles upon system startup. If anyone
> knows hows to automaticly startup a program in on of the consoles of
> automatic login a user into one of the consoles please let me know.
existing virtual terminal. I've never used it myself so I'm not sure of
the details. It is one of the programs you can select to install with a
redhat install; I'm not sure if its on by defaults.
You could then place the "open" command toward the end of one of the
startup scripts, like for example "/etc/rc.d/rc.local". Something like
"open -c 4 commandname", judging from the manpage, to run "commandname"
on console 4.
Another option *might* be (I have no idea if this may work) is to
experiment in "/etc/inittab" with what programs are autospawned on the
various consoles (normally mingetty or something like that.) But like I
say I don't know if that will work.
- David
--
------------------------------------------------------------------
David Joffe djoffe at icon dot co dot za | Linux: Why use windows
http://www.geocities.com/SoHo/Lofts/2018/ | when theres a door?
------------------------------------------------------------------
"Tip of the day: You can avoid neck injury and eyestrain at work
by just quitting your job and finding one that doesn't involve
computers in any way." - LinuxFocus, March 1998
------------------------------------------------------------------