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.
No, it is not possible with Raspberry because the script
is loaded by LXDE which is GUI. Also, you have chosen the wrong file to start your application. It should be
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.
First you need to
disablelogin to Desktop and
enablelogin to console.
Now make your file executable (Search the internet there are plenty of tutorials)
Now edit the
sudo nano /etc/rc.local
Add these lines before exit0:
Your app will now open without loading the Desktop