Skip to content

Support Proper X Session Nesting #1316

@iacore

Description

@iacore

Describe the feature

It should be possible to run a xserver inside another xserver, securely separated by IPC.

The child session's mouse, keybord, other input device state inherit from its parent.

  • Forward X Windows graphics, input, whatever else that an application X11 need to work.
  • When any window of the guest session is not focused, they don't receive any input events.
  • Separate clipboard.
  • Other security domain separation.

It's kind of like having multiple workspaces overlaid on top of one another, where each workspace cannot see the other, but the computer display/screen/monitor shows them all.

It should be implemented because

I worked on X11 emulated device driver for QubesOS in the past.

The promise: Guest VMs within QubesOS/Xen should receive mouse/keyboard input when their windows are

Reality: The xinput/libinput event syncing is a joke. Key up / key down events desync. There is just no way that it could be done cleanly without help from the parent XServer.

What are the alternatives?

Not really.

Additional context

https://github.com/search?q=author%3Aiacore+org%3Aqubesos&type=pullrequests

Extra fields

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestneeds-triageThis needs to be reviewed and categorized.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions