KDE auto-login auto-run

René J.V. Bertin rjvbertin at gmail.com
Tue Nov 10 21:30:56 GMT 2026


On Tuesday November 10 2026 12:54:51 Dave Close wrote:

>I have a laptop used only for running a simple display app. I have
>a dedicated user defined and /etc/passwd defines the script to start
>that app as the shell for that user. This worked perfectly under X11.
>
>Now the laptop is trying to run Wayland. The user gets logged in as
>instructed in /etc/sddm.conf but the script does not run. The screen
>shows a minimal panel and the KDE default wallpaper whereas before it
>did not show any panel or wallpaper (or a solid-black wallpaper). If I
>start the script manually from an Xterm, it works like it should. 'w'
>shows the user is running /usr/bin/startplasma-wayland, not my script.


The default shell set via /etc/passwd is the application that is started when the user logs in via ssh, or from a console or something of the sort. If you want that to control what (unique) application gets launched at login via a graphical session/login managers like sddm, you'd have to configure that to launch a terminal emulator instead of the bootstrap application of a DE. And with Wayland, that would probably better not be an xterm.

I think that what you're trying to achieve is what KDE calls "kiosk" mode. I recall configuring an SGI or HP/Apollo workstation that way once, for an exhibition somewhere in the early/mid nineties. Not so trivial to set up properly from scratch!


More information about the kde mailing list