博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
xmanager连接RedHat出错:/usr/X11R6/bin/xterm: No such file or directory
阅读量:6946 次
发布时间:2019-06-27

本文共 1589 字,大约阅读时间需要 5 分钟。

出错

[16:21:58] Host authentication initiated…

[16:21:58]  Hostkey fingerprint:

[16:21:58]  ssh-dsa 1024 18:4c:c3:f8:71:0f:d2:b2:e1:4c:21:f8:33:49:9a:9a

[16:22:00]  Accepted. Verifying host key…

[16:22:00]  Verified.

[16:22:00] User authentication initiated…

[16:22:00]  Sent user name ‘oracle’.

[16:22:00]  Sent password.

[16:22:00]  Access granted.

[16:22:00] Sent X11 forwarding request…

[16:22:00]  Succeeded.

[16:22:00] Sent the command line.

[16:22:00]  /usr/X11R6/bin/xterm -ls -display $DISPLAY

[16:22:00] Start timer (TIMER_SHUTDOWN, 180).

/usr/X11R6/bin/xauth:  creating new authority file /home/oracle/.Xauthority

bash: /usr/X11R6/bin/xterm: No such file or directory

[16:22:01] Connection closed

解决思路:

[root@localhost ~]#  rpm -qf /usr/bin/xterm

xterm-215-4.el5

查询到缺少该rpm包,安装该包

挂载光驱

[root@localhost ~]# mount -t iso9660 /dev/cdrom /mnt/cdrom

[root@localhost ~]#cd /mnt/cdrom

[root@localhost cdrom]# cd Server

[root@localhost Server]# ls xterm*

xterm-215-5.el5.i386.rpm

[root@localhost Server]# rpm -ivh xterm-215-5.el5.i386.rpm

warning: xterm-215-5.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186

Preparing...                ########################################### [100%]

       file /usr/bin/resize from install of xterm-215-5.el5 conflicts with file from package xterm-215-4.el5

       file /usr/bin/xterm from install of xterm-215-5.el5 conflicts with file from package xterm-215-4.el5

安装 xterm-215-5.el5.i386.rpm包出错,意思是,已经在/usr/bin/xterm下安装xterm包,名称为xterm-215-4.el5

判断既然该包已经存在,那该如何处理呢...

修改Xstart的配置,在Execution Command:点击箭头添加,如下图:

点击箭头后,点击Add/Remove....添加执行命令行。如下图

添加完毕后,在xstart窗口,再重新指定,如下图

到此就ok了

转载地址:http://inhnl.baihongyu.com/

你可能感兴趣的文章
const使用摘要
查看>>
1.cocos2dx 3.2环境结构
查看>>
你知道什么是Grunt么?
查看>>
Java堆栈详解
查看>>
Hadoop入门进阶课程6--MapReduce应用案例
查看>>
SQL Server 2014里的IO资源调控器
查看>>
.NET足球赛事资料数据库平台SmartLottery开源发布——全球足球联赛应有尽有
查看>>
Eamcs ditaa基于字符图形产生的图像上
查看>>
Only the original thread that created a view hierarchy can touch its views.
查看>>
LeetCode手记-Add Binary
查看>>
对DNSPOD添加域名解析的一些见解
查看>>
vim添加删除多行注释
查看>>
在caffe中增加和convolution相同的层
查看>>
Java设计模式(四) 装饰 代理模式
查看>>
Filter过滤非法字符
查看>>
嵌入式系统烧写uboot/bootloader/kernel的一般方法
查看>>
PyCharm4注册码--软件安装
查看>>
【转】物业管理与移动互联网科技|微信公众平台,物业app,物业O2O
查看>>
patch与diff的恩怨
查看>>
蓝桥杯——先进的多说好树遍历
查看>>