Appendix B Constants and Paths

B.1 Network and sockets #

WhatValue
ListenerTCP 0.0.0.0:8080, plain HTTP (atrium-server)
Mirror websocketGET /ws on the same origin
Control descriptorsDescriptor 3 in atrium-server and atrium-session
Logon authority/run/logon.sock (client)
Jobs channel/run/services/peinit/jobs.sock (client, one connection per operation)

B.2 Filesystem #

WhatWhere
Binaries/usr/sbin/atriumd, /usr/libexec/atrium/atrium-server, /usr/libexec/atrium/atrium-session
Applications/usr/share/atrium/apps/<id>/manifest.toml
Service definition/usr/share/regim/atriumd-service.reg (applied by an image's autoapply)
Shell assetsServed at /shell/…: shell.js, shell.css, icons.js, sdk.js, tokens.css — compiled into atrium-session

B.3 Session host environment #

HOME, USER, LOGNAME, PATH, SHELL, ATRIUM_SESSION (logon session id), ATRIUM_DISPLAY_NAME. Applications' exec children inherit the session host's environment.

B.4 Limits and defaults #

WhatValue
Cookie256-bit random, HttpOnly, SameSite=Strict
exec output cap1 MiB, then kill + truncated
exec runtime cap300 s
Frame handshake grace1.2 s
Websocket reconnect300 ms × failures, capped 3 s; liveness check each 3rd failure
Session job stop timeout10 s
Window title cap120 characters
pty terminal typexterm-256color

B.5 Development overrides #

ATRIUM_LISTEN, ATRIUM_APPS_DIR, ATRIUM_SERVER, ATRIUM_SESSION (binary path), ATRIUM_JOBS_SOCKET; atriumd --unrestricted runs the whole stack under one identity on a KACS-less host. The atrium source tree's tools/dev/ holds the fake-atriumd harness and browser drivers these serve.

Edit this page