Start and leave your session

Start from a login terminal

Log in on a text console as your normal user and run the following. Using exec replaces the authenticated shell, so exiting the compositor can't return someone at the keyboard to that shell.

exec tessera

Your login must supply a user-owned, mode-0700 XDG_RUNTIME_DIR, a user D-Bus session, and seat access through logind, elogind, or seatd. Run Tessera as your user. Keep another login terminal available while checking a new machine. Press Mod+Shift+x to leave; this ends the session and its applications.

Try it inside another desktop

tessera start

Inside an existing Wayland session, this opens a nested Tessera window with a private socket and the software renderer. Mod is Alt there, so Alt+Shift+Return opens a terminal and Alt+Shift+x exits. Nested startup omits login-session publication and stock login helpers, but still runs configured startup entries. Plain tessera inside a desktop prints help; tessera start starts explicitly.

Use a display manager

The repository supplies dist/tessera.desktop, a Wayland session entry. Its command starts Tessera with TESSERA_LOGIN_SESSION=1; that marker enables login behavior when standard input isn't a terminal. Install the executable somewhere the display manager can access, and use its absolute path in Exec and TryExec. A private home directory may be inaccessible to the display manager's user.

Common session directories are /usr/local/share/wayland-sessions and /usr/share/wayland-sessions. Guix and NixOS use system-profile packages instead. The supplied entry hasn't been qualified with every display manager; see greetd setup for Tessera's graphical login route and installation on Guix and NixOS for those systems.

Know what starts with you

Programs started by bindings, launcher, startup entries, or bar actions get your login environment plus Tessera's display/session variables. Tessera publishes them for D-Bus activation so portals use the current display. It restarts allowlisted portals left from an earlier session. If two compositors share your user bus, that can also restart portals serving the other compositor.

Stock startup uses built-in idle handling and removable-drive handling. Tessera locks after three minutes and powers displays off after four; input wakes them. Your lock-command: still selects the locker. To keep an explicit swayidle helper, install it and set idle: #f to avoid competing timers and resume actions. Tessera still supervises that helper. Built-in notifications skip mako in the startup list; set notifications to false to keep your external notification daemon.