Skip to content

Identify which user caused an event in -shared environment  #122

Open
@canadaduane

Description

@canadaduane

In a -shared setup, a click event or keyboard event might be caused by any of a number of clients (users) who are concurrently sharing the desktop. We would like to be able to identify which client caused the event to occur.

Describe the solution you'd like
I'm open to ideas, but one solution that comes to mind is to create a query method that can ask "which client is the most recently active?" This doesn't directly solve the problem, but indirectly, it would allow us to query x11vnc after an event to discover the most likely actor/client.

Describe alternatives you've considered
Adding metadata to a click or keyboard event such that the X11 app can identify the user is another possibility, but this would require custom X11 app compilations which we are hesitant to do.

Additional context
The use case for this is a novnc client front-end with x11vnc running a Chrome browser. We would like to be able to forward back to the original novnc front-end which user clicked on an item in the vnc Chrome browser.

Any references to other research or related material would be appreciated!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions