My slim does not have '-c' option so I copied slim-vt-5.conf to
/etc/slim.conf and deleted '-c' in slim-vt-5.service .
(I think '-c' means your patched slim)
My slim is not launched with your slim.conf and I added the following
line in slim.conf :
login_cmd if [ -r ~/.xinitrc ]; then exec /bin/bash -login
~/.xinitrc %session; else PREFERRED=%session exec /bin/bash -login
/etc/X11/xinit/xinitrc; fi
I replaced 'user' with my account in slim.conf
When I run 'systemctl start slim-vt-5', the login screen is shown
with my account.
After I typed my password, xfce4 session and ibus-daemon is started.
When I run 'systemctl restart slim-vt-5', the session is closed and
ibus-daemon also exited and the login screen is shown again.
After I typed my password, xfce4 session and ibus-daemon is started again.