Running VNC with additional logging
How to enable debug logging.Both VNC Server and VNC Viewer have a built in log function, which by default logs basic auditing information. For support (and potentially other) purposes, you may want to enable debug logging, which will log every aspect of the VNC connection.
Please note that these logs are only useful for debug purposes, as they contain too much information for every-day auditing purposes.
Windows:
For both VNC Server and VNC Viewer, access the configuration, and navigate to the Expert tab. Under the Expert options, find the Log parameter and enter the following data:
*:file:100
Now, please ensure that the C:\temp directory exists and is writeable on both the VNC Viewer and VNC Server computer. Logs will now be created in:
Server: C:\temp\winvnc4.log
Viewer: C:\temp\vncviewer.log
Mac:
For both VNC Server and VNC Viewer, access the configuration, and navigate to the Expert tab. Under the Expert options, find the Log parameter and enter the following data:
*:file:100
Logs will now be created in:
Server: /Library/Logs/VNCServer.log
Viewer: ~/Library/Logs/VNCViewer.log
Unix:
For both VNC Server and VNC Viewer, run the application with the -Log flag:
vncserver -Log=*:stdout:100
vncviewer -Log=*:stdout:100
Logs will now be created in:
Server: ~/.vnc/<host:desktop>.log
e.g. mypc.realvnc.com:6.log)
Related Articles
No related articles were found.Attachments
No attachments were found.Visitor Comments
Article Details
Last Updated
22nd of January, 2009
