Reconnecting the X server to the lost process

I run Xorg and my (Qt) program demonizes itself. Now I log out and restart the X server. When I log in again, my process still works fine, but I don't see it.

Is there any way to link the new incarnation of the X server with the old process? If I do not restart the entire server, but log out and again, is there a way to look at the old process?

thank

+3
source share
4 answers

xpra should reach your requirement. And it can also start a tcp connection (without the need for ssh). Run it on the server:

xpra start :100 --start-child=xterm --bind-tcp=0.0.0.0:10000

Connect it to the client:

xpra attach tcp:SERVERHOST:10000

mac windows xpra . win7 osx10.10.2. :

windows: https://www.xpra.org/dists/windows/Xpra_Setup.exe mac: https://www.xpra.org/dists/osx/x86/Xpra.dmg

+2

, X , .

- xserver xmove, X, , , .

X-, xvnc () NX. NX - X--, NoMachine. NX-. , .

0

These guys say that this is possible, I have not tested this functionality ...

Check this!

0
source

Use something like Xpra or NX: they both allow you to run applications on the screen of the X11 server, to which you can re-run, if necessary, from remote computers. They both support "seamless" sessions, so windows will appear just like local windows.

Practical example:

xpra start :10 --start-child=/bin/YOURAPP

Then, when you want to reconnect (say, after restarting the X11 server):

xpra attach :10

Or from a remote machine:

xpra attach ssh:THESERVERHOSTNAMEORIP:10

0
source

All Articles