IT/linux
X11 forwarding over SSH
울티마
2023. 6. 22. 14:24
1. ssh 서버 설정
- 관련 패키지 설치
# yum install -y xorg-x11-xauth xorg-x11-fonts-* xorg-x11-utils dbus-x11
또는
# dnf install -y xorg-x11-xauth xorg-x11-fonts-* xorg-x11-utils dbus-x11
- ssh X11Forwarding 설
# vi /etc/ssh/sshd_config
X11Forwarding yes
2. client에서 xterm 설치 후 GUI 실행 확인
# yum -y install xterm
Redhat8은 xterm "xorg-x11-apps"에 포함되어 있음
# dnf -y install xorg-x11-apps