Getting RServer to work
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?
Comments are currently closed for this discussion. You can start a new one.
Support Staff 2 Posted by Josh Paulson on 09 Aug, 2012 04:29 AM
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):
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
Josh Paulson closed this discussion on 19 Aug, 2012 12:33 PM.