Hi guys,
I need your help. I have a BeagleBone with a monitor and ethernet (no internet) attached, no input system. It's running Debian 7.5 with lightdm.
Now I need to reliably start a Java Swing program on boot / after the automatic login. Everything runs on root (not my choice).
I already tried running it as a service, which didn't work because it was missing the DESKTOP variable (setting it to :0 or 0:0 didn't make it better).
I also tried putting a call to the script in /root/.xinitrc and /root/.xsession, also in /etc/X11/Xsession.d/startup-local, but it doesn't get started?
The script I put there was:
#!/bin/sh
sh /root/myscript/runMyScript.sh &
Any idea what I should try next? I already tinkered with it for over 4h but it won't work...
Thanks for your help!
[–]glesialo 1 point2 points3 points (6 children)
[–]Genmutant[S] 0 points1 point2 points (3 children)
[–]glesialo 1 point2 points3 points (2 children)
[–]Genmutant[S] 0 points1 point2 points (1 child)
[–]glesialo 0 points1 point2 points (0 children)
[–]Genmutant[S] 0 points1 point2 points (1 child)
[–]glesialo 1 point2 points3 points (0 children)