I have VLC media player and media files on a desktop CentOS 6.3 set up (without a GUI). I can play the media files at the machine but when I issue the command via SSH it is silent. I'm guessing it's because there is peripheral confusion when using SSH.I looked into X11 forwarding but I must not be understanding it correctly because it still doesn't work. I'm starting to think that's for GUI purposes and not CLI. How can I SSH to my desktop and use the peripherals of the desktop when I issue the commands remotely?
Use desktop speakers over SSH from laptop
ssh;centos;x11;vlc
I realized it was working for root only. Running it as a normal user in VLC's ncurses interface i typed L and seen error messages about permissions:[alsa] cannot open ALSA device default: Permission denied[main] Audio output failed[main] The audio device default could not be used:[jack] failed to connect to JACK server[main] no suitable audio output module[main] failed to create audio outputAfter some Googling i seen people were saying add the user to the audio group. I did: cat /etc/group |cut -d: -f1 and verified that i did indeed have an audio group already.So i did this:usermod -a -G audio marshall which added my user marshall to the audio group.Worked great!