On Wed, Apr 19, 2017 at 9:09 AM, David C. Rankin email@example.com wrote:
on my system. Because I did experience the kded crash for the first few days I had KDE installed, but then it disappeared (obviously I changed something that must start gam_server):
$ pgrep gam_server 2320
However, whatever config change I made, it was not an explicit start of gam_server, so there is some other service that does that on it's own.
Looking, it appears it is triggered by kdeinit now (somehow), e.g.
$ ps axf
... 2309 ? S 0:00 start_kdeinit --new-startup +kcminit_startup 2310 ? Ss 0:00 kdeinit Running... 2315 ? S 0:05 _ klauncher [kdeinit] --new-startup ... 2313 ? S 0:01 dcopserver [kdeinit] --nosid 2317 ? S 0:42 kded [kdeinit] --new-startup 2320 ? S 0:01 /usr/lib/gam_server
How do you see that gam_server was run by kdeinit?
On my system ps axf shows: 1747 ? Ss 0:00 _ /bin/sh /opt/kde3/bin/startkde 1824 ? Ss 0:00 _ /usr/bin/gpg-agent --sh --daemon --keep-display --write-en 1833 ? S 0:00 _ /usr/lib/gam_server 1878 ? S 0:00 _ kwrapper ksmserver 1717 ? Ss 0:00 /usr/sbin/cron -n
So I clearly see that my "patch" in startkde script started it. I added -f option to ps also, so it shows the "parent process":
$ps axf -f |grep gam_server user 1833 1747 0 16:25 ? S 0:00 _ /usr/lib/gam_server ^^^^ Parent process ID
The only direct package requirements I find are:
$ rpm -q --whatrequires gamin-server libfam0-gamin-0.1.10-14.5.x86_64 libgamin-1-0-0.1.10-14.5.x86_64 codeblocks-contrib-16.01-1.1.x86_64
As far as I could understand from quick googling, this gamin thing is some gnome replacement of old FAM service. It looks like when application calls FAMOpen (which is in libfam0-gamin), and gam_server is not running, the server is started. I've not investigated it further. Will try to look a bit more into it during weekend.
I'm stumped, your guess is as good as mine... (probably better)
Well, not sure. You did a lot of maintenance already (TDE on arch and so on). I still have not got my hands dirty with it, just periodically trying to look into something. You gave me some credit I have not deserved :(