Vino-Server holds dead connections
Hi,
i am writing a script which suspends a Ubuntu Server if no connections to VNC are established. So i wrote a script which tests something like that:
- lsof -ai tcp -c vino-server
Unfortunately sometimes the command shows two ESTABLISHED connections, but i just connected once:
....
vino-serv 1913 user 16u IPv4 24860 0t0 TCP SERVER.
vino-serv 1913 user 18u IPv4 21570 0t0 TCP SERVER.
I guess that dead connection was a broken connection from some hours before.
That syndrome i have observed multiple.
Interestingly the indicator Button shows "One Person is connected"
Question:
- Are there any comannds etc. which shows me really!!! if a uer is connected to Vino?
- If not! Is that a Bug and does some have a workarround?
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu vino Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
This question was reopened
- by Joe6832
Can you help with this problem?
Provide an answer of your own, or ask Joe6832 for more information if necessary.