This is my first question here in forum. I have an RPi 3B+ with Raspbian OS installed in it with 16gb SD Card. I am developing a GUI application using PyQT. It's running just fine. I want it to start when the RPi boots. It's happening when I add it's location in autostart file located at /etc/xdg/lxsession/LXDE-pi/autostart. But I don't want anything else on the desktop except the application. I also saw people rebooting with root mode but IDK if it's safe. I just don't want any menu, Functionality, network statuses etc on the desktop GUI. Can it be disabled? Thanks for the help :) Regards Sahil

1 Answer 1


I suggest you to try out this guide: setup-raspberry-pi-for-kiosk-mode This guide starts with the installation of Raspbian Lite and then installing X11.


  1. Flash Raspbian Lite.

  2. Install X11 and related packages. sudo apt-get install --no-install-recommends xserver-xorg x11-xserver-utils xinit openbox

  3. In the file, /etc/X11/xinit/xinitrc, write the script to start your pyqt application.

  4. In the file, /etc/profile, append the line "startx -- -nocursor".

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.