over ssh -
$xclock
$sudo su -
#xclock
X11 connection rejected because of wrong authentication.
so I do -
$xauth list /*copy the lines*/
$sudo su -
#xauth add /*paste the lines*/
#xclock /* works */
I am fed up doing this on every login, how can I persist it?