I am trying to run a program automatically within a bash script after killing the LXDE session. My script consists of:
#!/bin/sh pkill lxsession; sh /home/pi/RetroPie/EmulationStation/emulationstation
I tried this as well:
#!/bin/sh nohup & pkill lxsession & writevt /dev/tty1 'emulationstation'
My aim is to log out of the LXDE session and run EmulationStation on my Raspberry Pi with a bash script. I'm using
pkill lxsession; to bypass lxsession's logout confirmation dialog.
As it stands, this script just gets me to the command line from a working LXDE desktop. Thanks for reading.