It it possible to use XOpenDisplay with fd?
There is XOpenDisplay
function which uses xcb_connect
to connect X server and populate Display
. But there is no function which uses xcb_connect_to_fd
to do the same thing. Is there any workaround? In my case connecting sockets directly will not work because X server and my client programs must be present in different linux sandboxes but I can send/receive sockets using program outside sandbox.
Thank you.