Hi everyone, I work for an enterprise that utilizes Raspberry Pi devices and since the update to Trixie I cannot seem to get autostart to work. On every other device that we have, it works, but after applying a fresh image to this Pi 4 the other day (it was very outdated) and copying our files over (including our autostart file), it simply does not run.
$XDG_SESSION_TYPE returns x11.
$XDG_CURRENT_DESKTOP returns LXDE.
Our setup consists of the autostart file within ~/.config/lxsession/LXDE-pi and two shell script files within a folder on the Desktop. Our autostart points to them correctly and the scripts are able to run directly. It's just the autostart that refuses to work properly on this version. It works on every other device that we have, the most current of which is on Bookworm.
Autostart is imperative to our use of these devices, so any guidance would be appreciated. Thank you.
$XDG_SESSION_TYPE returns x11.
$XDG_CURRENT_DESKTOP returns LXDE.
Our setup consists of the autostart file within ~/.config/lxsession/LXDE-pi and two shell script files within a folder on the Desktop. Our autostart points to them correctly and the scripts are able to run directly. It's just the autostart that refuses to work properly on this version. It works on every other device that we have, the most current of which is on Bookworm.
Autostart is imperative to our use of these devices, so any guidance would be appreciated. Thank you.
Statistics: Posted by Noxillio — Fri Jan 16, 2026 3:43 pm — Replies 12 — Views 154