Prev | Current Page 308 | Next

Chris Tyler

"X Power Tools"


14.10 Starting VNC On Demand Using inetd
If you are using a system that has a traditional inetd server instead of xinetd, the configuration
for the on-demand VNC servers is slightly different. After setting up the
vnc user and the /etc/services entries as you would for xinetd, append these entries to
the /etc/inetd.conf file (each of these three entries must be contained on a single line):
vnc-800x600 stream tcp nowait vnc /usr/bin/Xvnc -inetd -query localhost -once -
terminate -depth 24 -geometry 800x600 -securitytypes none
vnc-1024x768 stream tcp nowait vnc /usr/bin/Xvnc -inetd -query localhost -once -
terminate -depth 24 -geometry 1024x768 -securitytypes none
vnc-1280x1024 stream tcp nowait vnc /usr/bin/Xvnc -inetd -query localhost -once -
terminate -depth 24 -geometry 1280x1024 -securitytypes none
To activate the new services, signal inetd to reload its configuration:
blue# killall -HUP inetd
14.11 Using the Java Applet with On-Demand
VNC Servers
When Xvnc is configured to work with xinetd or inetd, the server is started when an
incoming RFB connection is detected. This connection is initiated by the viewer program.
But if you??™re using the Java viewer applet along with the Xvnc web server, then
the applet is served by Xvnc.


Pages:
296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320
doktorat lampy ogrodowe określić zakłady bukmacherskie Wczasy nad morzem