vnc server client配置

[root@localhost ~]# yum -y install tigervnc-server

[root@localhost ~]# vncserver

You will require a password to access your desktops.

Password: 输入密码,要6位以上
Verify:

New ‘localhost.localdomain:1 (root)’ desktop is localhost.localdomain:1

Creating default startup script /root/.vnc/xstartup
Creating default config /root/.vnc/config
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/localhost.localdomain:1.log

[root@localhost ~]# iptables -I INPUT 1 -p tcp –dport 5901 -j ACCEPT

启动VNCVIEWER IP:5901即可连接

ps -ef | grep oracle

kill -9 xxx

全部杀掉之后,咨询了下蒙哥,蒙哥给我这样的命令

1、DISPLAY
首先在oracle用户下面执行
export DISPLAY=192.168.1.14:1.0 (192.168.1.14是你服务器的ip地址)
我们来查看下刚才的设置
env|grep DIS
这是我们要切换到root用户,来执行
xhost +
显示access control disabled, clients can connect from any host
再次切换到Oralce用户,执行runInstaller命令,错误消失

完美解决问题,这样执行过后,vnc正常显示图形化安装界面

在这里多谢蒙哥指点

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值