Re: [newbie] No sound for window/system events (Gnome/Sawfish/LM8.1)

2002-01-22 Thread Sridhar Dhanapalan

On 22 Jan 2002 14:55:05 +1000, Charles Darcy <[EMAIL PROTECTED]> wrote:
> On Sun, 2002-01-20 at 15:57, Sridhar Dhanapalan wrote:
> > On 20 Jan 2002 14:47:27 +1000, Charles Darcy <[EMAIL PROTECTED]> wrote:
> > 
> > > In fact, after I had started 'esd' as a background process from a
> > > terminal, a little while later the terminal displayed some sort of error
> > > message about Bastille and a 'tmp' directory. Bastille has an option to
> > > guard against abuse of the 'tmp' directory, which I enabled when I
> > > configured Bastille. Do you think this might be the problem ? If not, do
> > > you recall which Bastille setting gave you trouble ?
> > 
> > IIRC, there is a question in the Interactive Bastille setup that says "Would
> > you like to set a default-deny on TCP Wrappers and xinetd?" Set this to
> > 'No'.
> > 
> 
> I gave it a shot, but still no Gnome sounds. 

Try running /usr/sbin/UndoBastille to undo Bastille's changes. I don't know how
clean this undo process is, so you may need to do a fresh reinstall of Mandrake
(since I don't know where this particular setting is held) to remove it. The
next time you run InteractiveBastille, select 'No' for the question. It worked
for me.

> Out of interest, what is the connection between TCP Wrappers/xinetd
> and Gnome sounds ? Intuitively, they seem unrelated (given the little
> understanding I have of each).

I don't understand it much myself. I was lucky enough to find the root of the
problem only after some weeks of agonising trial-and-error. I assume that the
setting blocks ports/sockets that EsounD requires.

> On a slightly different note, each time I try a suggested action to
> re-configure some aspect of LM, if the expected effects of the change
> aren't immediately apparent, I have been logging out and then logging
> back in. If the expected changes are still not apparent, I try shutting
> down the machine and re-booting. This habit is essentially a hangover
> from Windows, which seemed to require a re-boot whenever any significant
> system configuration was performed. Are such actions merely voodoo under
> LM (as I hope), or do certain configuration changes require
> re-logins/re-boots.

GNU/Linux only really needs to be rebooted when the core kernel is changed
(modules don't need a reboot). There are commands to restart just about anything
on its own. Some changes need a logout and re-login to come into effect. For
major or core changes, I make it a habit to reboot my machine. For a non-expert,
this is far cleaner and simpler, and is less likely to cause unexpected problems
down the track.

-- 
Sridhar Dhanapalan

"I don't think it's right and I think it causes people to make decisions which
are not even in their best interest. A, we're not evil. B, we're not an empire."
-- Steve Ballmer, objecting to Microsoft being called "The Evil Empire"



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] No sound for window/system events (Gnome/Sawfish/LM8.1)

2002-01-21 Thread Charles Darcy

On Sun, 2002-01-20 at 15:57, Sridhar Dhanapalan wrote:
> On 20 Jan 2002 14:47:27 +1000, Charles Darcy <[EMAIL PROTECTED]> wrote:
> 
> > In fact, after I had started 'esd' as a background process from a
> > terminal, a little while later the terminal displayed some sort of error
> > message about Bastille and a 'tmp' directory. Bastille has an option to
> > guard against abuse of the 'tmp' directory, which I enabled when I
> > configured Bastille. Do you think this might be the problem ? If not, do
> > you recall which Bastille setting gave you trouble ?
> 
> IIRC, there is a question in the Interactive Bastille setup that says "Would you
> like to set a default-deny on TCP Wrappers and xinetd?" Set this to 'No'.
> 

I gave it a shot, but still no Gnome sounds. 

Out of interest, what is the connection between TCP Wrappers/xinetd
and Gnome sounds ? Intuitively, they seem unrelated (given the little
understanding I have of each).

On a slightly different note, each time I try a suggested action to
re-configure some aspect of LM, if the expected effects of the change
aren't immediately apparent, I have been logging out and then logging
back in. If the expected changes are still not apparent, I try shutting
down the machine and re-booting. This habit is essentially a hangover
from Windows, which seemed to require a re-boot whenever any significant
system configuration was performed. Are such actions merely voodoo under
LM (as I hope), or do certain configuration changes require
re-logins/re-boots.





Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] No sound for window/system events (Gnome/Sawfish/LM8.1)

2002-01-20 Thread Sridhar Dhanapalan

On 20 Jan 2002 14:47:27 +1000, Charles Darcy <[EMAIL PROTECTED]> wrote:

