I've just finished upgrading to Ubuntu Server 20.04.1 LTS, and so far, only one issue has come up: When run as user, the beep command returns
beep: Error: Could not open any device`.
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.
beep, but the package description mentionsprintf "\a"... so wondering if that works? – xiota Nov 03 '20 at 11:28beep: Error: Set up permissions for the pcspkr evdev device file and run as non-root user instead.– xiota Nov 03 '20 at 11:30/etc/modprobe.d/blacklist.conf– nobody Nov 03 '20 at 12:39beepdoes work during startup and via the command added above, so it's not a driver issue. @xiota: I guess it is a permissions issue, but I have now idea how to solve it… – senthor Nov 03 '20 at 14:19paplay /usr/share/sounds/sound-icons/capital
– pierrely Nov 13 '20 at 05:03