mirror of
https://github.com/tailscale/tailscale.git
synced 2026-10-09 11:52:00 -04:00
Registering the session state callback enumerates the existing desktop sessions, which fails for a tailscaled run by an unprivileged user (WTSEnumerateSessions returns "No more data is available"). That was reported as "init failed", which reads like a bug. Such a tailscaled has no other users' sessions to track, so report it as skipping the extension, the same way an unavailable session manager already is. Updates #2791 Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com> Change-Id: I7f9b1d3e5a7c9e1b3d5f7a9c1e3b5d7f9a1c3e5b