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

'IT > linux' 카테고리의 다른 글

nfs server with selinux  (0) 2023.06.22
Ansible Controller 설치 (bundle) - Trial License  (0) 2023.06.20
openviswitch port mirror  (0) 2022.06.15
tip : disk full  (0) 2022.06.10
extending xfs filesystem (xfs 확장)  (0) 2022.06.10