Linux/centos

mobaxterm - centos 에서 X11 포워딩 안되는 경우 해결책

구차니 2018. 9. 12. 12:53

mobaxterm으로 centos 새로 설치한거에  접속해서 gvim을 테스트 삼아 실행하는데 에러!

디스플레이가 없습니다 라고 배를 짼다.


yum install xorg-x11-xauth xorg-x11-fonts-* xorg-x11-font-utils xorg-x11-fonts-Type1 

[링크 : https://itekblog.com/ssh-x11-forwarding-display-using-mobaxterm/]

[링크 : https://stackoverflow.com/questions/40746146/how-does-mobaxterm-know-whether-x11-forwarding-is-working-on-remote-server]


그래서 찾아보니 /etc/ssh/sshd 설정도 문제가 아닌데 하고 갸우뚱 하면서 패키지 설치하고

mobaxterm 세션을 끊었다가 다시 시작하니 아래와 같이 나오면서 잘 된다!


     ┌────────────────────────────────────────────────────────────────────┐


     │                        • MobaXterm 10.9 •                          │


     │            (SSH client, X-server and networking tools)             │


     │                                                                    │


     │ ➤ SSH session to root@0.0.0.0                                      │


     │   • SSH compression : ✔                                            │


     │   • SSH-browser     : ✔                                            │


     │   • X11-forwarding  : ✔  (remote display is forwarded through SSH) │


     │   • DISPLAY         : ✔  (automatically set on remote server)      │


     │                                                                    │


     │ ➤ For more info, ctrl+click on help or visit our website           │


     └────────────────────────────────────────────────────────────────────┘




mobaxterm의 xorg-x11-xauth 특성 때문인가?