On Sun, 8 Apr 2018 13:50:14 +0900
Carsten Haitzler (The Rasterman) <ras...@rasterman.com> wrote:

> so either it's a different uid  (setuid?),

Seems this is part of the problem, likely due to setuid/setgid. The pid
returned from ecore_exe_pipe_run is not the same as when
ECORE_EXE_EVENT_DEL callback gets fired. The callback event ends up with
the pid for X.

INF<9579>:entrance ../src/daemon/entrance.c:296 _entrance_main() 
entrance_client started pid 9587
INF<9579>:entrance ../src/daemon/entrance.c:310 _entrance_client_del() ev->pid 

9579 root     root     /usr/sbin/entrance
9586 root     root     /usr/bin/X -nolisten tcp -br vt7
9587 root     root     /bin/bash -c export HOME=/home/travis; export USER=travi
9588 travis   travis   /usr/lib/x86_64-linux-gnu/entrance/entrance_client -d :0

I assume I need to register the entrance_client pid with entrance.
Need to have the right handle/pid for calling ecore_exe_terminate.

William L. Thomson Jr.

Attachment: pgpqL5b0hzipA.pgp
Description: OpenPGP digital signature

Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
enlightenment-devel mailing list

Reply via email to