Prev | Current Page 315 | Next

Chris Tyler

"X Power Tools"

The port number is manipulated to get the display number,
and then the client is started, instructed to connect to that display.
This code is needed because when inetd is used to start Xvnc, it automatically picks
the X display number but does not communicate that number to X client programs
??”because it??™s intended to be used with an XDMCP query or broadcast.
The .Xauthority file has entries for all displays from :0 to :99 because we don??™t know
what the final display number will be. The file is shared among all of the Xvnc servers
for this service. The client and server both pick up the .Xauthority filename from
the XAUTHORITY environment variable.
Finally, you can access the web page with the embedded application using a Javaenabled
browser??”in this example, the URI is:
http://blue/chess/
14.14
210 Chapter 14: Using VNC
Be very careful about providing remote access to local applications! In
the example given here, xboard offers load and save options on its File
menu. If the vnc-gnuchess user is inadvertently given write access to an
important file, it could be obliterated by an accidental or malicious
save performed by a remote user. If you are using a client that provides
any file operations, you should run it in a chroot jail.


Pages:
303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327
pierwszy taniec warszawa Herbert Zbigniew wiersze hosting blachy darmowe programy