Communicating with the x-server
Thomas Sondergaard
ts at medical-insight.com
Tue Mar 4 03:45:40 PST 2014
Hi,
I need to implement an "Open URI" feature for a VNC x-server. The idea
is that a Qt application running under the VNC x-server can communicate
to the X-server the URI it wants to open, the X-server then needs to
send the URI via the VNC (RFB) protocol and the VNC client can then open
the URI (via ShellExecute on windows and e.g. xdg-open on Unix). I got
all the parts working except the communication between the Qt
application and the xvncserver.
What is the best way to do this?
My own thought was simply to have the x-server watch a property, say
OPEN_URI, on the root window. Would that be the way to go? The
realvnc-based code base I'm working with doesn't have any code that
watches properties like this. Is there a way to snoop on PropertyNotify
events?
Ideas and suggestions would be most welcome.
Thank you for your time.
Thomas
More information about the xorg-devel
mailing list