netbirdio / netbird

Connect your devices into a secure WireGuard®-based overlay network with SSO, MFA and granular access controls.
https://netbird.io
BSD 3-Clause "New" or "Revised" License
10.04k stars 441 forks source link

Accept any XDG_ environment variable to determine desktop #2037

Closed mlsmaycon closed 2 months ago

mlsmaycon commented 2 months ago

Describe your changes

Issue ticket number and link

Checklist

CertainLach commented 2 months ago

XDG_ variables exist not only on desktop, default debian server installation also sets those variables using pam & systemd integration

mlsmaycon commented 2 months ago

@CertainLach thanks for pointing that up. The change will be reverted.