Re: [pulseaudio-discuss] pulseaudio still running before shutdown

2019-04-26 Thread Christian
Hello Tanu,

thanks for your reply.

I just looked it up :

ps -aux | grep -i pulseaudio
rosika    1539  0.0  0.4 976248 17244 ?    Sl   12:54   0:00
/usr/bin/pulseaudio --start --log-target=syslog
rosika    2870  0.1  0.4 443636 16320 ?    Sl   13:00   0:01
/usr/bin/pulseaudio --start --log-target=syslog
rosika    3276  0.0  0.0  21536  1048 pts/2    S+   13:20   0:00 grep
--color=auto -i pulseaudio

So for both processes I seem to be the user.  Strange.

As display manager I guess I have lightdm, as I use Lubuntu.

Nevertheless I´ll try

setting "exit-idle-time = 0" in /etc/pulse/daemon.conf .

Gretings.
Rosika


Am 26.04.19 um 10:22 schrieb Tanu Kaskinen:
> P.S.:
>> I still don´t understand why there are *two *proceses running before 
>> shutdown:
>>
>> ps -ax | grep -i pulseaudio
>>  1515 ?Sl 0:00 /usr/bin/pulseaudio --start --log-target=syslog
>>  2348 ?Sl 0:01 /usr/bin/pulseaudio --start --log-target=syslog
>>  3820 pts/2S+ 0:00 grep --color=auto -i pulseaudio
> I would guess the other one is for gdm. You can use "pa aux" to see
> also the user of the process.
>


___
pulseaudio-discuss mailing list
pulseaudio-discuss@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss

Re: [pulseaudio-discuss] pulseaudio still running before shutdown

2019-04-26 Thread Tanu Kaskinen
On Mon, 2019-04-22 at 12:58 +0200, Christian wrote:
> Hi Tanu,
> 
> thanks a lot for your answer and suggestion.
> 
> First of all I have to apologize for getting something wrong.
> I wrote:
> 
> "I don´t know why I get this message because the shutdown works well
> despite that error message. In fact it shuts down really fast."
> 
> That´s /incorrect/. In fact it´s like this:  the fact that pulseaudio is 
> still running indeed *prevents the shutdown *.
> I mixed it up with another project of mine. Sorry about that.
> 
> Now to your suggestion:
> 
> I looked  up _/etc/pulse/daemon.conf_. 
> 
> The "exit-idle-time"-value is currently set like so:
> 
> ; exit-idle-time = 20
> 
> The man-pages say: "Terminate  the  daemon after the last client quit and 
> this time in seconds passed."
> 
> Well, I think with the semicolon in front that value wasn´t set at all, right?
> So I´d have to get rid of the semicolon and then set "exit-idle-time = 0".
> 
> Would that be the way to go?

Yes.

> P.S.: 
> I still don´t understand why there are *two *proceses running before shutdown:
> 
> ps -ax | grep -i pulseaudio
>  1515 ?Sl 0:00 /usr/bin/pulseaudio --start --log-target=syslog
>  2348 ?Sl 0:01 /usr/bin/pulseaudio --start --log-target=syslog
>  3820 pts/2S+ 0:00 grep --color=auto -i pulseaudio

I would guess the other one is for gdm. You can use "pa aux" to see
also the user of the process.

-- 
Tanu

https://www.patreon.com/tanuk
https://liberapay.com/tanuk

___
pulseaudio-discuss mailing list
pulseaudio-discuss@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss

Re: [pulseaudio-discuss] pulseaudio still running before shutdown

2019-04-22 Thread Christian
Hi Tanu,

thanks a lot for your answer and suggestion.

First of all I have to apologize for getting something wrong.
I wrote:

"I don´t know why I get this message because the shutdown works well
despite that error message. In fact it shuts down really fast."

That´s /incorrect/. In fact it´s like this:  the fact that pulseaudio is still 
running indeed *prevents the shutdown *.
I mixed it up with another project of mine. Sorry about that.

Now to your suggestion:

I looked  up _/etc/pulse/daemon.conf_. 

The "exit-idle-time"-value is currently set like so:

; exit-idle-time = 20

The man-pages say: "Terminate  the  daemon after the last client quit and this 
time in seconds passed."

Well, I think with the semicolon in front that value wasn´t set at all, right?
So I´d have to get rid of the semicolon and then set "exit-idle-time = 0".

Would that be the way to go?

Greetings.
Rosika

P.S.: 
I still don´t understand why there are *two *proceses running before shutdown:

ps -ax | grep -i pulseaudio
 1515 ?Sl 0:00 /usr/bin/pulseaudio --start --log-target=syslog
 2348 ?Sl 0:01 /usr/bin/pulseaudio --start --log-target=syslog
 3820 pts/2S+ 0:00 grep --color=auto -i pulseaudio

___
pulseaudio-discuss mailing list
pulseaudio-discuss@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss

Re: [pulseaudio-discuss] pulseaudio still running before shutdown

