Prev | Current Page 306 | Next

Chris Tyler

"X Power Tools"

The following
command suffices to add a new user on most Linux/Unix systems:
blue# useradd vnc
Once this has been done, corresponding service files can be added to /etc/xinetd/
xinetd.d. Here is the file for the 800 ?— 600 service, placed in /etc/xinetd/xinetd.d/vnc-
800x600:
# default: on
# description: Local Xvnc sessions @ 800x600 resolution via xinetd
service vnc-800x600
{
flags = REUSE
socket_type = stream
wait = no
user = vnc
server = /usr/bin/Xvnc
# The following two lines must be one line in the file.
server_args = -inetd -query localhost -once -terminate
-depth 24 -geometry 800x600 -securitytypes none
log_on_failure += USERID
disable = no
}
Note that the server_args line, which has been broken into two lines
here due to space constraints, must be a single line in the file.
The service files for the other resolutions are identical, except that the three occurrences
of 800x600 are replaced by 1024x768 or 1280x1024.
Notice that the -securitytypes argument is used to disable VNC passwords (since
the user must log in through the display manager??™s login dialog); to enable VNC
passwords, replace -securitytypes none with -rfbauth passwordfile.
Assuming that your display manager has xdmcp enabled, you can now enable the
servers by instructing xinetd to reload its configuration file.


Pages:
294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318
świadectwo energetyczne rzeszów meble kuchenne łódź Należności wózki widłowe Cesarskie cięcie