CentOS 7 - SSH X11포워딩
페이지 정보
작성자
본문
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 프로그램 실행
댓글목록
등록된 댓글이 없습니다.