SuperCollider for the Remote Server
SuperCollider is per default built with Qt and X for GUI elements and the ScIde. This can be a problem when running it on a remote server without a persistent SSH connection and starting it as a system service. However, for service reasons a version with full GUI support is a useful tool. One solution is to compile and install both versions and make them selectable via symbolic links:
build and standard-install a full version of SuperCollider
build a headless version of SuperCollider (without system install)
- replace the following binaries in /usr/bin with symbolic links to the headless version
create scripts for changing the symlink targets
This allows you to redirect the symlinks to the GUI version for development and testing whereas they point to the headless version otherwise.
Compiling a Headless SC
The SC Linux build instructions are very detailed: https://github.com/supercollider/supercollider/blob/develop/README_LINUX.md
Compiling it without all graphical components is straightforward. Simply add the flags
-DSC_QT=OFF for building a headless version of SuperCollider.