> On Sat, 2002-01-19 at 16:41, Sridhar Dhanapalan wrote:
> > On 19 Jan 2002 14:33:45 +1000, Charles Darcy <[EMAIL PROTECTED]> wrote:
> > 
> > > On Fri, 2002-01-18 at 22:35, Sridhar Dhanapalan wrote:
> > > > 
> > > > Try running GNOME as root. If sound works properly there, then we have a
> > > > permissions problem. Load userdrake (as root) and add your username to
> > > > the'audio' group.
> > > > 
> > > 
> > > No Gnome sounds as 'root' either, I'm afraid.
> > 
> > Have you configured a Bastille firewall recently? I once had a problem with
> > sound in GNOME and I managed to trace it back to my Bastille settings.
> > 
> 
> I set up a Bastille firewall soon after I installed LM8.1, and since
> I have never heard any Gnome sounds, this may well be the cause.
> 
> In fact, after I had started 'esd' as a background process from a
> terminal, a little while later the terminal displayed some sort of error
> message about Bastille and a 'tmp' directory. Bastille has an option to
> guard against abuse of the 'tmp' directory, which I enabled when I
> configured Bastille. Do you think this might be the problem ? If not, do
> you recall which Bastille setting gave you trouble ?

IIRC, there is a question in the Interactive Bastille setup that says "Would you
like to set a default-deny on TCP Wrappers and xinetd?" Set this to 'No'.

-- 
Sridhar Dhanapalan

I strongly believe that trying to be
clever is detrimental to your health.
 -- Linus Torvalds



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] No sound for window/system events (Gnome/Sawfish/LM8.1)

2002-01-19 Thread Charles Darcy

On Sat, 2002-01-19 at 16:41, Sridhar Dhanapalan wrote:
> On 19 Jan 2002 14:33:45 +1000, Charles Darcy <[EMAIL PROTECTED]> wrote:
> 
> > On Fri, 2002-01-18 at 22:35, Sridhar Dhanapalan wrote:
> > > 
> > > Try running GNOME as root. If sound works properly there, then we have a
> > > permissions problem. Load userdrake (as root) and add your username to the
> > > 'audio' group.
> > > 
> > 
> > No Gnome sounds as 'root' either, I'm afraid.
> 
> Have you configured a Bastille firewall recently? I once had a problem with
> sound in GNOME and I managed to trace it back to my Bastille settings.
> 

I set up a Bastille firewall soon after I installed LM8.1, and since
I have never heard any Gnome sounds, this may well be the cause.

In fact, after I had started 'esd' as a background process from a
terminal, a little while later the terminal displayed some sort of error
message about Bastille and a 'tmp' directory. Bastille has an option to
guard against abuse of the 'tmp' directory, which I enabled when I
configured Bastille. Do you think this might be the problem ? If not, do
you recall which Bastille setting gave you trouble ?

Thanks again for your assistance.




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] No sound for window/system events (Gnome/Sawfish/LM8.1)

2002-01-18 Thread radsky

Do you mean uncheck:

"Rearrange program files so my programs start faster"




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] No sound for window/system events (Gnome/Sawfish/LM8.1)

2002-01-18 Thread Charles Darcy

On Fri, 2002-01-18 at 22:35, Sridhar Dhanapalan wrote:
> 
> Try running GNOME as root. If sound works properly there, then we have a
> permissions problem. Load userdrake (as root) and add your username to the
> 'audio' group.
> 

No Gnome sounds as 'root' either, I'm afraid.




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] No sound for window/system events (Gnome/Sawfish/LM8.1)

2002-01-18 Thread Charles Darcy

On Sat, 2002-01-19 at 09:50, Ric Tibbetts wrote:
> 
> I had a similar problem with mine. Sound worked in KDE, but not Gnome.
> A little digging revealed that there was no /dev/dsp, it was (for some
> odd reason) set up as: /dev/sound/dsp.
> A link fixed it. There's probably a better way though.
> Any suggestions on why /dev/sound/dsp was set up, rather than the more
> standard /dev/dsp?
> 
> 

I have a /dev/dsp file which is a link to /dev/sound/dsp, so this
appears not to be my problem. Thanks all the same.

The /dev/sound directory also contains a 'dsp1' file (also a 'midi'
and 'mixer'). I'm not altogether sure what these files are for and how
they should be used.




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] No sound for window/system events (Gnome/Sawfish/LM8.1)

2002-01-18 Thread Ric Tibbetts

