Rstudio ubuntu remote issue - rstudio --rundiagnostics

Im logging from a windows7 laptop to ubuntu 16.4 (xrdp) and I can open RStudio but it is closed by the system apparently randomly after a few seconds to a few minutes (Not long enough to work with anywa)
Could these problems be because the applications are already open in the PC terminal itself?

Have run "rstudio --rundiagnostics" and the output is below (Please help):-
QXcbConnection: Failed to initialize XRandr
Qt: XKEYBOARD extension not present on the X server.
Unsupported screen format: depth: 24, red_mask: ff, blue_mask: ff0000 Using RGB32 fallback, if this works your X11 server is reporting a bad screen format.
Unsupported screen format: depth: 24, red_mask: ff, blue_mask: ff0000 Using RGB32 fallback, if this works your X11 server is reporting a bad screen format.
Unsupported screen format: depth: 24, red_mask: ff, blue_mask: ff0000 Using RGB32 fallback, if this works your X11 server is reporting a bad screen format.
load glyph failed err=6 face=0x1e6be50, glyph=2797 load glyph failed err=6 face=0x1e6be50, glyph=2797
qt_xcb_createCursorXRender: query_pict_formats failed Segmentation fault (core dumped) mopcjhb2@M-U-UDXX1002459:~$

Hi, if you're experimenting, maybe consider using the RStudio Server installation instead of a remote desktop installation? https://www.rstudio.com/products/rstudio/download-server/

I am also having this exact issue on an Azure VM running Ubuntu 16.04 and Lubuntu desktop. RStudio was installed as part of the stock data science image.