In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
0, download tightvnc-server
Wget http://www.tightvnc.com/download/1.3.10/tightvnc-1.3.10_unixsrc.tar.gz
1. Modify the configuration file to support libwrap library
Cd / root/vnc_unixsrc/Xvnc/programs/Xserver
Vim Imakefile
158 LIBWRAP=-lwrap
159 # if SystemV4 | | defined (SGIArchitecture) | | UseRgbTxt
160 SYSLIBS = ${LIBWRAP} $(ZLIB) MathLibrary Krb5Libraries $(EXTRASYSLIBS)
161 # else
162 SYSLIBS = ${LIBWRAP} $(ZLIB) MathLibrary Krb5Libraries DBMLibrary $(EXTRASYSLIBS)
163 # endif
164CBRT = mi/LibraryTargetName (cbrt)
STDDIRS = include dix os mi $(XPDDXDIR) $(EXTDIRS)
2, cd / / root/vnc_unixsrc/Xvnc/programs/Xserver/hw/vnc/
Vim Imakefile
17 DEFINES = ServerOSDefines-DUSE_LIBWRAP=1
2, compile and install:
1, xmkmf
2, make World
3, cd Xvnc
4,. / configure
5, make
6, make install
7, cd.. /
8,. / vncinstall / usr/local/bin / usr/local/man
9, mkdir-p / usr/local/vnc/classes
10, cp classes/* / usr/local/vnc/classes
11, cd / usr/X11R6/lib/
12, ln-s / usr/share/X11/. /
3, basic configuration
VNCSERVERS= "1:root"
VNCSERVERARGS [1] = "- geometry 1024x768"
4, set the password
Vncpasswd
# enter password
5, start the program
Xvnc: 1-desktop X-httpd / usr/local/vnc/classes-auth / root/.Xauthority-geometry 1024x768-depth 24-rfbwait 120000-rfbauth / root/.vnc/passw
6. Verify configuration and testing
Vim / etc/hosts.deny
Xvnc:ALL:deny
Vim / etc/hosts.allow
Xvnc:192.168.22.*:allow
7, logging
1. Successfully refused to log in to IP
22-07-14 02:10:17 Rejected connection from client 192.168.222.1
2. Successfully connect to IP
22-07-14 02:10:50 Got connection from client 192.168.222.1
22-07-14 02:10:50 Using protocol version 3.8
22-07-14 02:10:50 Enabling TightVNC protocol extensions
8, Error processing
09/07/09 11:09:24 Protocol versions supported: 3.3, 3.7, 3.8, 3.7t, 3.8t
09/07/09 11:09:24 Listening for VNC connections on TCP port 5901
09/07/09 11:09:24 Listening for HTTP connections on TCP port 5801
09Accord07Compact 09 11:09:24 URL http://localhost:5801
Font directory'/ usr/X11R6/lib/X11/fonts/misc/' not found-ignoring
Font directory'/ usr/X11R6/lib/X11/fonts/Speedo/' not found-ignoring
Font directory'/ usr/X11R6/lib/X11/fonts/Type1/' not found-ignoring
Font directory'/ usr/X11R6/lib/X11/fonts/75dpi/' not found-ignoring
Font directory'/ usr/X11R6/lib/X11/fonts/100dpi/' not found-ignoring
Fatal server error:
Could not open default font 'fixed'
Solution:
11, cd / usr/X11R6/lib/
12, ln-s / usr/share/X11/. /
9, reference documentation
Http://www.realvnc.com/pipermail/vnc-list/1998-September/002635.html
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.