08 April 2012

sudo with Xming and Putty


1sudo su
2su - your_username -c "xauth list" > X11auth
3xauth add $(<X11auth)


http://www.lalitkapoor.com/blog/2010/01/08/x11-forwarding-when-issuing-sudo-su/

No comments:

Post a Comment