Excellent - That worked. Many thanks as always!

Tim
> On 14/06/2022 19:40 BST Iñaki Ucar <iu...@fedoraproject.org> wrote:
> 
>  
> 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 <iu...@fedoraproject.org> wrote:
> >
> > On Tue, 14 Jun 2022 at 16:33, <tim.tay...@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

_______________________________________________
R-SIG-Fedora mailing list
R-SIG-Fedora@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-fedora

Reply via email to