You can also do this, to grab stuff from gdm xauth and put it into the xauth file used by ssh. This way e.g. x2x can access both screens.
cat /var/run/gdm/auth-for-"$USER"-*/database | xauth merge -
You can also do this, to grab stuff from gdm xauth and put it into the xauth file used by ssh. This way e.g. x2x can access both screens.
cat /var/run/ gdm/auth- for-"$USER" -*/database | xauth merge -