User Tools

Site Tools


unix

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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://www.stearns.org/doc/ssh-techniques-two.current.html http://www.stearns.org/doc/ssh-techniques-two.current.html
  
 +===== X11: "Client is not authorized to connect to Server" =====
 +
 +From: https://wiki.tcl-lang.org/page/Client+is+not+authorized+to+connect+to+Server
 +
 +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 <<<'BASE64_GOES_HERE' xauth merge -
unix.1563310451.txt.gz · Last modified: 2019/07/16 20:54 by robm