Hi,

I'm on Ubuntu 12.04 with the following session file:

claudio@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 (not sure if it can
happen without restart at all):

claudio@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

Reply via email to