Users can connect to those servers remotely and then later disconnect, reconnecting
at will from any location. For example, users can start a task from work, disconnect,
reconnect from an Internet cafe to check on the progress of the task,
disconnect, and then finally connect from home to finish the operation. However,
since they remain logged in while disconnected, it??™s imperative that password protection
be used on the VNC server.
Although standing servers can be started with any clients, it is easiest and most common
to start them with a connection to a display manager, which will then start a
normal session. This requires that XDMCP be enabled (Section 13.3).
Before enabling standing servers, create password files using vncpasswd. I recommend
placing these in the directory /etc/vncpasswd.d:
14.8
14.8 Configuring the Xvnc Web Server 199
blue# mkdir /etc/vncpasswd.d
blue# vncpasswd /etc/vncpasswd.d/p0
Password: secret0
Verify: secret0
blue# vncpasswd /etc/vncpasswd.d/p1
Password: secret1
Verify: secret1
blue# vncpasswd /etc/vncpasswd.d/p2
Password: secret2
Verify: secret2
Entries to start standing VNC servers can then be added to /etc/inittab:
v0:5:respawn:/usr/bin/Xvnc -rfbauth /etc/vncpasswd.
Pages:
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311