RedHed安装VNC

1 server detail:

db2inst1@linux:/opt/normaltool> file /bin/ls
/bin/ls: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), for GNU/Linux 2.6.4, dynamically linked (uses shared libs), stripped
2 VNC download location

VNC-5.0.5-Linux-x64-RPM.tar.gz

https://www.realvnc.com/download/get/1263/eula/

3 uninstall old version

linux:/opt/normaltool # rpm -qa|grep vnc
xorg-x11-Xvnc-7.4-27.19.19
tightvnc-1.3.9-81.11.28
linux:/opt/normaltool # rpm -e xorg-x11-Xvnc-7.4-27.19.19
error: Failed dependencies:
        xorg-x11-Xvnc is needed by (installed) tightvnc-1.3.9-81.11.28.x86_64
linux:/opt/normaltool # rpm -e tightvnc-1.3.9-81.11.28
warning: /etc/xinetd.d/vnc saved as /etc/xinetd.d/vnc.rpmsave
linux:/opt/normaltool # rpm -e xorg-x11-Xvnc-7.4-27.19.19

4  VNC install command

delete all the files related to vnc service under folder /usr/local/bin

tar -xvf VNC-5.0.5-Linux-x64-RPM.tar.gz

db2inst1@linux:/opt/normaltool> ll
total 28120
-rw-r--r-- 1 root root 9596687 Sep 24 22:23 VNC-5.0.5-Linux-x64-ANY.tar.gz
-rw-r--r-- 1 root root 9544493 Sep 24 22:33 VNC-5.0.5-Linux-x64-RPM.tar.gz
-rw-r--r-- 1  500  500 7667502 Mar  4  2013 VNC-Server-5.0.5-Linux-x64.rpm
-rw-r--r-- 1  500  500 1930341 Mar  4  2013 VNC-Viewer-5.0.5-Linux-x64.rpm

rpm -ivh VNC-Server-5.0.5-Linux-x64.rpm

5

linux:/opt/normaltool # vnclicense -list
No license key found.
linux:/opt/normaltool # vnclicense -add D7BD2-2BD9M-MBWPB-DH24D-232YA
Enterprise (Trial) license key has been successfully applied.
linux:/opt/normaltool # vncserver
VNC(R) Server 5.0.5 (r106461)
Built on Mar  4 2013 12:57:38
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

Warning: 2 is taken because of /tmp/.X11-unix/X2
Remove this file if there is no X Server running as :2
Warning: 3 is taken because of /tmp/.X11-unix/X3
Remove this file if there is no X Server running as :3
Warning: 4 is taken because of /tmp/.X11-unix/X4
Remove this file if there is no X Server running as :4
Warning: 5 is taken because of /tmp/.X11-unix/X5
Remove this file if there is no X Server running as :5
Warning: 6 is taken because of /tmp/.X11-unix/X6
Remove this file if there is no X Server running as :6

Running applications in /root/.vnc/xstartup

VNC Server signature: 47-d5-a4-96-38-70-d6-16
Log file is /root/.vnc/linux:13.log
New desktop is linux:13 (9.110.183.212:13)

猜你喜欢

转载自cici-new-1987.iteye.com/blog/1947027
今日推荐