Remote Desktop

Crafting workspaces have built-in support for running an X Window System-based remote desktop via the Microsoft RDP (Remote Desktop Protocol). This is not activated by default, as the X Window System consumes additional system resources.

Activation

Run the following command from inside the workspace to activate the remote desktop:

cs activate-remote-desktop

Once the command completes, the remote desktop can be accessed in two ways:

Deactivation

To shut down the remote desktop, remove the executable permission from /etc/sandbox.d/Xsession:

sudo chmod a-x /etc/sandbox.d/Xsession

To reactivate it, restore the executable permission:

sudo chmod a+x /etc/sandbox.d/Xsession

Alternatively, removing the file entirely also deactivates the remote desktop.

See Also