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就可以使用图形界面



