xrdp-ng: module interface simplification