I have a Qt application (running on Linux) that is supposed to open an extra window on a different X server, running on a remote computer.
Is there a way to do this within Qt?
I hope to avoid more complex setups, such as - DMX (virtual X-server on top of multiple other X servers) http://dmx.sourceforge.net/, or - creating a second application for the extra window, plus some kind of communication between the two applications
You could try spawning a new process, and setting its DISPLAY environment variable to the other X server.
Try doing it from bash at first to see if it works, because I'm not entirely sure:
export DISPLAY=:0.0
./my_qt_application
Replace the :0.0
with your other X server.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With