[R-sig-Fedora] rstudio-server toolbox instructions

Iñaki Ucar |uc@r @end|ng |rom |edor@project@org
Tue Jun 14 20:40:29 CEST 2022


It seems that running the following once:

[toolbox]$ sudo rserver --server-user=$(whoami) --verify-installation=1

creates the necessary files, and then you can just run:

[toolbox]$ rserver --server-user=$(whoami)

Hope it helps.
Iñaki

On Tue, 14 Jun 2022 at 18:44, Iñaki Ucar <iucar using fedoraproject.org> wrote:
>
> On Tue, 14 Jun 2022 at 16:33, <tim.taylor using hiddenelephants.co.uk> wrote:
> >
> > Following the instructions at https://cran.r-project.org/bin/linux/fedora/#toolbox-container-based-development
> > I'm trying to run rstudio server in a fedora 36 toolbox. I run the following commands:
> >
> > [toolbox]$ sudo dnf install rstudio-server
> > [toolbox]$ rserver --server-daemonize=0 --auth-none=1 --server-user=$(whoami)
> >
> > but this errors with the following:
> >
> > 2022-06-14T14:29:55.478369Z [rserver] ERROR system error 13 (Permission denied) [path: /var/run/rstudio-server, target-dir: ]; OCCURRED AT rstudio::core::Error rstudio::core::FilePath::createDirectory(const std::string&) const src/cpp/shared_core/FilePath.cpp:842; LOGGED FROM: int main(int, char* const*) src/cpp/server/ServerMain.cpp:626
> >
> > Do the instructions need updating or am I missing something obvious?
>
> This is kind-of-a hack that used to work, but apparently there are new
> constraints now, and more options are required to circumvent the
> default directories. We would need to figure out the new options and
> maybe provide a wrapper if this becomes too complicated.
>
> --
> Iñaki Úcar



-- 
Iñaki Úcar



More information about the R-SIG-Fedora mailing list