Prev | Current Page 300 | Next

Chris Tyler

"X Power Tools"

d/p0 -query localhost :20
v1:5:respawn:/usr/bin/Xvnc -rfbauth /etc/vncpasswd.d/p1 -query localhost :21
v2:5:respawn:/usr/bin/Xvnc -rfbauth /etc/vncpasswd.d/p2 -query localhost :22
Note that these servers are started only in runlevel 5. I??™ve used display numbers :
20 through :22 here to avoid conflict with local displays and ssh port forwarding
(Section 14.12).
These servers will default to 1024 ?— 768 pixels in size, with 16-bit color depth. You
can override these defaults with the -geometry and -depth options (Section 14.3).
14.7 Configuring the Xvnc Web Server
To make remote sessions available to users through browsers, Xvnc reads a set of
HTML and Java files. When running Xvnc, add the -httpd argument to indicate
where the files are stored. Typically, this is /usr/share/vnc/classes, so you could
execute:
blue$ Xvnc -httpd /usr/share/vnc/classes -rfbauth pwfile -query localhost :8
The HTTP port defaults to 5800+display. This example uses display :8, so the Java
applet could be viewed at:
green$ firefox http://blue:5808/
The HTTP port can be overridden and set to any arbitrary value using the -httpport
option:
blue$ Xvnc -httpd /usr/share/vnc/classes -httpport 1900 \
-rfbauth pwfile -query localhost :8
In this case, the URI becomes http://blue:1900/.


Pages:
288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312
wyniki na żywo Modest Mouse Meat Loaf Melanie C Meck