X-manger是一个非常实用的远程工具,可以图形化、web开发、linux-windows传输文件等,根据需要下载: https://pan.Baidu.com/s/1 akzazazu
在这里,X-manger组件提供了多种图形化方法。 本文重点介绍了需要图形操作的相对简单的图形方法,如oracle的图形安装和pythonidelinux版
首先,图形化所需的组件yum install-yxtermyuminstall-yxhostyuminstallxorg-X11 * yumgroupinstall ' xwindows ystem '-yyuminstallxauth-yyuminstalltigervnc-server如果不需要y # VNC,请不要安装yuminstall-ylibVNC 在未安装yuminstalllibxfont-yyuminstall-yx时钟#的情况下完成时钟测试安装后,打开x-manger文件夹。 这一系列组件接口如下。 首先打开xshell,然后远程连接到服务器
在第一个连接上输入xhost通常会显示unabletoopendisplay“”,然后显示export DISPLAY=主机名:1。 主机名可以是IP地址,也可以是主机名。 xhost再次显示如图所示的访问控制禁用、客户端启用和客户端启用
打开X-manger文件夹中的Xstart进行图形连接配置,然后输入相关配置。 单击左下角的按钮,根据需要选择linux或其他unix,选择正确的xterm位置,然后单击“开始运行”
在弹出的操作编辑框中输入xclock测试,图形时钟正常显示即可。 如果未显示,则可能是上述组件未全部安装,或者下图中的系统选择错误。 例如,linux有linux和Linux(old )两种
etc:linux系统已经过一次图形化连接。 在此期间,没有重新启动或关闭服务。 接下来直接连接到xshell、xstart就可以了。 不需要重复xhost的步骤
在oracle数据库的图形安装过程中可能会发生此错误
checkingtempspace : mustbegreaterthan 120 MB.actual 4216 MB passed
checking swap space 3360 mustbegreaterthan 150 MB.actual 4094 MB passed
checking monitor 3360 mustbeconfiguredtodisplayatleast 256 colors
couldnotexecuteautocheckfordisplaycolorsusingcommand/usr/sldsh/xdpyinfo.checkifthedisplayvariableissset.failed
somerequirementchecksfailed.youmustfulfilltheserequirementsbefore
continuing with the installation,at which time they will be rechecked。
Continue? (y/n ) [n]
这在xstart中以根用户登录,su - oracle进入oracle用户。 这样,在xstart中,环境变量仍然是根用户,因此登录xstart时必须指定oracle用户进行登录