Barry Winch wrote:
> Hi, I have an application that runs under X, that I would like to start
> automagically on boot-up. Unfortunately X always wants we to log in.
>
> Is there a way to start x in an rc.xxx file, which in turn will start the
> application, prior to any login taking place?
Maybe try putting:
xinit
in rc.local. Then setup /root/.xinitrc with the
programs you always want to run:
twm &
xhost +
xrmdb .Xdefaults
xterm
The last program will keep the X session going until it exits (so exit
from the last xterm to kill the entire session - or you can place your
app there instead of the xterm). You will have to get others here to
tell you how to start KDE or Gnome correctly without using kdm but it
is probably very simple.
Last, set your initial run level to 3 instead of 5 to avoid the xdm/kdm
login nonsense.
duane