관리 메뉴
갈라파고스
[Linux] Warning: No xauth data; using fake authentication data for X11 forwarding. 본문
연구/Linux
[Linux] Warning: No xauth data; using fake authentication data for X11 forwarding.
9yelin9 2022. 8. 23. 11:48원인
연구실 컴퓨터를 맥으로 바꾼 이후로 이 에러가 자꾸 발생해서 오늘은 기어코 해결하겠다는 마음으로 찾아봤다.
맥이 디자인은 참 예쁘긴 한데 뭔가 짜잘한 이슈들이 좀 많음...
해결
sudo 권한이 있는 경우 sudo vi /etc/ssh/ssh_config
sudo 권한이 없는 경우 vi ~/.ssh/config
를 입력하여 파일을 연다.
다음 코드를 파일 맨 아래에 입력한다.
Host *
XAuthLocation /opt/X11/bin/xauth
:wq
로 파일을 저장하고 나온다.
sudo 권한이 있는 경우 source /etc/ssh/ssh_config
sudo 권한이 없는 경우 source ~/.ssh/config
를 입력하여 파일을 한 번 실행시켜준다.
참고
How can I prevent the warning No xauth data; using fake authentication data for X11 forwarding?
Every time I initiate an ssh connection from my Mac to a Linux (Debian) I do get this warning: No xauth data; using fake authentication data for X11 forwarding. This also happens for tools that are
serverfault.com
'연구 > Linux' 카테고리의 다른 글
[Linux] SGE(Son of Grid Engine) 설치 및 사용법 (0) | 2022.10.26 |
---|---|
[Linux] Valgrind 설치 및 사용법 (0) | 2022.09.26 |
[Linux] vi로 파일 비교하고 수정하기 (0) | 2022.06.28 |
[Linux] qsub 하면 ModuleNotFoundError: No module named 'numpy' (0) | 2022.06.23 |
[Linux] 이름 깨진 파일 삭제 (0) | 2022.06.21 |
Comments