Created
August 9, 2018 19:42
-
-
Save kurtis318/537d9d1208229435b07a2e2d7163b583 to your computer and use it in GitHub Desktop.
Running PulseAudio on headless server
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REF: https://askubuntu.com/questions/939144/playing-audio-stops-in-unity-when-i-switch-user/939338#939338 | |
I have a server that is not running a desktop or window manager at startup. I do have a VNC session started automatically at boot but when I launch VLC and try to play a streaming station, I do not get any output to my stero system I have connected to the output of my server. When I look at the PulseAudio Value Control app, I see a dummy device where the output is going out to. If I start XFCE on the server console by hand, PulseAudio server is running and I can go to the VNC session and audio gets routed to my stero. | |
I do not want to have to manually start XFCE on my console because I update and reboot it often and I am also lazy. The solution is to get PulseAudio server to run without needing to start XFCE desktop at the system console. | |
The above referenced web site gate me the solution. I can open a terminal in my VNC session and run the following command and when I launch VLC in the VNC session, I get output to my stereo: | |
sudo pulseaudio --system | |
I did not read the reason why this is not a good idea. I am assuming it has something to do with either security or having multiple users running sound apps. I can take the rist on security and I am the only person accessing this server via a desktop. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment