Minimal로 설치된 서버에서 Xwindow 프로그램 원격 실행을 위해서다.
-. CentOS
yum install -y xorg-x11-apps.x86_64 xorg-x11-xauth.x86_64 xorg-x11-server-Xorg.x86_64
vi /etc/ssh/sshd_config
AddressFamily inet
X11Forwarding yes
X11DisplayOffset 10
X11UseLocalhost no
UseLogin no
touch /root/.Xauthority;chmod 600 /root/.Xauthority
reboot
echo $DISPLAY
-. Windows
Xming 설치
https://sourceforge.net/projects/xming
:0.0부터 실행됨
PuTTY 다운로드
https://the.earth.li/~sgtatham/putty/latest/w64/putty.exe
PuTTy 설정
-. 사용
PuTTy로 SSH에 접속한 후 Xwindows 프로그램 실행
'응용' 카테고리의 다른 글
| bitsadmin - Windows (0) | 2026.09.25 |
|---|---|
| 배치파일(.bat, .cmd)을 실행파일(exe)로 변환 (0) | 2026.09.24 |
| sftp 파일전송 스크립트, expect 사용 (0) | 2026.09.10 |
| scp 파일전송 스크립트 예시, expect 사용 (0) | 2026.09.10 |
| OpenWRT 가상화 이미지 만들기 (0) | 2026.08.25 |