Commit cb422f0
authored
Strip screen number from DISPLAY when locating X11 socket (#364)
* Strip screen number from DISPLAY when locating X11 socket
DISPLAY values like :0.0 produced socket path X0.0, but the socket is
named X0. Window manager detection failed with 'Can't run Zwift without
window manager'. Strip the screen-number suffix before the check.
Fixes #363
* Strip screen number from DISPLAY in build-image.sh X11 check1 parent 15929bb commit cb422f0
2 files changed
Lines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | | - | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
131 | 135 | | |
132 | 136 | | |
133 | 137 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
591 | 591 | | |
592 | 592 | | |
593 | 593 | | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
594 | 598 | | |
595 | 599 | | |
596 | | - | |
| 600 | + | |
597 | 601 | | |
598 | 602 | | |
599 | 603 | | |
| |||
0 commit comments