Xfce Forum

Sub domains
 

You are not logged in.

#1 2017-12-09 13:32:56

Speranskiy
Member
Registered: 2016-02-02
Posts: 12

[SOLVED] Can't find where a process being started on boot.

Hi there!
My issue is very wierd. I had a process (syndaemon) added at startup apps list in XFCE. I've decided to give GNOME a try, switched to it and disabled some autostart applications from gnome-session-properties (can't remember anything regarding syndaemon though).
Now I'm back with XFCE, and i cant find where syndaemon is being spawned on boot.

➜  autostart ps aux|grep syndaemon
speranza   811  0.0  0.0  22344  1288 ?        S    14:58   0:00 syndaemon -i 0.6 -K -R

PPID is 1
I've checked ~/.config/autostart, /etx/xdg/autostart and ~/.zshrc. Actually I've grepped the whole "/home" and "/" directories for "syndaemon" word, nothing's found. But it keeps starting on boot.
For instance

root@speranza# find . -xdev -type f -exec grep -IH "syndaemon -i 0.6 -K -R" {} \;
./.zsh_history:: 1512751210:0;pgrep -R syndaemon -i 0.6 -K -R /
./.zsh_history:: 1512751215:0;grep -R syndaemon -i 0.6 -K -R /

I use autologin with autostart X without a display manager. Using getty + .xinitrc

It's being started with XFCE only.

➜  autostart git:(master) ✗ pwd
/home/speranza/.config/autostart
➜  autostart git:(master) ✗ ls
'conky calendar.desktop'  'disable touch.desktop'   Telegram-cli.desktop
 Conky.desktop             Nextcloud.desktop
 devilspie2.desktop        pasystray.desktop
➜  autostart git:(master) ✗ grep -R 'syndaemon' .
➜  autostart git:(master) ✗ 

XFCE session is not being saved and all saved sessions are cleared.

➜  sessions git:(master) ✗ grep  -R "syndaemon" .
➜  sessions git:(master) ✗ pwd                   
/home/speranza/.cache/sessions

I'm lost.

Pstree shows syndaemon spawned by systemd.
"journalctl -b| grep syndaemon" returns nothing.

Last edited by Speranskiy (2017-12-10 10:56:04)

Offline

#2 2017-12-09 14:32:46

Clio
Member
Registered: 2011-01-25
Posts: 68

Re: [SOLVED] Can't find where a process being started on boot.

/usr/bin/syndaemon is part of the package  xserver-xorg-input-synaptics

Offline

#3 2017-12-09 15:02:19

Speranskiy
Member
Registered: 2016-02-02
Posts: 12

Re: [SOLVED] Can't find where a process being started on boot.

Yes, I could remove it. But I need it, just want to alter some parameters.

Offline

#4 2017-12-09 16:26:43

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 4,268

Re: [SOLVED] Can't find where a process being started on boot.

What are the contents of the ~/.config/autostart/disable touch.desktop file?

root@speranza# find . -xdev -type f -exec grep -IH "syndaemon -i 0.6 -K -R" {} \;

Also grep for just "syndaemon" when grepping - there maybe a config file that is appending the parameters.


How To Ask For Help           Xfce FAQ                            Xfce Release Information
The Xfce Community          Xfce Tips and Tricks

Offline

#5 2017-12-09 18:09:52

Speranskiy
Member
Registered: 2016-02-02
Posts: 12

Re: [SOLVED] Can't find where a process being started on boot.

disable_touch.desktop launches this script

#!/bin/bash
xinput --disable `xinput|grep "Touch Controller"|grep -P -o "[0-9]+"|head -1`

touch stands for "touchsreen".
I've tried to grep for "syndaemon" nothing's found. Very wierd.
Also I've checked journalctl through and through.
The only ugly workaround is to rename /usr/bin/syndaemon

Last edited by Speranskiy (2017-12-09 18:12:39)

Offline

#6 2017-12-09 22:21:01

Speranskiy
Member
Registered: 2016-02-02
Posts: 12

Re: [SOLVED] Can't find where a process being started on boot.

And if I start another DE (awesomewm) using the same setup the unwanted process is not being started. So it's clearly XFCE launches it.

Offline

#7 2017-12-10 02:53:11

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 4,268

Re: [SOLVED] Can't find where a process being started on boot.

It's xfsettingsd that is starting it. See https://git.xfce.org/xfce/xfce4-setting … pointers.c and https://docs.xfce.org/xfce/xfce4-settings/mouse. It looks like enabling "Disable touchpad while typing" in the Mouse and Touchpad settings is what starts it.


How To Ask For Help           Xfce FAQ                            Xfce Release Information
The Xfce Community          Xfce Tips and Tricks

Offline

#8 2017-12-10 10:55:26

Speranskiy
Member
Registered: 2016-02-02
Posts: 12

Re: [SOLVED] Can't find where a process being started on boot.

Thank you ToZ!! You're brilliant!

Offline

Board footer

Powered by FluxBB