Re: [dev] [dwm] Several xinitrc processes running on Ubuntu

From: Raphael Proust <raphlalou_AT_gmail.com>
Date: Mon, 5 Nov 2012 08:56:43 +0000

On Mon, Nov 5, 2012 at 8:45 AM, clamiax <smoppy_AT_gmail.com> wrote:
> Hi,
>
> I'm on Ubuntu 12.04 with the following session file:
>
> claudio_AT_clabook:~$ cat /usr/share/xsessions/xinitrc.desktop
> [Desktop Entry]
> Name=xinitrc
> Exec=/home/claudio/.xinitrc
>
> That's what I get once I restart dwm several times

How do you restart dwm?
How do you invoke it in your .xinitrc?

Basically, paste your .xinitrc (or a simplified version that still
exposes the behaviour you have) to get some help. (Your dwm/config.h
might be useful, depending on your setting.)

> (not sure if it can
> happen without restart at all):
>
> claudio_AT_clabook:~$ pgrep -fl xinitrc
> 13958 /bin/sh /home/claudio/.xinitrc
> 14569 /bin/sh /home/claudio/.xinitrc
> 15448 /bin/sh /home/claudio/.xinitrc
> 18171 /bin/sh /home/claudio/.xinitrc
> 18696 /usr/bin/ssh-agent /usr/bin/dbus-launch --exit-with-session
> /home/claudio/.xinitrc
> 18699 /usr/bin/dbus-launch --exit-with-session /home/claudio/.xinitrc
> 18703 /bin/sh /home/claudio/.xinitrc
>
> So I have, among the other things, several processes which loops each 30s to
> update the bar. Concurrently.
>
> I can safely kill the first four process since the PID 18703 is the only one
> I need. But, how can prevent all this unused processes to be spawn?
>
> Thanks in advance for any help. While waiting for a reply I'll continue to
> Google about and RTFM.
>
> Regards,
> Claudio



-- 
______________
Raphaƫl Proust
Received on Mon Nov 05 2012 - 09:56:43 CET

This archive was generated by hypermail 2.3.0 : Mon Nov 05 2012 - 10:00:07 CET