>>394
core 吐いてないなら、
とりあえず shell script でくるんでみたら?

#!/bin/sh
(
echo begin
xlock.real "$@"
echo exit status: $?
echo end
) 2>&1 | logger -t xlock