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

From: clamiax <smoppy_AT_gmail.com>
Date: Mon, 5 Nov 2012 09:45:53 +0100

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 (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
Received on Mon Nov 05 2012 - 09:45:53 CET

This archive was generated by hypermail 2.3.0 : Mon Nov 05 2012 - 09:48:05 CET