xauth

Manages X11 authentication keys and credentials

brewmacoslinux
Try with needOr install directly
Source

About

X.Org Applications: xauth

Commands

xauth

Examples

List all X authority entries for the current display$ xauth list
Extract X authority data to a file for remote access$ xauth extract - $DISPLAY | ssh user@remote xauth merge -
Add a new X authority entry$ xauth add hostname:0 . $(openssl rand -hex 16)