XRDP shows black screen after logout

I’m using Ubuntu 18.04.5 LTS I installed xrdp but getting the black screen error even after I logged out from remote computer physically.(this happens even though I’m not logged into the device anymore)