首页
网站案例
服务项目
关于快上网
新闻动态
网站推广
联系
135-1821-9792
首页
网站案例
服务项目
关于快上网
新闻动态
网站推广
联系
VNC的安装配置使用-创新互联
创新互联主营西岗网站建设的网络公司,主营网站建设方案,
app开发定制
,西岗h5成都微信小程序搭建,西岗网站营销推广欢迎西岗等地区企业咨询ong>VNC的优势就是真实的操作界面是在服务端
Xmanager Enterprise 4的Xshell和Xstart虽然是客户端连接服务端进行操作,但是真实的操作界面是在客户端,一旦网络中断或客户端出现问题,则操作中断
VNC也是客户端连接服务端进行操作,但是真实的操作界面是在服务端,遇到网络、客户端等问题导致连接中断时,在服务器端运行的东西不会中断
CentOS release 6.5 环境下的安装配置
安装
yum -y install tigervnc-server
或
yum -y install vnc-server
包tigervnc-server-1.1.0-18.el6.x86_64安装好了即可
配置VNC中root密码
[root@fusndb db]# vncserver
You will require a password to access your desktops.
Password:
Verify:
xauth: creating new authority file /root/.Xauthority
New 'fusndb:1 (root)' desktop is fusndb:1
Creating default startup script /root/.vnc/xstartup
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/fusndb:1.log
配置VNC中oracle密码
[root@fusndb db]# su - oracle
[oracle@fusndb ~]$ vncserver
You will require a password to access your desktops.
Password:
Verify:
xauth: creating new authority file /home/oracle/.Xauthority
New 'fusndb:2 (oracle)' desktop is fusndb:2
Creating default startup script /home/oracle/.vnc/xstartup
Starting applications specified in /home/oracle/.vnc/xstartup
Log file is /home/oracle/.vnc/fusndb:2.log
保存配置信息
vi /etc/sysconfig/vncservers新增一行VNCSERVERS="1:root 2:oracle"
重启vncserver服务
[root@fusndb db]# service vncserver restart
Shutting down VNC server: 1:root 2:oracle [ OK ]
Starting VNC server: 1:root
New 'fusndb:1 (root)' desktop is fusndb:1
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/fusndb:1.log
2:oracle
New 'fusndb:2 (oracle)' desktop is fusndb:2
Starting applications specified in /home/oracle/.vnc/xstartup
Log file is /home/oracle/.vnc/fusndb:2.log
[ OK ]
如下代表服务器端开启了4个VNC进程,分别是IP:1\IP:2\IP:3\IP:4,其中IP:4是在root用户下开启的,其他都是stadium
[root@SDBY ~]# ps -ef|grep vnc
stadmin 56068 1 0 13:54 ? 00:00:00 /usr/bin/Xvnc :2 -desktop SDBY:2 (stadmin) -auth /home/stadmin/.Xauthority -geometry 1024x768 -rfbwait 30000 -rfbauth /home/stadmin/.vnc/passwd -rfbport 5902 -fp catalogue:/etc/X11/fontpath.d -pn
stadmin 56090 56089 0 13:54 ? 00:00:00 vncconfig -iconic
stadmin 56505 1 0 13:55 ? 00:00:00 /usr/bin/Xvnc :3 -desktop SDBY:3 (stadmin) -auth /home/stadmin/.Xauthority -geometry 1024x768 -rfbwait 30000 -rfbauth /home/stadmin/.vnc/passwd -rfbport 5903 -fp catalogue:/etc/X11/fontpath.d -pn
stadmin 56528 56527 0 13:55 ? 00:00:00 vncconfig -iconic
root 56897 1 0 13:55 ? 00:00:00 /usr/bin/Xvnc :4 -desktop SDBY:4 (root) -auth /root/.Xauthority -geometry 1024x768 -r fbwait 30000 -rfbauth /root/.vnc/passwd -rfbport 5904 -fp catalogue:/etc/X11/fontpath.d -pn
root 56924 56923 0 13:56 ? 00:00:00 vncconfig -iconic
stadmin 58770 1 0 Jan25 ? 00:01:00 /usr/bin/Xvnc :1 -desktop SDBY:1 (stadmin) -auth /home/stadmin/.Xauthority -geometry 1024x768 -rfbwait 30000 -rfbauth /home/stadmin/.vnc/passwd -rfbport 5901 -fp catalogue:/etc/X11/fontpath.d -pn
stadmin 58793 58792 0 Jan25 ? 00:00:00 [vncconfig]
root 58856 58308 0 14:31 pts/1 00:00:00 grep vnc
[root@SDBY ~]# service vncserver status
Xvnc (pid 58770 56897 56505 56068) 正在运行...
[root@SDBY ~]# kill -9 56897
[root@SDBY ~]# kill -9 56505
[root@SDBY ~]# kill -9 56068
[root@SDBY ~]# service vncserver status
Xvnc (pid 58770) 正在运行...
[root@SDBY ~]# ps -ef|grep vnc
stadmin 58770 1 0 Jan25 ? 00:01:00 /usr/bin/Xvnc :1 -desktop SDBY:1 (stadmin) -auth /home/stadmin/.Xauthority -geometry 1024x768 -rfbwait 30000 -rfbauth /home/stadmin/.vnc/passwd -rfbport 5901 -fp catalogue:/etc/X11/fontpath.d -pn
stadmin 58793 58792 0 Jan25 ? 00:00:00 [vncconfig]
root 58969 58308 0 14:32 pts/1 00:00:00 grep vnc
客户端使用方法:
输入如下
服务器IP:VNC用户编号(192.168.30.138:2)
输入密码即可(非用户本身的OS登录密码,而是vnc中配置的用户密码)
当前标题:VNC的安装配置使用-创新互联
分享链接:
http://www.wenjiangwz.cn/article/cdopop.html
其他资讯
Git中Commit错了的解决方法-创新互联
如何推广一款新短视频app,短视频推广策略
帝国cms漫画免费模板 帝国cms漫画免费模板网站
php数据添加 php数据库添加失败的原因
萤石路由器设置 萤石无线路由器设置方法
iOS开发之区块链 ios开发区块链经验是什么意思?
电脑上有html5 电脑上有ps但是找不到在哪
网络丢包的四大原因和修复方法?(视频服务器偶尔丢包怎么解决呢)
WindowXP怎么删除自己的用户账户?windowsxp如何删除账户
怎么配置dns服务器正向查找区域
关于我们
我们是谁
我们服务的客户
我们的团队
我们的服务
网站建设
H5响应式 交互网站
移动端 & 微网站定制
服务流程
行业解决方案
网站建设案例
公司集团
数码电子科技
建筑与设计
安防门禁
管理咨询美容
外贸行业
新闻动态
温江网站建设
温江网站制作
温江网站设计
联系我们
135-1821-9792
公司服务热线
友情链接:
湖北顶棚批发
合江网站建设
眉山维修发电机
成都kt广告板制作
昆明尺子销售
内江托管服务器
成都logo设计公司
昆明退诹棺商贸有限公司
成都青羊区公司注册
tepqt.com
Copyright © 2009-2022 www.wenjiangwz.cn 成都网站建设公司 版权所有
蜀ICP备19037934号
在线咨询
在线咨询
135-1821-9792
在线咨询
拨打电话