VNC的安裝配置使用-創(chuàng)新互聯(lián)

創(chuàng)新互聯(lián)主營(yíng)西崗網(wǎng)站建設(shè)的網(wǎng)絡(luò)公司,主營(yíng)網(wǎng)站建設(shè)方案,app開(kāi)發(fā)定制,西崗h5成都微信小程序搭建,西崗網(wǎng)站營(yíng)銷(xiāo)推廣歡迎西崗等地區(qū)企業(yè)咨詢(xún)ong>VNC的優(yōu)勢(shì)就是真實(shí)的操作界面是在服務(wù)端
Xmanager Enterprise 4的Xshell和Xstart雖然是客戶(hù)端連接服務(wù)端進(jìn)行操作,但是真實(shí)的操作界面是在客戶(hù)端,一旦網(wǎng)絡(luò)中斷或客戶(hù)端出現(xiàn)問(wèn)題,則操作中斷
VNC也是客戶(hù)端連接服務(wù)端進(jìn)行操作,但是真實(shí)的操作界面是在服務(wù)端,遇到網(wǎng)絡(luò)、客戶(hù)端等問(wèn)題導(dǎo)致連接中斷時(shí),在服務(wù)器端運(yùn)行的東西不會(huì)中斷
CentOS release 6.5 環(huán)境下的安裝配置
安裝
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服務(wù)
[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  ]
如下代表服務(wù)器端開(kāi)啟了4個(gè)VNC進(jìn)程,分別是IP:1\IP:2\IP:3\IP:4,其中IP:4是在root用戶(hù)下開(kāi)啟的,其他都是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) 正在運(yùn)行...
[root@SDBY ~]# kill -9 56897
[root@SDBY ~]# kill -9 56505
[root@SDBY ~]# kill -9 56068
[root@SDBY ~]# service vncserver status
Xvnc (pid 58770) 正在運(yùn)行...
[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
客戶(hù)端使用方法:
輸入如下
服務(wù)器IP:VNC用戶(hù)編號(hào)(192.168.30.138:2)
輸入密碼即可(非用戶(hù)本身的OS登錄密碼,而是vnc中配置的用戶(hù)密碼)
VNC的安裝配置使用

本文標(biāo)題:VNC的安裝配置使用-創(chuàng)新互聯(lián)
網(wǎng)頁(yè)URL:http://muchs.cn/article8/cdopop.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供網(wǎng)站設(shè)計(jì)公司、用戶(hù)體驗(yàn)、關(guān)鍵詞優(yōu)化、響應(yīng)式網(wǎng)站搜索引擎優(yōu)化、ChatGPT

廣告

聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶(hù)投稿、用戶(hù)轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請(qǐng)盡快告知,我們將會(huì)在第一時(shí)間刪除。文章觀(guān)點(diǎn)不代表本網(wǎng)站立場(chǎng),如需處理請(qǐng)聯(lián)系客服。電話(huà):028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明來(lái)源: 創(chuàng)新互聯(lián)

成都定制網(wǎng)站網(wǎng)頁(yè)設(shè)計(jì)