rocker-versioned2
rocker-versioned2 copied to clipboard
Change length of time before inactivity logout
Container image name
rocker/tidyverse:latest
Container image digest
No response
What operating system related to this question?
Linux
System information
No response
Question
Many thanks to the rocker team for this awesome repo!
Question regarding inactivity timeout:
The default rocker behavior is to log the user out after 60 minutes of inactivity? Is there a way to turn this off and/or to change the amount of time before the logout occurs?
It seems that the setting can be changed by editing /etc/rstudio/rserver.conf
.
See https://github.com/rstudio/rstudio/issues/5449#issuecomment-534184951.
Since this file is editable by the script executed by the container's default command (/init
), it is possible to add functionality to configure it.
https://github.com/rocker-org/rocker-versioned2/blob/67f04adb7ae313d29a31087394bd3340f62c22a8/scripts/init_userconf.sh#L14-L17