Hello Randolph! Thank you so much for reaching out, I am Harvie an Independent Advisor, and I am glad to assist you today with this issue.
On your remote desktop that is closing immediately after login try to run services.msc and find remote desktop services then restart it. In RDP mstsc disable bitmap caching under show options and experience tab then uncheck persistent bitmap caching.
Try to test another user login with a different account to rule out profile issues and update your GPU drivers using device manager or manufacturer site. Lastly check event viewer and look for crash logs under application or system around the time of disconnection.
Please try these steps and let me know how it goes. If you run into any issues just reply back with the details.
Best regards,
Harry