Xfce Forum

Sub domains
 

You are not logged in.

#1 2012-11-05 08:16:17

jochen
Member
Registered: 2012-11-01
Posts: 3

Processes started by autostart don't end at logoff

Processes that are started through xfce4-session autostart are owned by init (pid 1) and continue running after logoff.

I have a wallpaper changer which changes background every 5 minutes. This does not get killed at logoff and a second instance is created at new login.

In Gnome these processes were owned by gnome-session and got automatically killed. But not so with Xfce, here they are owned by init and running forever.

How can I assure that such processes get killed at logoff?

Offline

#2 2012-11-05 17:33:51

Pindakoe
Member
From: NL
Registered: 2003-11-26
Posts: 116

Re: Processes started by autostart don't end at logoff

Do a manual cleanup using a custom script called from ~/.config/xfce4/xinitrc Something along the lines of pkill -u $USER descriptivename

Offline

Board footer

Powered by FluxBB