I have a jar file I am trying to run without the raspbian os. Basically just boot straight into the application. I have my commands to run the jar file in /etc/xdg/lxsession/LXDE-pi/autostart. Is there any way i can disable the gui and have that application startup script to still run. Also the application runs chromium browser to view the application on local host. I apologize if this is a basic or stupid question in advance.
-
You cannot run a jar file without first loading some OS. Do you really mean that you don't want to run the OS? – Brick Nov 17 '17 at 1:36
No, it is not possible with Raspberry because the script
/etc/xdg/lxsession/LXDE-pi/autostart
is loaded by LXDE which is GUI. Also, you have chosen the wrong file to start your application. It should be
/home/pi/.config/lxsession/LXDE-pi/autostart
Even if you made some changes in xinit
files and stopped LXDE
to load. Then your jar
file won't be able to open chromium
because there will be no X display
running.