On Fri, 2002-01-18 at 04:49, Charles Darcy wrote:
> On Thu, 2002-01-17 at 17:44, Sridhar Dhanapalan wrote:
> > 
> > Perhaps EsounD isn't loaded. Try running 'esd' and see what happens with your
> > GNOME sounds.
> > 
> 
> Thanks, Sridhar, I tried 'esd' and it played a short series of
> tones, but didn't help with sounds for window events. I tried resetting
> the Gnome sound options, logged in and out, but still with no luck.
> 
> Finally, I reinstalled gnome-audio and gnome-audio-extra (both
> 1.4.0-1). SoftwareManager found errors in gnome-audio, so I got a fresh
> copy from a mirror and installed it by hand. Still no success, but now
> when I run 'esd', I get the following error:
> 
> 
> esd: Failed to fix mode of /tmp/.esd to 1777.
> [rod@localhost rod]$ Try -trust to force esd to start.
> esd: Esound sound daemon unable to create unix domain
> socket:/tmp/.esd/socket
> The socket is not accessible by esd.
> Exiting...
> 
> 
> If I use the '-trust' option, I hear the same tones as I first did,
> but the windows events are still silent.

I had a similar problem with mine. Sound worked in KDE, but not Gnome.
A little digging revealed that there was no /dev/dsp, it was (for some
odd reason) set up as: /dev/sound/dsp.
A link fixed it. There's probably a better way though.
Any suggestions on why /dev/sound/dsp was set up, rather than the more
standard /dev/dsp?


-- 
Ric Tibbetts

Linux registration number: 55684
If you want to help advertise Linux - point your friends to
http://counter.li.org/




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] No sound for window/system events (Gnome/Sawfish/LM8.1)

2002-01-18 Thread Sridhar Dhanapalan

On 18 Jan 2002 22:49:26 +1000, Charles Darcy <[EMAIL PROTECTED]> wrote:

> On Thu, 2002-01-17 at 17:44, Sridhar Dhanapalan wrote:
> > 
> > Perhaps EsounD isn't loaded. Try running 'esd' and see what happens with
> > your GNOME sounds.
> > 
> 
> Thanks, Sridhar, I tried 'esd' and it played a short series of
> tones, but didn't help with sounds for window events. I tried resetting
> the Gnome sound options, logged in and out, but still with no luck.
> 
> Finally, I reinstalled gnome-audio and gnome-audio-extra (both
> 1.4.0-1). SoftwareManager found errors in gnome-audio, so I got a fresh
> copy from a mirror and installed it by hand. Still no success, but now
> when I run 'esd', I get the following error:
> 
> 
> esd: Failed to fix mode of /tmp/.esd to 1777.
> [rod@localhost rod]$ Try -trust to force esd to start.
> esd: Esound sound daemon unable to create unix domain
> socket:/tmp/.esd/socket
> The socket is not accessible by esd.
> Exiting...
> 
> 
> If I use the '-trust' option, I hear the same tones as I first did,
> but the windows events are still silent.

Try running GNOME as root. If sound works properly there, then we have a
permissions problem. Load userdrake (as root) and add your username to the
'audio' group.

-- 
Sridhar Dhanapalan

"One World, One Web, One Programme" -- Microsoft Promotional Ad
"Ein Volk, Ein Reich, Ein Fuhrer" -- Adolf Hitler



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] No sound for window/system events (Gnome/Sawfish/LM8.1)

2002-01-17 Thread Sridhar Dhanapalan

On 17 Jan 2002 17:27:30 +1000, Charles Darcy <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> I haven't been able to get the sounds to play for window and system
> events, like closing or minimizing windows. XMMS plays sound files
> without any trouble, so I think the problem is with my Gnome setup.
> 
> I've enabled the 'Play sounds for window events' and 'Play sound
> effects for unmanaged windows' in the Sawfish configuration area in the
> Gnome Control Panel.
> 
> I've also enabled the 'Enable sound server startup' and 'Sounds for
> events' options in Multimedia/Sound area, although when I test the
> 'Play' button for any of the sound events, I hear nothing.
> 
> I'm using LM8.1, with Gnome and Sawfish.

Perhaps EsounD isn't loaded. Try running 'esd' and see what happens with your
GNOME sounds.

-- 
Sridhar Dhanapalan

"The "Internet" cannot be removed from your Desktop.
Do you want to delete the "Internet" now?"
-- Microsoft Windows 95



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[newbie] No sound for window/system events (Gnome/Sawfish/LM8.1)

2002-01-16 Thread Charles Darcy

Hi,

I haven't been able to get the sounds to play for window and system
events, like closing or minimizing windows. XMMS plays sound files
without any trouble, so I think the problem is with my Gnome setup.

I've enabled the 'Play sounds for window events' and 'Play sound
effects for unmanaged windows' in the Sawfish configuration area in the
Gnome Control Panel.

I've also enabled the 'Enable sound server startup' and 'Sounds for
events' options in Multimedia/Sound area, although when I test the
'Play' button for any of the sound events, I hear nothing.

I'm using LM8.1, with Gnome and Sawfish.

Thanks for any advice.


regards,

Charlie.






Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com