Hello, I am very new in Rstudio, Trying to get Rstudio working in Red Hat Enterprise Linux Server release 7.9 (Maipo). Need some advise to debug this issue below. Thank you in advance
Installed Rstudio version : rstudio-2022.02.1-461-x86_64.rpm
not able to get it started in mobaxterm terminal window eventhough x11 is up.
Here is the issue
TTY detected. Printing informational message about logging configuration. Logging configuration loaded from '/etc/rstudio/logging.conf'. Logging to '/home/svcitsfipslsas/.local/share/rstudio/log/rdesktop.log'.
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 0 (Success) on X server "xx.xxxx.xx.xx:10.0"
after 561 requests (561 known processed) with 0 events remaining.
A colleague, @michaelmayer, pointed out that it is possible to run the Desktop version on a server. Without going into full details, the rough guide would be:
install the mesa-dri-drivers on the server
enable X forwarding on the server
ssh into the server using the -Y flag
run RStudio from terminal
Note: when you close the terminal session, the RStudio GUI will also close.