public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Easior <easior@tom.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] what's wrong with pulseaudio?
Date: Fri, 01 Jun 2012 16:23:21 +0800	[thread overview]
Message-ID: <87obp3785i.fsf@Noah.localdomain> (raw)
In-Reply-To: <CADPrc80-pe0J9TrASrhoG=AAPiOKme=yOFoYywrrygT6fqtSKw@mail.gmail.com> ("Canek \=\?iso-8859-1\?Q\?Pel\=E1ez_Vald\=E9s\=22's\?\= message of "Thu, 31 May 2012 09:44:27 -0500")

>>>>> "CPV" == Canek Peláez Valdés <caneko@gmail.com> writes:

    CPV> On Wed, May 30, 2012 at 10:09 PM, Easior <easior@tom.com> wrote:
    >>>>>>>  "CPV" == Canek Peláez Valdés <caneko@gmail.com> writes:
    >> 
    >>     CPV> On Wed, May 30, 2012 at 4:35 AM, Easior <easior@tom.com>
    CPV> wrote:
    >>     >>>>>>>  "CPV" == Canek Peláez Valdés <caneko@gmail.com> writes:
    >>     >>
    >>     >>     CPV> On Tue, May 29, 2012 at 5:51 PM, Easior
    CPV> <easior@tom.com>
    >>     CPV> wrote:
    >>     >>     >>  Hi, all!
    >>     >>     >>
    >>     >>     >>  I found that there were some strange files or
    CPV> directories
    >>     CPV> under root
    >>     >>     CPV> directory. Let's
    >>     >>     >>  see what happened?
    >>     >>     >>
    >>     >>     >>  $ ls -a
    >>     >>     >>  .    boot  home        media  opt     .pulse-cookie
    CPV>  sbin
    >>     CPV>  usr
    >>     >>     >>  ..   dev   lib         mnt    proc    root          
    CPV> sys
    >>     CPV> var
    >>     >>     >>  bin  etc   lost+found  null   .pulse  run          
    CPV>  tmp
    >>     >>     >>
    >>     >>     >>  As to my experience, .pulse and .pulse-cookie should
    CPV> be in
    >>     CPV> the $HOME
    >>     >>     CPV> directory. How to
    >>     >>     >>  resovle this problem?
    >>     >>
    >>     >>     CPV> Delete them. Look at the date, they probably got
    CPV> created a
    >>     CPV> long time
    >>     >>     CPV> ago under weird circumstances (perhaps booting using
    CPV> a
    >>     CPV> livecd), and
    >>     >>     CPV> they remained there.
    >>     >>
    >>     >>     CPV> Just delete them.
    >>     >>
    >>     >>     CPV> Regards.
    >>     >>     CPV> --
    >>     >>     CPV> Canek Peláez Valdés
    >>     >>     CPV> Posgrado en Ciencia e Ingeniería de la Computación
    >>     >>     CPV> Universidad Nacional Autónoma de México
    >>     >>
    >>     >>  Thanks.
    >>     >>
    >>     >>  I have tried to delete them. However, It didn't take any
    CPV> effect.
    >>     >>  They will apear again in that place every time the Gentoo is
    CPV> booted.
    >>     >>  As a fact, let's see:
    >>     >>
    >>     >>  # ls -al .pulse*
    >>     >>  -rw------- 1 root root  256 May 27 20:53 .pulse-cookie
    >>     >>
    >>     >>  .pulse:
    >>     >>  total 8
    >>     >>  drwx------  2 root root 4096 May 30 15:59 .
    >>     >>  drwxr-xr-x 21 root root 4096 May 27 20:53 ..
    >>     >>  lrwxrwxrwx  1 root root   23 May 30 15:59
    >>     CPV> ceba4124b7a0c408493ce5bb0000001e-runtime ->
    >>     >>  /tmp/pulse-PKdhtXMmr18n
    >>     >>
    >>     >>  what happened?
    >> 
    >>     CPV> I don't know. What desktop do you use? Do you run it as
    CPV> root? What
    >>     CPV> version of PulseAudio do you have installed? Do you have
    >>     CPV> /etc/init.d/pulseaudio in any of your runlevels?
    >> 
    >>  I use Gnome 3 as my DE and also run it as normal user. I use
    CPV> PulseAudio 2.0:
    >> 
    >>  $ eix media-sound/pulseaudio
    >>  [I] media-sound/pulseaudio
    >>      Available versions:  0.9.22 0.9.22-r2 (~)0.9.23-r1 (~)1.1 1.1-r1
    CPV> (~)2.0 **9999 {{+X +alsa +asyncns avahi bluetooth +caps dbus doc
    CPV> equalizer +gdbm +glib gnome ipv6 jack libsamplerate lirc +orc oss
    CPV> realtime ssl system-wide tcpd test +udev +webrtc-aec}}
    >>      Installed versions:  2.0(06:44:00 AM 05/27/2012)(X alsa asyncns
    CPV> caps dbus gdbm glib gnome lirc orc ssl tcpd udev webrtc-aec -avahi
    CPV> -bluetooth -doc -equalizer -ipv6 -jack -libsamplerate -oss -realtime
    CPV> -system-wide -test)
    >>      Homepage:            http://www.pulseaudio.org/>    
    CPV> Description:         A networked sound server with an advanced plugin
    CPV> system
    >> 
    >>  And pulseaudio is not in the runleves, even not in /etc/init.d.
    >> 
    >>  Maybe, the pulseaudio is misconfigured. But I couldn't find any
    CPV> useful information on
    >>  how to generate the run-time file /.pulse in the configuration
    CPV> directory /etc/pulse.
    >>  Do you know how to generate them?

    CPV> Could you do:

    CPV> $ ps aux | grep pulse

Thanks again. My result is as follows:

$ ps aux | grep pulse
easior    2989  0.0  0.6 100052  5472 ?        Sl   15:47   0:00 /usr/bin/pulseaudio --start --log-target=syslog
easior    2993  0.0  0.3  12636  2708 ?        S    15:47   0:00 /usr/libexec/pulse/gconf-helper

    CPV> In my system, the result is:

    CPV> canek      752  0.0  0.1 320096  4164 ?        Sl   May27   0:03
    CPV> /usr/bin/pulseaudio --start --log-target=syslog

    CPV> which means that the PulseAudio daemon is running as my user (canek).
    CPV> To write into /, the daemon should be running as root; if the result
    CPV> from "ps aux" shows that, it means that your system is starting
    CPV> pulseaudio as the superuser.

I think that the runtime files should be in the /var/somewhere or /root/ even if the
pulseaudio is been running as the superuser. Do you?

    CPV> Regards.
    CPV> -- 
    CPV> Canek Peláez Valdés
    CPV> Posgrado en Ciencia e Ingeniería de la Computación
    CPV> Universidad Nacional Autónoma de México

-- 
自从你离开了以后,我一直等待着你回来
我等着你回来,我等着你回来~~
My homepage:[http://xxxxxxxx]

  reply	other threads:[~2012-06-01  8:25 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-29 22:51 [gentoo-user] what's wrong with pulseaudio? Easior
2012-05-29 23:24 ` Canek Peláez Valdés
2012-05-30  9:35   ` Easior
2012-05-30 16:03     ` Canek Peláez Valdés
2012-05-31  3:09       ` Easior
2012-05-31 14:44         ` Canek Peláez Valdés
2012-06-01  8:23           ` Easior [this message]
2012-06-01 14:19             ` Canek Peláez Valdés
2012-06-01 14:27               ` Michael Mol
2012-06-01 14:28               ` Michael Orlitzky
2012-05-31  8:54 ` Keith Dart

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87obp3785i.fsf@Noah.localdomain \
    --to=easior@tom.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox