Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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?

share|improve this question

migrated from serverfault.com Oct 29 '12 at 13:32

This question came from our site for system and network administrators.

1  
Start by checking /var/log/Xorg.0.log and dmesg when the openbox doesn't start. It could give some info about why openbox isn't starting. –  UldisK Oct 29 '12 at 13:53

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.