login as root
chmod 740 /etc/sudoers
sudo vim /etc/sudoers
Add at the last linei
xzl ALL=NOPASSWD:ALL
chmod 440 /etc/sdouers
0 Refrence http://www.cyberciti.biz/faq/x11-connection-rejected-because-of-wrong-authentication/ http://hi.baidu.com/pp