Skip to content

Commit 16281f6

Browse files
committed
🐛 Fixed DisplayConnectionError: Can't connect to display ':0.0'
1 parent 7f7525e commit 16281f6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/upload_python_package.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ jobs:
1818
uses: actions/setup-python@v2
1919
with:
2020
python-version: '3.x'
21+
- name: Setup Device Information.
22+
run: |
23+
pip install xkeysnail
24+
xhost +SI:localuser:root
25+
xkeysnail config.py
2126
- name: Install dependencies
2227
run: |
2328
python -m pip install --upgrade pip

0 commit comments

Comments
 (0)