日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

vnc服务器和客户端怎么配置文件,VNC服务器端与客户端配置

發布時間:2024/10/8 编程问答 42 豆豆
生活随笔 收集整理的這篇文章主要介紹了 vnc服务器和客户端怎么配置文件,VNC服务器端与客户端配置 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

環境:

server:ubuntu

client:Win7或ubuntu

服務器端

ubuntu

1:在VNC官網下載安裝包

VNC for linux:VNC-5.0.5-Linux-x86-ANY.tar.gz

VNC for Windows:VNC-5.0.5-Windows.exe

2,安裝VNC server

在ubuntu環境下執行命令:

hadoop@master-server:~/VNC-5.0.5-Linux-x86$ sudo ./vncinstall

Copying vncviewer to /usr/bin

Copying vncviewer.man to /usr/share/man/man1/vncviewer.1

Copying vncaddrbook to /usr/bin

Copying vncaddrbook.man to /usr/share/man/man1/vncaddrbook.1

Copying vncserver-x11 to /usr/bin

Copying vncserver-x11.man to /usr/share/man/man1/vncserver-x11.1

Copying vncserver-x11-core to /usr/bin

Copying Xvnc to /usr/bin

Copying Xvnc.man to /usr/share/man/man1/Xvnc.1

Copying Xvnc-core to /usr/bin

Copying vncserverui to /usr/bin

Copying vncserver-virtual to /usr/bin

Copying vncserver-virtual.man to /usr/share/man/man1/vncserver-virtual.1

Copying vncserver-virtuald to /usr/bin

Copying vncserver-virtuald.man to /usr/share/man/man1/vncserver-virtuald.1

Copying vncserver-x11-serviced to /usr/bin

Copying vncserver-x11-serviced.man to /usr/share/man/man1/vncserver-x11-serviced.1

Copying vncpasswd to /usr/bin

Copying vncpasswd.man to /usr/share/man/man1/vncpasswd.1

Copying vnclicense to /usr/bin

Copying vnclicense.man to /usr/share/man/man1/vnclicense.1

Copying vnclicensewiz to /usr/bin

Copying vncpipehelper to /usr/bin

Copying vncchat to /usr/bin

Copying vncinitconfig to /usr/bin

Copying vncinitconfig.man to /usr/share/man/man1/vncinitconfig.1

Copying get_primary_ip4 to /usr/lib/vnc

Copying vncelevate to /usr/lib/vnc

Updating /etc/pam.d/vncserver

Updating /etc/pam.conf

Looking for font path... /usr/share/fonts/X11/misc,/usr/share/fonts/X11/Type1,built-ins (from xset).

Generating private key:

p: ................................................................................

q: ........................................................

Installed init script for VNC X11 Service-mode daemon

Start and stop the service with:

/etc/init.d/vncserver-x11-serviced (start|stop)

Installed init script for VNC Virtual-mode daemon

Start and stop the service with:

/etc/init.d/vncserver-virtuald (start|stop)2,注冊license

hadoop@master-server:~/VNC-5.0.5-Linux-x86$ sudo ./vnclicense

VNC(R) Licensing Utility 5.0.5 (r106461)

Built on Mar 4 2013 13:50:05

Copyright (C) 2002-2013 RealVNC Ltd.

VNC is a registered trademark of RealVNC Ltd. in the U.S. and in other

countries.

Protected by UK patent 2481870.

See http://www.realvnc.com for information on VNC.

For third party acknowledgements see:

http://www.realvnc.com/products/vnc/documentation/5.0/acknowledgements.txt

Usage: vnclicense COMMAND

Commands:

-add KEY Add KEY

-remove Remove the key if there is only one installed

-remove N Remove Nth key shown by "-list"

-remove KEY Remove KEY if it is installed

-list List installed keys

-check Print the number of desktops. Returns 0 if license

installed is valid

3,添加license key

hadoop@master-server:~/VNC-5.0.5-Linux-x86$ vnclicense -check

No licenses installed.

hadoop@master-server:~/VNC-5.0.5-Linux-x86$ sudo ./vnclicense -add WHJRK-UXY7V-Q34M9-CZU8L-8KGFA

Enterprise license key has been successfully applied.

4,啟動vncserver

hadoop@master-server:~$ vncserver-virtual

VNC(R) Server 5.0.5 (r106461)

Built on Mar 4 2013 13:46:20

Copyright (C) 2002-2013 RealVNC Ltd.

VNC is a registered trademark of RealVNC Ltd. in the U.S. and in other

countries.

Protected by UK patent 2481870.

See http://www.realvnc.com for information on VNC.

For third party acknowledgements see:

http://www.realvnc.com/products/vnc/documentation/5.0/acknowledgements.txt

Running applications in /etc/vnc/xstartup

VNC Server signature: 82-b1-2d-ab-55-28-ea-72

Log file is /home/hadoop/.vnc/master-server:1.log

New desktop is master-server:1 (地址:1)

客戶端

Win7

1,運行VNC-5.0.5-Windows.exe

2,輸入IP:會話號,如*.*.*.*:1

即可遠程

ubuntu

包:VNC-5.0.5-Linux-x86-ANY.tar.gz

hadoop@slave5:~/VNC-5.0.5-Linux-x86$ sudo ./vncviewer

[sudo] password for hadoop:

hadoop@slave5:~/VNC-5.0.5-Linux-x86$ ./vncviewer

hadoop@slave5:~/VNC-5.0.5-Linux-x86$ ./vncviewer 122.205.7.180:1

hadoop@slave5:~/VNC-5.0.5-Linux-x86$

總結

以上是生活随笔為你收集整理的vnc服务器和客户端怎么配置文件,VNC服务器端与客户端配置的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。