I have a Solid-Run Cubox and installed Debian Netboot on it. Now I want to configure it as webserver/kiosk PC to run a self made webapp.
I installed xorg, openbox, apache/php libs and wrote my own python script as a web browser and did this to boot as root into the Openbox application:
I changed in /etc/inittab (auto login as root):
T0:23:respawn:/sbin/getty -L ttyS0 115200 linux
into
1:2345:respawn:/bin/login -f root tty1 </dev/tty1 >/dev/tty1 2>&1
and in my /etc/rc.profile I added (to start Openbox at boot):
startx
and added my python script to /etx/xdg/openbox/autostart.xml
/usr/bin/web.py &
Unfortunately, it sometimes (1 in 3 boots) only boots to the kernel, I'm logged in as root, but my Openbox hasn't started. When I manually type the startx command everything works fine.
Someone who has an idea to fix this?