The X11 forwarding request was rejected!

问题描述:
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中 设置 X11Forwarding yes
# vi /etc/ssh/sshd_config
#X11Forwarding no 改成 X11Forwarding 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.

你可能感兴趣的:(linux,system)