X-Windows
- Download Mocha X and start the Mocha X server
- In putty, enable X11 Forwarding and set X display location to localhost
- Log on to your linux box
- Run...
xauth list
..and copy output. For example...
appserver3/unix:10 MIT-MAGIC-COOKIE-1 06eccfef8f06993f48fb059adeda8376
- sudo to your desired user
- Run...
xauth add
..and paste contents of xauth list command. For example
xauth add appserver3/unix:10 MIT-MAGIC-COOKIE-1 06eccfef8f06993f48fb059adeda8376
- Run xclock to test