Raspbian logging out

Potato running Raspbian.

Issue is when I disconnect the monitor Raspbian shuts down my running program and logs out. When I plug the monitor back in I am greeted with a log in screen, which is not there on initial boot. How do I stop Raspbian from shutting down the running programs and logging out when I disconnect the HDMI cable?

This is Raspbian 12’s defined behavior. Use Raspbian 11 or another operating system.

1 Like