The X11 forwarding request was rejected!

1209 ワード

問題の説明:
The X11 forwarding request was rejected!
to solve this problem,please turn on the X11 forwarding feather of the remote SSH server
解決方法:
1、sshd_configでX 11 Forwarding yesを設定する
# vi/etc/ssh/sshd_config
#X 11 Forwarding noをX 11 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.