LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-14-2007, 01:01 AM   #1
lolo2kx
LQ Newbie
 
Registered: Sep 2007
Posts: 2

Rep: Reputation: 0
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!
 
Old 09-14-2007, 09:47 PM   #2
FogSwimmer
Member
 
Registered: Sep 2003
Distribution: Kubuntu / debian / SuSE
Posts: 73

Rep: Reputation: 15
Hi lolo2kx,

have you tried checking the .log file in the $HOME/.vnc/ directory?
In there all activity is logged:
Code:
[snip]
14/09/07 19:42:23 Got connection from client 0.0.0.0
[snip]
Client 0.0.0.0 gone
etc.

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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
VNC connection to SUSE Linux 10 from a Windows XP VNC Viewer determin2excel Linux - Software 13 10-03-2007 09:38 AM
VNC notification gejr Linux - Software 1 08-24-2007 01:03 PM
trying to remote to vnc server through vnc client on XP. Kilahchris Linux - Newbie 3 11-22-2006 03:50 PM
windows vnc client and linux vnc server problem tungaw2001 Linux - Software 8 06-17-2006 12:06 AM
VNC client connection nostracosa Linux - Networking 1 08-17-2005 01:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration