Gentoo Archives: gentoo-user

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

Replies

Subject Author
Re: [gentoo-user] what's wrong with pulseaudio? "Canek Peláez Valdés" <caneko@×××××.com>