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

Specify the environment variables named DISPLAY and XAUTHORITY #384

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Shyliuli
Copy link

@Shyliuli Shyliuli commented Jan 7, 2025

This PR introduces updates to ensure proper handling of the DISPLAY and XAUTHORITY environment variables when executing commands with pkexec.

@Shyliuli
Copy link
Author

Shyliuli commented Jan 7, 2025

pkexec removes most environment variables, which can prevent Timeshift from starting on some distributions. For example: https://www.reddit.com/r/voidlinux/comments/t1f2it/timeshift_gui_error_gtkwarning_cannot_open_display/?rdt=35784

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant