This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Rstudio server on Ubuntu 16.04.2 LTS, RStudio initialization error: unable to connect to service

Hi,

I have successfully installed Rstudio server (open source) on VM located on Ubuntu 16.04.2 LTS in the institute cluster. I can access the URL on port 8787. But when I try to sign in to Rstudio using my username and password, it processes for few seconds and then shows errors as detailed here http://stackoverflow.com/questions/42690144/rstudio-server-on-ubuntu-16-04-2-lts-rstudio-initialization-error-unable-to-co

Suggestions please!

Thanks

rstudio server r ubuntu rstudio

1 answer

I got the solution for this. I was already having the root access and I proceeded as follows:

1) mkdir /home/biology/.rstudio  
2) mkdir /home/biology/.rstudio/graphics-r3  
3) sudo chown -R biology:my_group .rstudio

and it worked :)

Log in to answer this question.