Gentoo Archives: gentoo-user

From: "Canek Peláez Valdés" <caneko@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] what's wrong with pulseaudio?
Date: Thu, 31 May 2012 14:46:09
Message-Id: CADPrc80-pe0J9TrASrhoG=AAPiOKme=yOFoYywrrygT6fqtSKw@mail.gmail.com
In Reply to: Re: [gentoo-user] what's wrong with pulseaudio? by Easior
1 On Wed, May 30, 2012 at 10:09 PM, Easior <easior@×××.com> wrote:
2 >>>>>> "CPV" == Canek Peláez Valdés <caneko@×××××.com> writes:
3 >
4 >    CPV> On Wed, May 30, 2012 at 4:35 AM, Easior <easior@×××.com> wrote:
5 >    >>>>>>>  "CPV" == Canek Peláez Valdés <caneko@×××××.com> writes:
6 >    >>
7 >    >>     CPV> On Tue, May 29, 2012 at 5:51 PM, Easior <easior@×××.com>
8 >    CPV> wrote:
9 >    >>     >>  Hi, all!
10 >    >>     >>
11 >    >>     >>  I found that there were some strange files or directories
12 >    CPV> under root
13 >    >>     CPV> directory. Let's
14 >    >>     >>  see what happened?
15 >    >>     >>
16 >    >>     >>  $ ls -a
17 >    >>     >>  .    boot  home        media  opt     .pulse-cookie  sbin
18 >    CPV>  usr
19 >    >>     >>  ..   dev   lib         mnt    proc    root           sys
20 >    CPV> var
21 >    >>     >>  bin  etc   lost+found  null   .pulse  run            tmp
22 >    >>     >>
23 >    >>     >>  As to my experience, .pulse and .pulse-cookie should be in
24 >    CPV> the $HOME
25 >    >>     CPV> directory. How to
26 >    >>     >>  resovle this problem?
27 >    >>
28 >    >>     CPV> Delete them. Look at the date, they probably got created a
29 >    CPV> long time
30 >    >>     CPV> ago under weird circumstances (perhaps booting using a
31 >    CPV> livecd), and
32 >    >>     CPV> they remained there.
33 >    >>
34 >    >>     CPV> Just delete them.
35 >    >>
36 >    >>     CPV> Regards.
37 >    >>     CPV> --
38 >    >>     CPV> Canek Peláez Valdés
39 >    >>     CPV> Posgrado en Ciencia e Ingeniería de la Computación
40 >    >>     CPV> Universidad Nacional Autónoma de México
41 >    >>
42 >    >>  Thanks.
43 >    >>
44 >    >>  I have tried to delete them. However, It didn't take any effect.
45 >    >>  They will apear again in that place every time the Gentoo is booted.
46 >    >>  As a fact, let's see:
47 >    >>
48 >    >>  # ls -al .pulse*
49 >    >>  -rw------- 1 root root  256 May 27 20:53 .pulse-cookie
50 >    >>
51 >    >>  .pulse:
52 >    >>  total 8
53 >    >>  drwx------  2 root root 4096 May 30 15:59 .
54 >    >>  drwxr-xr-x 21 root root 4096 May 27 20:53 ..
55 >    >>  lrwxrwxrwx  1 root root   23 May 30 15:59
56 >    CPV> ceba4124b7a0c408493ce5bb0000001e-runtime ->
57 >    >>  /tmp/pulse-PKdhtXMmr18n
58 >    >>
59 >    >>  what happened?
60 >
61 >    CPV> I don't know. What desktop do you use? Do you run it as root? What
62 >    CPV> version of PulseAudio do you have installed? Do you have
63 >    CPV> /etc/init.d/pulseaudio in any of your runlevels?
64 >
65 > I use Gnome 3 as my DE and also run it as normal user. I use PulseAudio 2.0:
66 >
67 > $ eix media-sound/pulseaudio
68 > [I] media-sound/pulseaudio
69 >     Available versions:  0.9.22 0.9.22-r2 (~)0.9.23-r1 (~)1.1 1.1-r1 (~)2.0 **9999 {{+X +alsa +asyncns avahi bluetooth +caps dbus doc equalizer +gdbm +glib gnome ipv6 jack libsamplerate lirc +orc oss realtime ssl system-wide tcpd test +udev +webrtc-aec}}
70 >     Installed versions:  2.0(06:44:00 AM 05/27/2012)(X alsa asyncns caps dbus gdbm glib gnome lirc orc ssl tcpd udev webrtc-aec -avahi -bluetooth -doc -equalizer -ipv6 -jack -libsamplerate -oss -realtime -system-wide -test)
71 >     Homepage:            http://www.pulseaudio.org/
72 >     Description:         A networked sound server with an advanced plugin system
73 >
74 > And pulseaudio is not in the runleves, even not in /etc/init.d.
75 >
76 > Maybe, the pulseaudio is misconfigured. But I couldn't find any useful information on
77 > how to generate the run-time file /.pulse in the configuration directory /etc/pulse.
78 > Do you know how to generate them?
79
80 Could you do:
81
82 $ ps aux | grep pulse
83
84 In my system, the result is:
85
86 canek 752 0.0 0.1 320096 4164 ? Sl May27 0:03
87 /usr/bin/pulseaudio --start --log-target=syslog
88
89 which means that the PulseAudio daemon is running as my user (canek).
90 To write into /, the daemon should be running as root; if the result
91 from "ps aux" shows that, it means that your system is starting
92 pulseaudio as the superuser.
93
94 Regards.
95 --
96 Canek Peláez Valdés
97 Posgrado en Ciencia e Ingeniería de la Computación
98 Universidad Nacional Autónoma de México

Replies

Subject Author
Re: [gentoo-user] what's wrong with pulseaudio? Easior <easior@×××.com>