Victor Kimura
asked on
centos 5.x, vlc player audio doesn't work after reboot
Hi,
I have Centos 5.x and after I rebooted (which I hardly ever do) the VLC player audio doesn't work. I had amarok installed too and that used to work. But after the reboot Amarok doesn't even load now. So I'm thinking that after the reboot some default programs must be getting in the way.
Movie Player - never got it work properly. It says I don't have the plugins to play mp4a files.
When I play youtube videos I can hear the audio so the audio card is working fine.
How can I get the audio to work again? I'm thinking of uninstalling and reinstalling VLC but how do I do that? I guess this is a last option because it's a hassle to do this when I have to reboot.
Thank you,
Victor
I have Centos 5.x and after I rebooted (which I hardly ever do) the VLC player audio doesn't work. I had amarok installed too and that used to work. But after the reboot Amarok doesn't even load now. So I'm thinking that after the reboot some default programs must be getting in the way.
Movie Player - never got it work properly. It says I don't have the plugins to play mp4a files.
When I play youtube videos I can hear the audio so the audio card is working fine.
How can I get the audio to work again? I'm thinking of uninstalling and reinstalling VLC but how do I do that? I guess this is a last option because it's a hassle to do this when I have to reboot.
Thank you,
Victor
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi TobiasHolm,
Yes, when I run echo $PATH I get:
[vkimura@seokingdomheaven ~]$ echo $PATH
/usr/local/apache/bin/:/us r/local/ja va/jdk1.7. 0_03/:/usr /local/jav a/jre1.6.0 _31/bin:/h ome/vkimur a/Download s/PhpStorm -303/bin:/ home/vkimu ra/eclipse :/home/vki mura/firef ox:/home/v kimura/thu nderbird10 :/usr/bin: /usr/local /bin:/usr/ lib64/qt-3 .3/bin:/us r/kerberos /sbin:/usr /kerberos/ bin:/usr/l ocal/sbin: /usr/local /bin:/sbin :/bin:/usr /sbin:/roo t/bin:/usr /local/lib :/lib64:/u sr/lib64:: /home/vkim ura/bin:/u sr/include /
---
Hi duncan_roe,
Yes, I see. How would I implement your suggestion:
"...the shell scripts which run your applications themselves augment the PATH. These scripts would put the old $PATH last..."
For instance, how would I augment the PATH for:
export PHPSTORM="/home/vkimura/Do wnloads/Ph pStorm-303 /bin"
in a shell script for the PHPSTORM application?
Where would I put this script?
Sorry, still new to shell scripting but not programming.
Thanks,
Victor
Yes, when I run echo $PATH I get:
[vkimura@seokingdomheaven ~]$ echo $PATH
/usr/local/apache/bin/:/us
---
Hi duncan_roe,
Yes, I see. How would I implement your suggestion:
"...the shell scripts which run your applications themselves augment the PATH. These scripts would put the old $PATH last..."
For instance, how would I augment the PATH for:
export PHPSTORM="/home/vkimura/Do
in a shell script for the PHPSTORM application?
Where would I put this script?
Sorry, still new to shell scripting but not programming.
Thanks,
Victor
Did you try to remove the two trailing slashes as I suggested above?
Regards, Tobias
Regards, Tobias
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi TobiasHolm,
I didn't try removing the trailing slash. Actually, I didn't know what you were referring to. I ended up placing the $PATH at the beginning of my /etc/profile
export JAVA_HOME="/usr/local/java /jre1.6.0_ 31/bin"
export PHPSTORM="/home/vkimura/Do wnloads/Ph pStorm-303 /bin"
export ECLIPSE="/home/vkimura/ecl ipse"
export FIREFOX="/home/vkimura/fir efox"
export WEBIDE_JDK="/usr/local/jav a/jdk1.7.0 _03/"
export THUNDERBIRD="/home/vkimura /thunderbi rd10"
export APACHE="/usr/local/apache/ bin/"
export PATH=$PATH:$APACHE:$WEBIDE _JDK:$JAVA _HOME:$PHP STORM:$ECL IPSE:$FIRE FOX:$THUND ERBIRD
Then rebooted. I think that worked. It seems to work now. I don't know if that does it. Perhaps, it was your reinstall. Thank you fellas for the help and guidance.
I didn't try removing the trailing slash. Actually, I didn't know what you were referring to. I ended up placing the $PATH at the beginning of my /etc/profile
export JAVA_HOME="/usr/local/java
export PHPSTORM="/home/vkimura/Do
export ECLIPSE="/home/vkimura/ecl
export FIREFOX="/home/vkimura/fir
export WEBIDE_JDK="/usr/local/jav
export THUNDERBIRD="/home/vkimura
export APACHE="/usr/local/apache/
export PATH=$PATH:$APACHE:$WEBIDE
Then rebooted. I think that worked. It seems to work now. I don't know if that does it. Perhaps, it was your reinstall. Thank you fellas for the help and guidance.
ASKER
It didn't work. I'm thinking that I changed my PATH a few weeks ago to make sure the Java updates were working and the system knew which Java to use. I had to modify it because I was using PhpStorm IDE.
I modified /etc/profile. I believe it's not really what I should be doing but the PATH thing is still a little confusing. I read this page:
http://serverfault.com/questions/102932/adding-a-directory-to-path-in-centos
But I think I have to read it a few times to understand which file to update.
The VLC and Amarok player was working fine I till after I updated /etc/profile PATH and then rebooted. Before the reboot it was working.
Here is what I have:
Open in new window
The WEDIDE_JDK needs to be found by the PhpStorm. Where should I put these PATHs?
Thanks,
Victor