Getting RServer to work

anders.miltner's Avatar

anders.miltner

08 Aug, 2012 09:26 PM

I tried to log in to my http://[ip-address]/auth-sign-in after starting r-studio. I was able to sudo /usr/lib/rstudio-server/bin/rstudio-server verify-installation. After I put in my log in credentials, I get the response RStudio Initialization Error: Unable to connect to service. After I do that, I looked at my /var/log/messages, and found

Aug 8 10:26:00 devbase rserver-pam[20168]: ERROR pam_authenticate failed: User not known to the underlying authentication module; LOGGED FROM: int::PAMAuth::login(const std::string&, const std::string&) /root/rstudio/src/cpp/server/pam/PamMain.cpp:196

do you know what might be the cause of this error?

  1. Support Staff 2 Posted by Josh Paulson on 09 Aug, 2012 04:29 AM

    Josh Paulson's Avatar

    Anders,

    Looks like there could be something going on with your PAM configuration. RStudio doesn't install its own PAM profile but rather depends on the behavior of the "other" profile which by default on Ubuntu allows logins. One thing other users have done is simply copy their login profile into an rstudio profile (so rstudio mirrors the setup for standard system login):

    sudo cp /etc/pam.d/login /etc/pam.d/rstudio
    

    I'd also recommend trying to use pamtester to see if you can get things working. If that passes, then likely you'll be good.

    Josh

  2. Josh Paulson closed this discussion on 19 Aug, 2012 12:33 PM.

Comments are currently closed for this discussion. You can start a new one.