Linux | Xstart下远程报错“已拒绝X11转移申请“的解决方法

解决方法:

X11 forwarding是依赖“xorg-x11-xauth”软件包,所以必须先安装“xorg-x11-xauth”软件包。

[root@rac1 opt]# yum install xorg-x11-xauth

Loaded plugins: product-id, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package xorg-x11-xauth.x86_64 1:1.0.2-7.1.el6 will be installed
--> Finished Dependency Resolution
 
Dependencies Resolved
 
================================================================================
 Package              Arch         Version                 Repository      Size
================================================================================
Installing:
 xorg-x11-xauth       x86_64       1:1.0.2-7.1.el6         rhel-iso        35 k
 
Transaction Summary
================================================================================
Install       1 Package(s)
 
Total download size: 35 k
Installed size: 62 k
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : 1:xorg-x11-xauth-1.0.2-7.1.el6.x86_64                        1/1
  Verifying  : 1:xorg-x11-xauth-1.0.2-7.1.el6.x86_64                        1/1
 
Installed:
  xorg-x11-xauth.x86_64 1:1.0.2-7.1.el6
 
Complete!

再用xstart就可以使用图形界面

Guess you like

Origin blog.csdn.net/qq_43271844/article/details/121224217