VNC client connection notification
I have a couple of boxes that are running a vnc service on the local display in an always shared state. I was wondering if there were any known programs or ways to have a notification displayed for the console user that someone has connected. Using the -accept option isn't really suitable because for the most part there may not be a person at the console. Looking for something that could possibly show the hostname or ip of the machine that someone connects from and a timestamp. If an applet isn't available for such a thing the ability to have the connection show up in xconsole might suffice as well but couldn't figure it out... Any information would be greatly appreciated!
|
Hi lolo2kx,
have you tried checking the .log file in the $HOME/.vnc/ directory? In there all activity is logged: Code:
[snip] You could set up a cronjob that greps the file for these entries. Or, alternatively, just keep a terminal open with tail -f ~/.vnc/mylogfile.log running. Hope that helps! f |
All times are GMT -5. The time now is 11:36 PM. |