??? Servers are started only when needed, and terminated when not in use, so no
system resources are used unnecessarily.
??? All of the servers use the same port number, so all the users have the same connection
details (simplifying support).
??? Since it??™s not possible to connect to a logged-in session, no VNC passwords are
required??”you can use display manager authentication alone.
??? X display numbers are automatically assigned.
The downside to this approach is that it is not possible to disconnect from the server
and reconnect at a later time or from another location and pick up where you left off.
To configure xinetd and Xvnc to work together, you must first select at least one port
number. It??™s often useful to define a few port numbers for different VNC server resolutions.
These numbers should be appended to the end of the /etc/services file along
with service names of your choice; in this example, I??™m using port 5940 (VNC display
number 40) for 800 ?— 600 resolution, 5941 for 1024 ?— 768, and 5942 for 1280 ?—
1024:
# VNC servers started by xinetd
vnc-800x600 5940/tcp
vnc-1024x768 5941/tcp
vnc-1280x1024 5942/tcp
14.9
14.9 Starting VNC On Demand Using xinetd 203
It??™s also a good idea to create a unique user for these services, so that damage to the
system is limited if a vulnerability in Xvnc is found and exploited.
Pages:
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317