Selkies
Developer Reference

session

A desktop session and Selkies streaming it, from one command.

For platforms that start one process behind a port or a Unix socket: Jupyter's server proxy, an Open OnDemand job, a Coder workspace. It starts what the host lacks, a sound server unless one answers and an Xvfb on the X11 backend, then the desktop and Selkies with every argument it was given. The backend is Selkies' own SELKIES_WAYLAND or --wayland, read by Selkies' parser.

The desktop is found as a display manager finds one, among the session files of the XDG data directories: xsessions on X11, wayland-sessions on Wayland, where the session nests in Selkies' compositor. Nothing is assumed of the host's Xvfb or compositor beyond what every release of them offers.

attributeXVFB_ARGS
= ('-screen', '0', '8192x4096x24', '-nolisten', 'tcp', '-noreset', '-s', '0', '-dpms')
attributeHOST_SESSION_VARS
= ('DISPLAY', 'WAYLAND_DISPLAY', 'XAUTHORITY', 'DBUS_SESSION_BUS_ADDRESS', 'PIPEWIRE_RUNTIME_DIR', 'PULSE_RUNTIME_PATH')

On this page

No Headings
Edit on GitHub