qaudio-player

command module
v1.0.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 31, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

README

qaudio-player

The following steps must be performed on the machine that plays audio

Install the pulseaudio server

sudo apt install pulseaudio

Add a line to accept clients from docker

sudo nano /etc/pulse/default.pa

# Add the following line
load-module module-native-protocol-tcp auth-ip-acl=172.17.0.0/16 auth-anonymous=1

Restart the pulseaudio server

systemctl --user restart pulseaudio

Update:

sudo nano /etc/systemd/system/getty@tty1.service.d/autologin.conf

Contents should be:

[Service]
ExecStart=
ExecStart=-/sbin/agetty -o '-p -f -- \\u' --noclear --autologin <username> %I $TERM

Enable and start the service:

sudo systemctl enable getty@tty1.service
sudo systemctl start getty@tty1.service

The user should autologin now and when the user logs in, pulseaudio daemon under the user should also start.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL