I’ve got the xfce desktop up and running with OOD so that’s good.
I’m trying to get RStudio running. I’ve got another cluster with CentOS 7 and OOD 1.6 with RStudio working. I’ve copied the app files from there and made the modifications for the match up to this new cluster.
I’m getting this in the output file:
Setting VNC password...
Starting VNC server...
Warning: compute-0.internal:1 is taken because of /tmp/.X1-lock
Remove this file if there is no X server compute-0.internal:1
Killing Xvnc process ID 421234
Xvnc process ID 421234 already killed
Xvnc did not appear to shut down cleanly. Removing /tmp/.X11-unix/X1
Xvnc did not appear to shut down cleanly. Removing /tmp/.X1-lock
Desktop 'TurboVNC: compute-0.internal:1 (foo)' started on display compute-0.internal:1
Log file is vnc.log
Successfully started VNC server on compute-0:5901...
Script starting...
Starting websocket server...
/var/spool/slurm/d/job00009/slurm_script: line 185: /users/foo/ondemand/data/sys/dashboard/batch_connect/sys/RStudio/output/35fa7141-de7f-44dd-a6f4-340d33e6d762/script.sh: Permission denied
WebSocket server settings:
- Listen on :6015
- No SSL/TLS support (no cert file)
- Backgrounding (daemon)
Scanning VNC log file for user authentications...
Generating connection YAML file...
Cleaning up...
Killing Xvnc process ID 421691
I’ve checked the permissions on that script.sh file and the foo user owns it. Can anyone help guide me through troubleshooting this?
LOL - sorry, this is much easier than I’m making it.
Set the original file template/script.sh.erb to executable. The file is being copied as is, so if it starts as 644 it’ll be copied as 644. It needs to be 755 (or 750 if you prefer).