Re: KDE 3.0.4 and aRTs
On Mon, 2002-10-28 at 10:10, Jarno Elonen wrote: > > of kde depends on libarts1. so you see there is no possibility to have > > kde3 and xmmsarts installed at the same time. > > what is the trick? i yould be pleased if you could help me. > > Xmmsarts in the main repository is just compiled against old libarts. > You can find libarts1 version from http://ftp.es.debian.org/~ender/ fwiw I (the maintainer) have my own libarts1 version at: http://people.debian.org/~cmb/ Hope this helps, -- Chris Boyle - Debian Developer (cmb) - aewm++, sapphire, xmmsarts GPG: B7D86E0F, MSN: [EMAIL PROTECTED], ICQ: 24151961, AIM: kerneloops, Yahoo: kerneloops, IRC: cmb on openprojects.net
Re: KDE 3.0.4 and aRTs
måndagen den 28 oktober 2002 15.13 skrev Michael Schuerig: > Yes. Although I'd prefer a debconf-based solution. Doing the permission > and group changes as well as the statoverride manually probably exceeds > the abilities of most users. Ok, I have fixed to put that in debconf for for my KDE 3.1 beta (and soon RC) package. Of course, this does not apply to any official debian packages, since it is up to the maintainer of those to do this or not. -- Karolina
Re: KDE 3.0.4 and aRTs
On Monday 28 October 2002 08:14, Karolina Lindqvist wrote: > måndagen den 28 oktober 2002 00.38 skrev Michael Schuerig: > I included the following information in the man page for artswrapper: > > Since artswrapper is a potential security exploitation risk, it > does not have SUID turned on by default. To enable artswrapper one > the fol- lowing has to be done: >1) To set artswrapper SUID with a mode of 4710. This change > will dis- appear when the arts package is updated. >2) To make a permanet change with the following command: >dpkg-statoverride --add root audio 4710 /usr/bin/artswrapper > >You also have to add group audio to all users that should > be able to use artswrapper to gain real-time priority. > > Does it sound all right? Yes. Although I'd prefer a debconf-based solution. Doing the permission and group changes as well as the statoverride manually probably exceeds the abilities of most users. Michael -- Michael Schuerig If at first you don't succeed... mailto:[EMAIL PROTECTED] try, try again. http://www.schuerig.de/michael/ --Jerome Morrow, "Gattaca"
Re: KDE 3.0.4 and aRTs
> I included the following information in the man page for artswrapper: Would it be too much trouble to make it a debconf installation option? - Jarno
Re: KDE 3.0.4 and aRTs
> of kde depends on libarts1. so you see there is no possibility to have > kde3 and xmmsarts installed at the same time. > what is the trick? i yould be pleased if you could help me. Xmmsarts in the main repository is just compiled against old libarts. You can find libarts1 version from http://ftp.es.debian.org/~ender/ - Jarno
Re: KDE 3.0.4 and aRTs
måndagen den 28 oktober 2002 00.38 skrev Michael Schuerig: > $ dpkg-statoverride --add root audio 4710 /usr/bin/artswrapper Thank you for this information. I never use noatun for sound, just because I can't do other things on the computer while it is running. Instead I have been using gqmpeg, which plays continuously, no matter what happens on the system. You might have given the solution for usability for noatun. I included the following information in the man page for artswrapper: Since artswrapper is a potential security exploitation risk, it does not have SUID turned on by default. To enable artswrapper one the fol- lowing has to be done: 1) To set artswrapper SUID with a mode of 4710. This change will dis- appear when the arts package is updated. 2) To make a permanet change with the following command: dpkg-statoverride --add root audio 4710 /usr/bin/artswrapper You also have to add group audio to all users that should be able to use artswrapper to gain real-time priority. Does it sound all right? The possible security exploitation appears be due to the -a option to artsd, although I can't understand how it can be used to gain root access, since privileges are dropped before artsd is started. -- Karolina
Re: KDE 3.0.4 and aRTs
> Around 4% on a 450MHz Celeron. Sound played by xmms through xmmsarts and > ALSA below it all was flawless even during compiles. Opening links in > new windows in Konqueror made it stutter slightly. There was a simple > remedy, if you're not morally or otherwise opposed to it: make > /usr/bin/artswrapper suid. Additionally, I made it executable only by > group audio and added myself to that group. In order not to lose these > changes after an upgrade I made them permantent with hello to everyone there is a question which i think you can answer. i have kde 3.0.4-1 installed. my debian is sid. no i am very surprised how someone can play mp3s over xmmsarts on a the 3.0.4 because everytime i try to install the xmmsarts package it says that it needs libarts. this package conflicts with libarts1 but the rest of kde depends on libarts1. so you see there is no possibility to have kde3 and xmmsarts installed at the same time. what is the trick? i yould be pleased if you could help me. thanx w. mader -- "No love left in me. No eyes to see the heaven beside me. My time is yet to come so I'll be forever yours." Nightwish - Century Child - Forever Yours
Re: KDE 3.0.4 and aRTs
On Sunday 27 October 2002 16:45, Jarno Elonen wrote: > > I can't find any file named artsd on my > > system. > > Make sure you have installed libarts1-bin. The binaries don't come > with plain libarts any more, it seems. > > BTW, I have a different problem with aRTs & KDE 3.0.4: it is horribly > slow, takes 10+% of CPU time on my 1.5Ghz P4 and the sound snaps. Around 4% on a 450MHz Celeron. Sound played by xmms through xmmsarts and ALSA below it all was flawless even during compiles. Opening links in new windows in Konqueror made it stutter slightly. There was a simple remedy, if you're not morally or otherwise opposed to it: make /usr/bin/artswrapper suid. Additionally, I made it executable only by group audio and added myself to that group. In order not to lose these changes after an upgrade I made them permantent with $ dpkg-statoverride --add root audio 4710 /usr/bin/artswrapper artswrapper is a very small program that tries to switch to realtime scheduling (what it needs root privs for) and then starts artsd with the id of the user who started artswrapper. Therefore, artsd itself does not run with root privileges. Don't forget to enable "Run soundserver with realtime priority" in the Sound Server Preferences. Otherwise you won't get the intended effect. Michael -- Michael Schuerig If at first you don't succeed... mailto:[EMAIL PROTECTED] try, try again. http://www.schuerig.de/michael/ --Jerome Morrow, "Gattaca"
Re: KDE 3.0.4 and aRTs
> > If I use plain OSS (alsa with emulation in fact), XMMS plays smoothly > > even with multiple compile jobs on the background. Is it a known > > bug/misconfiguration? > > It's not a Bug, it's a feature (people say...) But Arts is a real monster > [...] > suitable tool for every day sound access, just to hear system sounds next > to mp3 playing - it is far too huge! How curious.. Any idea what it actually does to eat up all the resources? It looks like an innocent little sound mixer, but..? - Jarno
Re: KDE 3.0.4 and aRTs
Am Sonntag, 27. Oktober 2002 16:45 schrieb Jarno Elonen: > If I use plain OSS (alsa with emulation in fact), XMMS plays smoothly even > with multiple compile jobs on the background. Is it a known > bug/misconfiguration? It's not a Bug, it's a feature (people say...) But Arts is a real monster, I brutally removed the artsd binary from my system to prevent this CPU-eater from being loaded, and it's not really a pity that KDE multimedia apps won't start without it - they're crappy anyway. Artsd is a tool for musicians to have flexible control about mixing and filtering of sound data, but in the name of hell, it is definitely not a suitable tool for every day sound access, just to hear system sounds next to mp3 playing - it is far too huge! -- - Thomas Ritter
Re: KDE 3.0.4 and aRTs
> I can't find any file named artsd on my > system. Make sure you have installed libarts1-bin. The binaries don't come with plain libarts any more, it seems. BTW, I have a different problem with aRTs & KDE 3.0.4: it is horribly slow, takes 10+% of CPU time on my 1.5Ghz P4 and the sound snaps. If I use plain OSS (alsa with emulation in fact), XMMS plays smoothly even with multiple compile jobs on the background. Is it a known bug/misconfiguration? - Jarno
KDE 3.0.4 and aRTs
Hello, I have Debian Woody and KDE 3.0.4. I have a Creative SBLive card and am using the emu10k1 OSS driver. Sound seems to work fine since my microphones responding to sound and the speakers play it back as I speak into the microphone. I've installed the kdemultimedia package. I can run KMix. When I try to run Noatun or aRTs Builder. I get the message "Connecting/Starting the soundserver failed, make sure you have artsd correctly configured". I can't find any file named artsd on my system. Does this come part of the standard KDE install, because the rest of KDE seems to work fine? Any idea how I can get this to work? Any help would be appreciated.I really would love sound using KDE apps. Thanks __ Do you Yahoo!? Y! Web Hosting - Let the expert host your web site http://webhosting.yahoo.com/