raspberry-piraspberry-pi3raspberry-pi4

Start application when igniting Raspberry Pi


I'm currently creating an arcade cabinet project, so I used a Raspberry Pi 4 B or Raspberry Pi 3 B for this. The game is running on a web application.

I wanted to start the web application directly on full screen when igniting the Raspberry Pi, without PC sensation (OS authentication, OS desktop).

Does someone know how to start the web application directly on full screen when igniting the Raspberry Pi?


Solution

  • Open terminal write this code

    sudo nano /etc/xdg/lxsession/LXDE-pi/autostart

    then ;

    @chromium-browser --start-fullscreen http://localhost **full screen

    @chromium-browser --kiosk --disable-infobars http://localhost **full screen and no error

    and CTRL+X , reboot...