This document contains a list of files created by VNC server. It says the following:
$HOME/.vnc/host:display#.log
The log file for Xvnc and applications started in xstartup.
Your command line history file may also have some information (e.g. $HOME/.bash_history
).