tailscale/hostinfo
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
..
hostinfo.go hostinfo, tailcfg: add desktop detection on Linux to hostinfo 2022-04-18 14:22:15 -07:00
hostinfo_darwin.go hostinfo: move packageType out to platform-specific files 2022-02-22 10:23:13 -08:00
hostinfo_freebsd.go hostinfo: add FreeBSD support. 2021-09-06 23:12:09 -07:00
hostinfo_linux.go version, hostinfo: recognize gokrazy as a distro 2022-03-01 19:37:20 -08:00
hostinfo_test.go hostinfo, control/controlclient: tell control when Ubuntu has disabled Tailscale's sources 2021-11-10 09:56:58 -08:00
hostinfo_windows.go hostinfo: use the sentinel value set by the MSI installer to detect MSI package type 2022-02-22 12:48:20 -07:00