xrdp-ng: X11rdp refactoring