startx from within shell script problem
Hi all,
hope someone can help me out with this. I'm running a min install of Debian on an embedded board. I've only installed xorg as I use graphics. So from a start up script I call startx then my software. Whatever I did I couldn't get my software to start from the start up script. However after some inversigation I've found that when x starts my software keeps running (or rather crashes) in another run level. Level 3 I think? When I call startx my runlevel changes (think to 5), however my software still runs in 3, as no x is running in three it crashes.
Does anyone know a work round for this? Can I change run level in my start script first or can I make x run from the same level as startup?
I'm using Debian. Thanks in advance
|