2019-04-22 Thread Tanu Kaskinen
On Sun, 2019-04-21 at 13:37 +0200, Christian wrote:
> Hi,
> 
> 
> INFO:
> my system: Linux/Lubuntu 18.04.2 LTS, 64 bit
> 
> 
> I shut down my system with the terminal-command "shutdown -H -P +0" or
> "poweroff". But the observed phenomenon may also be seen when
> shutting down from the panel.
> 
> I changed my grub-config from GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
> to GRUB_CMDLINE_LINUX_DEFAULT="noplymouth" in order to get screen output
> of the logs.
> 
> And here I see an entry reading "failed unmounting /home" (in red).
> After that came some more messages which all were O.K. Everything else
> was in green with an "O.K." in front.
> 
> I don´t know why I get this message because the shutdown works well
> despite that error message. In fact it shuts down really fast.
> 
> So I took alook at journalctl. It shows me the following:
> 
> [...]
> Apr 05 18:16:19 rosika-Lenovo-H520e umount[25556]: umount: /home: das
> Ziel wird gerade benutzt. # /home is currently in use
> Apr 05 18:16:19 rosika-Lenovo-H520e systemd[1]: Unmounting
> /media/rosika/28BC-DAFC...
> Apr 05 18:16:19 rosika-Lenovo-H520e systemd[1]: Unmounting
> /media/rosika/f14a27c2-0b49-4607-94ea-2e56bbf76fe1...
> Apr 05 18:16:19 rosika-Lenovo-H520e systemd[1]: home.mount: Mount
> process exited, code=exited status=32
> Apr 05 18:16:19 rosika-Lenovo-H520e systemd[1]: Failed unmounting /home.
> # <-
> [...]
> 
> I found out that a pulseaudio process seems to be the culprit.
> 
> So I looked up the proceses before shutdown:
> 
> ps -ax | grep -i pulseaudio
>  1515 ?Sl 0:00 /usr/bin/pulseaudio --start --log-target=syslog
>  2348 ?Sl 0:01 /usr/bin/pulseaudio --start --log-target=syslog
>  3820 pts/2S+ 0:00 grep --color=auto -i pulseaudio
> 
> There are two pulseaudio processes running (!). I don´t know why. This
> is the state immediately before shutdown. All programmes are closed
> and nothing should be running regarding pulseaudio.
> 
> So I perform " killall pulseaudio" immediately before shutdown. After
> that I get no error messages at all.
> 
> Does anybody know what can be done about this?
> 
> Tnx a lot in advance.

Does setting "exit-idle-time = 0" in /etc/pulse/daemon.conf help?

-- 
Tanu

https://www.patreon.com/tanuk
https://liberapay.com/tanuk

___
pulseaudio-discuss mailing list
pulseaudio-discuss@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss

[pulseaudio-discuss] pulseaudio still running before shutdown

2019-04-21 Thread Christian
Hi,


INFO:
my system: Linux/Lubuntu 18.04.2 LTS, 64 bit


I shut down my system with the terminal-command "shutdown -H -P +0" or
"poweroff". But the observed phenomenon may also be seen when
shutting down from the panel.

I changed my grub-config from GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
to GRUB_CMDLINE_LINUX_DEFAULT="noplymouth" in order to get screen output
of the logs.

And here I see an entry reading "failed unmounting /home" (in red).
After that came some more messages which all were O.K. Everything else
was in green with an "O.K." in front.

I don´t know why I get this message because the shutdown works well
despite that error message. In fact it shuts down really fast.

So I took alook at journalctl. It shows me the following:

[...]
Apr 05 18:16:19 rosika-Lenovo-H520e umount[25556]: umount: /home: das
Ziel wird gerade benutzt. # /home is currently in use
Apr 05 18:16:19 rosika-Lenovo-H520e systemd[1]: Unmounting
/media/rosika/28BC-DAFC...
Apr 05 18:16:19 rosika-Lenovo-H520e systemd[1]: Unmounting
/media/rosika/f14a27c2-0b49-4607-94ea-2e56bbf76fe1...
Apr 05 18:16:19 rosika-Lenovo-H520e systemd[1]: home.mount: Mount
process exited, code=exited status=32
Apr 05 18:16:19 rosika-Lenovo-H520e systemd[1]: Failed unmounting /home.
# <-
[...]

I found out that a pulseaudio process seems to be the culprit.

So I looked up the proceses before shutdown:

ps -ax | grep -i pulseaudio
 1515 ?    Sl 0:00 /usr/bin/pulseaudio --start --log-target=syslog
 2348 ?    Sl 0:01 /usr/bin/pulseaudio --start --log-target=syslog
 3820 pts/2    S+ 0:00 grep --color=auto -i pulseaudio

There are two pulseaudio processes running (!). I don´t know why. This
is the state immediately before shutdown. All programmes are closed
and nothing should be running regarding pulseaudio.

So I perform " killall pulseaudio" immediately before shutdown. After
that I get no error messages at all.

Does anybody know what can be done about this?

Tnx a lot in advance.

Rosika
___
pulseaudio-discuss mailing list
pulseaudio-discuss@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss