Logging and "-inetd"
Björn Persson
bjorn_persson@sverige.nu
Tue Apr 1 13:21:01 2003
When XVNC is started with the "-inetd" parameter it closes the standard error
stream and tries to write log messages to a file in /usr/adm. This is not so
good, because XVNC should preferably be run as an unprivileged user and
normally only Root can write in the /usr tree. Besides, my Redhat system
doesn't even have a /usr/adm directory.
I suppose there is a reason why the system logger isn't used, so I'd like to
suggest an option to provide the path to a log file on the command line.
Alternatively, if it's possible to compare file descriptors, XVNC could leave
standard error open if it's different from standard in and standard out, so
that it could be run from a wrapper that redirects standard error to a file.
Bjvrn Persson