The X11 forwarding request was rejected!

1197 단어 linuxsystem
문제 설명:
The X11 forwarding request was rejected!
to solve this problem,please turn on the X11 forwarding feather of the remote SSH server
해결 방법:
1、sshdconfig에서 X11Forwarding yes 설정
# vi/etc/ssh/sshd_config
#X11 Forwarding no에서 X11 Forwarding yes로 저장 종료
sshd 서비스를 다시 시작합니다.
service sshd restart
2、문제가 해결되지 않으면 gdm 패키지가 설치되었는지 확인
#rpm -qa gdm
#yum install -y gdm
#rpm -qa gdm
gdm-2.16.0-56.el5
#yum info gdm
Loaded plugins: katello, product-id, security, subscription-manager
Updating certificate-based repositories.
Unable to read consumer identity
Installed Packages
Name       : gdm
Arch       : x86_64
Epoch      : 1
Version    : 2.16.0
Release    : 56.el5
Size       : 11 M
Repo       : installed
Summary    : The GNOME Display Manager.
URL        : ftp://ftp.gnome.org/pub/GNOME/sources/gdm
License    : LGPL/GPL
Description: Gdm (the GNOME Display Manager) is a highly configurable
           : reimplementation of xdm, the X Display Manager. Gdm allows you to log
           : into your system with the X Window System running and supports running
           : several different X sessions on your local machine at the same time.

좋은 웹페이지 즐겨찾기