Help - Search - Members - Calendar
Full Version: Start skype with different system-UID
Skype Community > English > Skype for Linux
chesskiller_bg
I start skype from kde konsole as program with different system uid:

kdesu -t -u jack skype

When try to call somebody, skype begins to ring, but after a second sound breaks and skype says: "problem with sound device". In the console apears:

ALSA lib pcm_dsnoop.c:556:(snd_pcm_dsnoop_open) unable to open slave

This is Slackware-11.0, alsa version 1.0.11, kernel 2.6.17.13.
Andypoo
QUOTE(chesskiller_bg @ Fri Mar 16 2007, 23:32) [snapback]372909[/snapback]

I start skype from kde konsole as program with different system uid:

kdesu -t -u jack skype

When try to call somebody, skype begins to ring, but after a second sound breaks and skype says: "problem with sound device". In the console apears:

ALSA lib pcm_dsnoop.c:556:(snd_pcm_dsnoop_open) unable to open slave

This is Slackware-11.0, alsa version 1.0.11, kernel 2.6.17.13.


Hi chesskiller. It sounds like you have an /etc/asound.conf or ~/.asoundrc file hanging around from an ALSA version previous to 1.0.11. Simply delete this file (unless you put something in there specifically yourself) and you should be right.

Let me know how you go.

Andypoo.
chesskiller_bg
QUOTE(Andypoo @ Mon Mar 19 2007, 13:38) [snapback]373780[/snapback]

Hi chesskiller. It sounds like you have an /etc/asound.conf or ~/.asoundrc file hanging around from an ALSA version previous to 1.0.11. Simply delete this file (unless you put something in there specifically yourself) and you should be right.

Hi Andypoo !
There is not /etc/asound.conf nor ~/.asoundrc, my working alsa-configuration file is /usr/share/alsa/alsa.conf - i've attach it, so you can see it if something wrong, i have no changed it after last upgrade(think it's original 1.0.11), and there is not alsa.conf.old nor alsa.conf.new files. There is no problems with another sound applications started with kdesu (even can many aplycations from different users play simultaneously), only with skype this problem. When i start 2 xservers in the same time - one for user "jack" and one for user "jordan", no mather from jordan's kosole do "kdesu -t -u jack skype", or from jack's konsole do "kdesu -t -u jordan skype" - problem is the same in any case. But from jordan to jordan - no problem, and from jack to jack - no problem. I thought there is relation with kde, but if start only xserver, without any desktop with command "xinit" - problem in this konsole is the same - so the problem is not kde.
But if i set DISPLAY=:1.0 from jordan's konsole(jordan's xserver listen on port 6000, and jack's on 6001), and start "./skype" from jordan's konsole, skype gui apears on jack's xserver, and there is no any problem with the sound. Problem with kdesu there is sadsmile.png .
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.