Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get DISPLAY from display server process's connection to display socket #1589

Merged
merged 3 commits into from
Feb 8, 2024

Conversation

RebeccaMahany
Copy link
Contributor

@RebeccaMahany RebeccaMahany commented Feb 8, 2024

Relates to #1537

Attempts to make how we set DISPLAY for the desktop process more reliable and less brittle.

We already look for the display server process -- per suggestion from @Micah-Kolide, check that process's connections to find the display socket, and parse the display number from there.

@RebeccaMahany RebeccaMahany marked this pull request as ready for review February 8, 2024 19:28
@RebeccaMahany RebeccaMahany added this pull request to the merge queue Feb 8, 2024
Merged via the queue into kolide:main with commit d647dfb Feb 8, 2024
26 checks passed
@RebeccaMahany RebeccaMahany deleted the becca/display-from-socket branch February 8, 2024 20:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants