sudo apt install -y ssh xauth xorg
sudo vi /etc/ssh/ssh_config
Host *
ForwardAgent yes
ForwardX11 yes
ForwardX11Trusted yes
...
GSSAPIDelegateCredentials no
...
Port 22
Protocol 2
...
XauthLocaion /usr/bin/xauth
sudo systemctl restart ssh
echo $DISPLAY
localhost:10.0 *확인
*실행 예, xcalc, gedit, xeyes 등
ssh -X 계정@주소 xcalc
ssh -X 계정@주소 xclock
*Windows에서는...
- Xming 설치 후 실행
- puTTY > Connection > SSH > X11에서 Enable X11forwarding 체크
- 로그인 후 실행
'응용' 카테고리의 다른 글
| SSH 포워드 터널 (0) | 2026.10.01 |
|---|---|
| SSH 계정으로 Proxy 이용하기 - Windows (0) | 2026.10.01 |
| 특정 포트 오픈 확인 명령어 - PowerShell (0) | 2026.09.26 |
| strongswan-full 패키지 리빌드 - OpenWRT (0) | 2026.09.25 |
| Windows 10, 2016 이상 - scp 파일전송 (0) | 2026.09.25 |