• Hunter Hansen's avatar
    Adds X11 setup checks (#516) · 0f52eaa7
    Hunter Hansen authored
    # Description
    Added a check that the tmp.xauth file exists on the host when setting
    up, or else replace it. This makes the x11 procedure robust to
    accidental shutdowns/unintentional modifications to .container.yaml.
    Shoutout @jtigue-bdai for uncovering this flaw!
    
    ## Type of change
    
    <!-- As you go through the list, delete the ones that are not
    applicable. -->
    
    - Bug fix (non-breaking change which fixes an issue)
    
    ## Checklist
    
    - [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with
    `./orbit.sh --format`
    - [ ] I have made corresponding changes to the documentation
    - [x] My changes generate no new warnings
    - [ ] I have added tests that prove my fix is effective or that my
    feature works
    - [ ] I have run all the tests with `./orbit.sh --test` and they pass
    - [ ] I have updated the changelog and the corresponding version in the
    extension's `config/extension.toml` file
    - [x] I have added my name to the `CONTRIBUTORS.md` or my name already
    exists there
    0f52eaa7
container.sh 15.6 KB