diff --git a/scriptmodules/supplementary/autostart.sh b/scriptmodules/supplementary/autostart.sh index 2a845f1d30..d7cfc43ac1 100644 --- a/scriptmodules/supplementary/autostart.sh +++ b/scriptmodules/supplementary/autostart.sh @@ -28,7 +28,7 @@ function _autostart_script_autostart() { cat >/etc/profile.d/10-retropie.sh <<_EOF_ # launch our autostart apps (if we are on the correct tty) -if [ "\`tty\`" = "/dev/tty1" ]; then +if [ "\`tty\`" = "/dev/tty1" ] && [ "\$USER" = "$user" ]; then bash "$script" fi _EOF_