You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
3 years ago
..
hostinfo.go hostinfo, tailcfg: add desktop detection on Linux to hostinfo 3 years ago
hostinfo_darwin.go hostinfo: move packageType out to platform-specific files 3 years ago
hostinfo_freebsd.go hostinfo: add FreeBSD support. 3 years ago
hostinfo_linux.go version, hostinfo: recognize gokrazy as a distro 3 years ago
hostinfo_test.go hostinfo, control/controlclient: tell control when Ubuntu has disabled Tailscale's sources 3 years ago
hostinfo_windows.go hostinfo: use the sentinel value set by the MSI installer to detect MSI package type 3 years ago