xrdp-ng: start making use of callback interface