![]() If $XAUTHORITY is not set, programs use ~/.Xauthority. The X authority file is normally indicated in the XAUTHORITY environment variable. ![]() ![]() Magic cookies are not specified directly: they are always stored in X authority files, which are a collection of records of the form “display :42 has cookie 123456”. X display passwords are called magic cookies. The address of the display is normally indicated in the DISPLAY environment variable. when you're logged in remotely (but the number can change depending on how many X connections are active). It needs the address of the display, which is typically :0 when you're logged in locally or :10, :11, etc. (Adapted from Linux: wmctrl cannot open display when session initiated via ssh+screen) DISPLAY and AUTHORITYĪn X program needs two pieces of information in order to connect to an X display.
0 Comments
Leave a Reply. |