Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5103

Troubleshooting • Re: XDG_RUNTIME_DIR error on .py boot

$
0
0
/run/user/1000, echo $XDG_RUNTIME_DIR doesn't exist until the user has logged in to the desktop.

.bashrc runs before that happens. it also runs every time you open a terminail and every time you login regardless of method (serial, ssh, locally attached keyboard, etc.) so it's almost certainly the wrong method.

[shameless self promotion]
Running A Program At Start Up A Beginner's Guide
[/shameless self promotion]

Statistics: Posted by thagrol — Sun Oct 13, 2024 1:00 am



Viewing all articles
Browse latest Browse all 5103

Trending Articles