We’ve had issues reported by users of Putty with Xming where the rstudio program fails to launch with error such as:
$ rstudio
qt.qpa.xcb: X server does not support XInput 2
failed to get the current screen resources
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
The X11 connection broke: I/O error (code 1)
XIO: fatal IO error 2 (No such file or directory) on X server "localhost:10.0"
after 391 requests (382 known processed) with 0 events remaining.
One solution we’ve found is to use the vcxsrv (from https://sourceforge.net/projects/vcxsrv/) instead of the older Xming