I've just finished upgrading to Ubuntu Server 20.04.1 LTS, and so far, only one issue has come up: The beep
command returns beep: Error: Could not open any device
when run as user. Running sudo beep
does not work, as expected. After a little bit of research, I have found that no beep
group is existent on the system, as expected by the man page. I have tried reinstalling and reconfiguring without success.
To make things even stranger, beep
works during boot via rc.local
; at some point, however, it stops working and returns the error, thus breaking my rc.local
-routine. Also, this command works just fine:
sudo env -u SUDO_GID -u SUDO_COMMAND -u SUDO_USER -u SUDO_UID beep
For clarification: I am running a headless home server that is not connected to any speakers; the simple noise-making-speaker is used for simple feedback during boot and if errors occur that require intervention. My setup used to work fine under Ubuntu Server 18.04 LTS.