LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (http://www.linuxquestions.org/questions/red-hat-31/)
-   -   Volume icon disappears from notification tray after connecting with VNC (http://www.linuxquestions.org/questions/red-hat-31/volume-icon-disappears-from-notification-tray-after-connecting-with-vnc-4175459773/)

PeterSteele 04-27-2013 06:44 AM

Volume icon disappears from notification tray after connecting with VNC
 
I am running a CentOS 6.4 system with a VNC server configured. I can connect to the box from a remote system with a VNC client, but then when I return to the real system the volume icon has disappeared and my box has no sound. The only way I've found to correct the problem is to reboot my box.

Is there a way to restore the volume control icon and get my sound back through some other means?

Andy Alkaline 05-01-2013 08:36 AM

Do either of these two work?

As root or with sudo privileges:

service alsa restart

or

service alsa-utils restart

Or check in your menus, there is sometimes a GUI util for restarting services.

PeterSteele 05-01-2013 09:21 AM

I just rebooted my box so my volume icon has been restored, but I will try that the next time it happens....

PeterSteele 05-04-2013 10:12 AM

In fact, I don't have either one of those services on my CentOS box. I do have two tools, gnome-volume-control and gnome-volume-control-applet. I believe the second of these is the app that actually displays the icon in the tray. Running it manually doesn't solve the problem though. I suspect I have to somehow reload the kernel driver controlling my sound, but I'm not sure just what driver is being used. Seems to be a lot of sound related modules.

Oh well, time to reboot again...

Andy Alkaline 05-05-2013 08:37 AM

Maybe some of the info here could help:

http://www.linuxquestions.org/questi...-audio-602533/

http://forums.fedoraforum.org/showthread.php?t=191566

Another command you could try:

alsactl restore <card #>

First card number would be 0.

Do you have pulseaudio running? It's not necessarily a factor but it could be.

Perhaps try a different VNC client?

PeterSteele 05-05-2013 01:35 PM

A different VNC client might be a useful experiment. I'll give it a try. Thanks...


All times are GMT -5. The time now is 12:26 AM.