Home>

Tkinter GUI script created with Python2.7 on Ubuntu 14.04,
I want to start automatically when the OS starts.
It is assumed that the GUI screen appears automatically on the screen.

Registration to "Auto-launched Application" did not work.
I tried to boot from cron, but cron itself is working,
The GUI is not displayed on the screen.

  • Answer # 1

    If it is a script that displays a window on X, X must be started in advance (login and Gnome etc. are started) as the user who executes it.

    I don't know if the login screen is gdm or lightdm, but is there a setting for automatic login as a general user when the OS starts?
    If you can log in automatically, you will be able to execute scripts using a mechanism that starts automatically, such as Gnome startup.

  • Answer # 2

    Would you like to add it to your startup items using a tool called gnome-startup-applications?