Prev | Current Page 294 | Next

Chris Tyler

"X Power Tools"

If disconnection is specified along with
-nevershared, then new connections will close
old ones (sometimes handy if you connect from
one computer, then go to another and connect
from there). If disconnection is not permitted and
-nevershared is specified, then one connection
is permitted only and other connections will be
rejected.
-inetd -inetd Required when Xvnc is launched from inetd/
xinetd.
-desktop name -desktopname name Name of the desktop as reported to clients.
-passwdfile file
-rfbauth file
-rfbauth file Name of the password file for incoming connections
(passwords are managed with vncpasswd).
14.4
196 Chapter 14: Using VNC
For example, to start up a VNC server with an 800 ?— 600 display and 24-bit color
depth on display :5, while protecting the connection with a password and displaying
a session prompt from the host red:
blue$ Xvnc -query red -once -rfbauth ~/myvncpasswd -geometry 800x600 -depth 24 :5
This server will send the XDMCP query immediately and will listen on port 5905 for
incoming RFB connections. Before this command is run, the password file must be
created with vncpasswd:
blue$ vncpasswd ~/myvncpasswd
Password: secret
Verify: secret
The password file is read at authentication time, not when the server is started, so it
can be changed on-the-fly while the server is running and the change will take effect
immediately.


Pages:
282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306