$ rsc start
TTY detected. Printing informational message about logging configuration. Logging configuration loaded from '/etc/xdg/xdg-ubuntu:/etc/xdg/rstudio/logging.conf'. Logging to '/home/henrik/.local/share/rstudio/log/rserver.log'.
henrik, your personal RStudio Server is available on <http://hb-x1-2023:24080>.
If you are running from a remote machine without direct access to hb-x1-2023, you can use SSH port forwarding to access the RStudio Server at <http://127.0.0.1:8787> by first running 'ssh -L 8787:hb-x1-2023:24080 henrik@log1.example.org' in a second terminal.
Any R session started times out after being idle for 120 minutes.
WARNING: You now have 10 minutes, until 2023-02-16 22:24:22+01:00, to connect and log in to the RStudio Server before everything times out.
That is, there are two different ports involved:
24080 - the default --port, which is generated by port4me
8787 - the hardcoded RStudio Server default
Instead of using 8787, we could use the same as in (1), so we get:
http://hb-x1-2023:24080
http://127.0.0.1:24080 by first running ssh -L 24080:hb-x1-2023:24080 henrik@log1.example.org
The advantage would be that we remove one possible source for mistakes. The disadvantage would be that it's not clear what the "left" and the "right" port in -L 24080:hb-x1-2023:24080 refer to.
Currently, we get:
That is, there are two different ports involved:
--port
, which is generated by port4meInstead of using 8787, we could use the same as in (1), so we get:
http://hb-x1-2023:24080
http://127.0.0.1:24080
by first runningssh -L 24080:hb-x1-2023:24080 henrik@log1.example.org
The advantage would be that we remove one possible source for mistakes. The disadvantage would be that it's not clear what the "left" and the "right" port in
-L 24080:hb-x1-2023:24080
refer to.