Rstudio issue in Linux

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.

Hi @aulah, welcome to the RStudio Community, thanks for contributing.

The RPM you have listed if for the Desktop IDE. If you are running RStudio on a server, you will want to use the Server versions of RStudio.
Free version: Download RStudio Server for Red Hat/CentOS - RStudio
All Versions: Download the RStudio IDE - RStudio

Let us know how you go or if you need any more help.

Thank you very much. I was able to get it working with the server version. Appreciate it very much

1 Like

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.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.