Using xrdp with Nvidia drivers

When I sign into my machine with xrdp for some reason my nvidia GPU is not detected or in use, any ideas on how to use xrdp with nvidia drivers activated?