When connecting over ssh to a server with Putty, we can easily export the DISPLAY and run any X-Window application after enable the X11 in the PuTTY configuration. However, if you change to another account any X-Window application will fail as we have to share the MIT-MAGIC Cookies from the first user connected, here is how we can do it.
user1@server3$ echo $DISPLAY
localhost:10.0
user1@server3$ xauth list
server3/unix:10 MIT-MAGIC-COOKIE-1 6586998224e70480f72d195f55191dc4
server3/unix:11 Read more...