RStudio Server: Non-Root Install/Run/Authenticate

Hello all,
I work for an HPC facility and it would be extremely useful to have a way for unprivileged users to launch their own version of RStudio Server. We currently have a centralized RStudio server running, however it is frequently abused and misunderstood.

I read this and it seems to layout what I would expect:
https://support.rstudio.com/hc/en-us/articles/236226087-Scaling-R-and-RStudio

Regardless, some of our users are intimidated by the command line so it would be great to have a way for them to run RStudio Server from a Slurm job. Currently we support JupyterLabs running from within a job, which works great. I am just curious if we can get this working for RStudio as well, since some people are already use to it's interface.

It seems as though compiling as a non-root user would work, however I just downloaded the CentOS RPM from the Rstudio website and unpacked it and did a sed through all the files to replace the '/usr/lib/rstudio-server' with the path where I unpacked the RPM.

This does seems to function, as a non-root user I can launch RStudio.
In order to do this, I borrowed some wrapper scripts from here:
https://github.com/grst/rstudio-server-conda

For all those other topics regarding non-root user installs and running of RStudio Server, IT CAN BE DONE :smile:

My only question now is how to authentication.
Is it possible to run RStudio server as a non-root user, but still be able to authenticate against the user that started the processes?
Or, possible just append a random UUID to the end of the URL so that we can have a basic sense of security between users.

Thanks!

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