This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
|
unix [2019/07/16 20:54] robm [Unixy Stuff] |
unix [2021/12/13 13:55] (current) robm [X11: Client is not authorized to connect to Server] |
||
|---|---|---|---|
| Line 276: | Line 276: | ||
| http:// | http:// | ||
| + | ===== X11: " | ||
| + | |||
| + | From: https:// | ||
| + | |||
| + | Copy xauth token from somewhere with access: | ||
| + | |||
| + | xauth extract - $DISPLAY | ||
| + | |||
| + | and import it to the place that's having trouble: | ||
| + | |||
| + | xauth merge - | ||
| + | |||
| + | For example, to allow a Docker container access to the X11 display: | ||
| + | |||
| + | xauth extract - $DISPLAY | base64 | ||
| + | |||
| + | and copy the result to the clipboard, and then in the container shell: | ||
| + | |||
| + | base64 -d <<<' | ||