[Ubuntu] X11 forwarding시에 인증 에러 해결법 :: 2009/09/16 16:13
ssh -X user@domain
위와 같은 명령어로 X11 forwarding이 가능하다. 하지만 간혹 인증 에러가 발생하는 경우가 있는데 이때의 해결책은 다음과 같다.
1. Make sure you are not running out of disk space
Run df and make sure you have sufficient disk space:$ df -H
If you are low on disk space remove unnecessary files from your system.
2. Make sure ~/.Xauthority owned by you
Run following command to find ownweship:
$ ls -l ~/.Xauthority
Run chown and chmod to fix permission problems
$ chown user:group ~/.Xauthority
$ chmod 0600 ~/.Xauthority
Replace user:group with your actual username and groupname.
3. Make sure X11 SSHD Forwarding Enabled
Make sure following line exists in sshd_config file:
$ grep X11Forwarding /etc/ssh/sshd_config
Sample output:
X11Forwarding yes
If X11 disabled add following line to sshd_cofing and restart ssh server:
X11Forwarding yes
4. Make sure X11 client forwarding enabled
Make sure your local ssh_config has following lines:Host *
ForwardX11 yes출처 : http://www.cyberciti.biz/faq/x11-connection-rejected-because-of-wrong-authentication/
Trackback Address :: http://insidexino.net/trackback/2757325



