vncserver: couldn't find "xauth" on your PATH

本文涉及的产品
运维安全中心(堡垒机),企业双擎版 50资产 7天
运维安全中心(堡垒机),免费版 6个月
简介:

要安装 EBS R12.2.4 ,  发现Linux服务器上没有vnc服务,准备安装一个,发现报错 : 

#  yum install vnc  vnc-server  
安装完毕后执行: 
# vncserver

vncserver: couldn't find "xauth" on your PATH.

可能是xauth 没有安装 。
使用locate , whereis 命令查找xauth

#locate  xauth

/lib64/security/pam_xauth.so

/usr/share/man/man8/pam_xauth.8.gz

/usr/share/doc/pam-0.77/txts/README.pam_xauth

/usr/share/zsh/4.2.0/functions/_xauth

 #whereis  xauth

xauth:
发现没有安装后, 还是使用 yum install  axuth 来安装 ,之后再执行 # vncserver 正常。

本文转自ITPUB博客tolywang的博客,原文链接:vncserver: couldn't find "xauth" on your PATH,如需转载请自行联系原博主。

相关文章
couldn't find "libxxxx.so"的解决办法
couldn't find "libxxxx.so"的解决办法
1736 0
|
网络安全
无法启动ssh:/run/sshd must be owned by root and not group or world-writable.
无法启动ssh:/run/sshd must be owned by root and not group or world-writable.
401 0
无法启动ssh:/run/sshd must be owned by root and not group or world-writable.
|
Oracle Unix 关系型数据库
[INS-06006] Passwordless SSH connectivity not set up between the following node(s)
[INS-06006] Passwordless SSH connectivity not set up between the following node(s)
1492 0
|
开发工具 容器
解决报错:Couldn't create temporary file /tmp/apt.conf.IRqbCz
问题 操作容器应该是属于服务器开发同学的常规操作,经常我们会遇到系统缺少对应的工具的情况,比如我们进入容器后,想使用 vim 修改某个文件,但是发现该容器没有安装 vim 工具。这个时候,一般都需要自己手动安装,比如在 unbuntu 系统中,可以使用 apt-get 包管理命令。
786 0
解决报错:Couldn't create temporary file /tmp/apt.conf.IRqbCz
|
XML 分布式计算 Hadoop
hiveserver2连接报错: User: root is not allowed to impersonate anonymous (state=08S01,code=0)
hiveserver2连接报错: User: root is not allowed to impersonate anonymous (state=08S01,code=0)
808 0
|
Linux 网络架构
Root-NFS: Unable to get mountd port number from server, using default
问题描述:         以前下载到开发板linux内核启动好好地,今天突然启动不了了,到达Root-NFS: Unable to get mountd port number from server, using default这个位置就停住了,过了一段时间就显示,如图:       很明显,我的nfs有问题。
1476 0