tailscale/tailcfg
Tom DNetto 24cd26534f hostinfo, tailcfg: add desktop detection on Linux to hostinfo
From the machines tab its hard to differenciate desktop Linux installs from
server Linux installs. Transmitting this information should make this
determination a lot easier.

Due to the reality that tailscaled is likely a system process, the standard
checks based on XDG_SESSION_TYPE or DISPLAY environment variables are not
possible (those variables won't be set). Instead, we look for listening
unix sockets that are typical of desktop installs.

Signed-off-by: Tom DNetto <tom@tailscale.com>
2022-04-18 14:22:15 -07:00
..
derpmap.go tailcfg: break DERPNode.DERPTestPort into DERPPort & InsecureForTests 2021-07-09 12:30:31 -07:00
tailcfg.go hostinfo, tailcfg: add desktop detection on Linux to hostinfo 2022-04-18 14:22:15 -07:00
tailcfg_clone.go hostinfo, tailcfg: add desktop detection on Linux to hostinfo 2022-04-18 14:22:15 -07:00
tailcfg_test.go hostinfo, tailcfg: add desktop detection on Linux to hostinfo 2022-04-18 14:22:15 -07:00