I want to automatically log out of the GUI session after booting the PC because a program I use doesn't run unless I log out and log in again.
I wrote a crontab with this command:
@reboot gnome-session-quit --logout --no-prompt But it is not working.