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/.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
4th of February, 2011

Would you like to...

Print this page  Print this page

Email this page  Email this page

Post a comment  Post a comment

 Subscribe me

Subscribe me  Add to favorites

Remove Highlighting Remove Highlighting

Edit this Article

Quick Edit

Export to PDF


User Opinions



How would you rate this answer?




Thank you for rating this answer.

Continue

© RealVNC Limited