Idea: making Xnamespace usable from window managers (per-app isolation) #471
probonopd
started this conversation in
1 New Ideas
Replies: 2 comments 1 reply
-
|
Yes, we definitively need an X11 extension for dynamically provisioning namespaces and moving clients between them. Feel free to make a draft :) |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Isn't isolation the main selling point of wayland over x11? This could really be huge. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the idea
Expose Xnamespace in a way that window managers and desktops can use it at runtime to isolate individual applications.
A concrete example: a window manager provides a “Security / Isolate” button on a window. When triggered, that application (e.g. a browser) is placed into its own Xnamespace so it cannot interact with or observe other X clients.
It should be done because
Right now Xnamespace seems difficult to use from real desktop workflows. Namespaces are configured statically at X server startup and clients are assigned based on auth tokens at connection time.
This makes it hard or impossible for a WM to:
Making Xnamespace accessible at runtime would allow desktop environments to actually take advantage of the isolation it provides.
What are the alternatives?
None of these integrate as cleanly with X11 window managers as Xnamespace potentially could.
Additional context
From reading the code and docs, it looks like:
Some open questions I’m hoping to get feedback on:
Happy to help think through API design or implementation details if this idea aligns with the project’s direction.
Would be interested to implement this in the Gershwin WindowManager, gershwin-desktop/gershwin-windowmanager#47
Extra fields
Beta Was this translation helpful? Give feedback.
All reactions