..Other Modules...
EndSection
If you execute X -configure when the vnc.so module is present, an entry for it should
be created automatically. You can confirm that the VNC extension is loaded by
examining the output of xdpyinfo (Section 6.2).
You must add a SecurityTypes option entry to the Screen section to turn VNC passwords
on or off; without this option, all RFB connections will be rejected.
If you want passwords turned off??”which is unwise, unless you??™re on a very secure,
closed network??”set SecurityTypes to None:
Section "Screen"
Option "SecurityTypes" "None"
...Remainder of Screen section...
EndSection
Otherwise, to use passwords, create a VNC password file using vncpasswd:
blue# vncpasswd /etc/vncpasswd
Password: bigsecret
Verify: bigsecret
Then add these two entries to the Screen section:
Section "Screen"
Option "SecurityTypes" "VncAuth"
Option "PasswordFile" "/etc/vncpasswd"
...Remainder of Screen section...
EndSection
Almost any option accepted by the Xvnc server can be passed to the VNC extension by
adding Option entries in the Screen section. For example, to specify that the incoming
VNC connections should be accepted on port 5907 (VNC display number :7):
Section "Screen"
Option "SecurityTypes" "VncAuth"
Option "PasswordFile" "/etc/vncpasswd"
Option "RFBport" "5907"
.
Pages:
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332