出错
[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://starpoint.blog.51cto.com/968349/1339960