-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Local check] Detect if vnc and teamviewer process(es) have incoming connections #202
Comments
TeamViewer does not provide a way to check for active connections, except in the GUI which is obv not an option. So for TV we are left with either parsing logs, or checking for active connections to the process - both not reliable enough. |
For gnome-remote-desktop it seems there is also no way to check for incoming connection For VNC: to many different servers Maybe really the best to build a list of processnames, check if they run, and if they run: check them for incoming connection. Could lead some FPs though I guess. |
To check via proc: |
Active Teamviewer connection result in a process that does not exist without connection established
|
Hmpf I dont get x11vnc working to test it... |
As far as TeamViewer and VNC go, there doesn't seem to be any way to detect an active incoming TeamViewer or VNC connection short of checking active.
ss -tnp
for example will show a lineusers:(("TeamViewer_Desk",pid=406339,fd=14))
when there is an active incoming connection.Full output from Konsole via an established TeamViewer console (looks the same on xvnc):
...and output from w (also the same for Teamviewer and VNC):
Originally posted by @steelsnake in #124 (reply in thread)
The text was updated successfully, but these errors were encountered: