On Fri, 24 Jan 2025, e...@gmx.us wrote:

> >> OK.  My crontab has this:
> >>
> >> XDG_RUNTIME_DIR="/run/user/$(id -u)"
> >> At the minute, no sound.  I tried
> >> id=$(id -u)
> >> XDG_RUNTIME_DIR=/run/user/$id
> >> and
> >> id=1000
> >> XDG_RUNTIME_DIR=/run/user/$id
> >>
> >> and no dice.   I tried
> >> XDG_RUNTIME_DIR=/run/user/1000
> >> and it worked.

Thanks, It looks as if the only notation which works is direct specification of 
the uid.  In my case XDG_RUNTIME_DIR=/run/user/2108

With the direct specification of the uid I also hear Biff barking during and 
after VLC runs, both on Debian 12 and Debian 11.  So I will mark this as solved.
Thanks to everyone who replied.

Roger

PS: Send me an off-list e-mail if you would like to see a photo of Biff the dog.


Reply via email to