Issue:
In Posit Workbench versions 2024.09 and 2024.12, you may encounter issues with collaborative editing, specifically regarding the live cursors not functioning correctly during project sharing.
This is a known issue that has been addressed in version 2025.05. Please upgrade to pick up the fix.
In the interim, the recommended workaround is to update the configuration rserver.conf file to explicitly set the working directory, and then restart Workbench.
Steps to fix:
Open the rserver.conf file in your desired text editor:
For example
sudo vi /etc/rstudio/rserver.conf
Add the following line to the configuration file:
server-working-dir=/usr/lib/rstudio-server/bin
Save the file and exit the text editor.
Restart Posit Workbench for the changes to take effect:
sudo systemctl restart rstudio-server
After restarting, the collaborative editing server should start correctly, enabling live cursors and real-time collaboration when project sharing.