Hi folks,
I want to know any mechanism to find out if any VNC client has connected to VNC server(Suse machine) in may case.I want to detect presence of any VNC session through code not by commands in runtime .
I tried a few things like getenv(DISPLAY) if this comes out to be other than :0.0 then i will declare it as VNC desktop but sadly i can’t rely on this .
I also tried few other environment variables but seems like that will not help the cause.
are there any other means please help me i am stuck
TIA
Sankalp