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

webui: Dont run browser as root #5689

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

Commits on Aug 15, 2024

  1. webui: Handle XAUTHORITY and XDG_RUNTIME_DIR

    The titlebar with "Mozilla Firefox" has been fixed but there
    are some more bits that can be cleaned up.
    
    This commit achieves that by:
    
    1. Make sure more of the environment is bubbled through anaconda to
       the webui launcher. In particular, we need XDG_CURRENT_DESKTOP, but
       this commit brings it all through, so firefox runs in an environment
       as close to getting run directly by the live user as possible.
    2. Two exceptions are XAUTHORITY and XDG_RUNTIME_DIR which need to
       remain unset until we can run firefox as a normal user instead of root.
    halfline authored and KKoukiou committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    4cd7d0c View commit details
    Browse the repository at this point in the history