PDA

View Full Version : Possible to reattach broken X display?



kpf8655
10-01-2003, 06:27 PM
Here's a situation (not specific to Knoppix, more of an X question)...

Sitting at machine A (say a PC running exceed) logged into machine B and running some application on B, with the windows being displayed back on A. Machine A goes down. Machine B still has the app's process running, but since A is down, there's no display.

Now, A comes back up, you log back into B and can see the app's process still running. Is there any way to reconnect the app to A and get back to where I was prior to A going down or is the display state completely lost?

Dave_Bechtel
10-02-2003, 09:53 AM
--Now that is a very good question. I know you can do this with ' screen ' ( see article: http://ezine.daemonnews.org/200002/newbies.html ) for text sessions, but you've got me interested enough to google around for this.

--You can get around this problem in the future by using VNC ( http://www.knoppix.net/forum/viewtopic.php?t=4918#22741 ) but for re-connecting to the existing problem-session on B, that's another story.

--I found some interesting things in this thread (xmove, X :1 -query server1)
http://dot.kde.org/988934998/988942946/
http://clug.chicago.il.us/list/022000/0428.html

--Try apt-get install xmove ( http://www.mnis.fr/liens/deb30/x11/xmove.html , http://packages.debian.org/unstable/x11/xmove.html ) and see if that does the trick.

--More info than you probably wanted:
http://lists.blackcatnetworks.co.uk/main/2002-January/011387.html
http://archive.lug.boulder.co.us/bymonth/2003.05/msg00243.html

--The semi-authoritative response would seem to be that your current application on B is fux0r3d. (That's a technical term.) Hopefully it's nothing important, like a monthlong batch/calculation job that has mission-critical data for photon collisions or the next Space Shuttle or something. If this is true, breathe a sigh of relief and start running screen and vncserver/vncviewer in the future. :) (My instructions above will allow you to setup vncserver to run *any* windowmanager that's installed on your system, not just the default KDE.)

--Post back with results.


Here's a situation (not specific to Knoppix, more of an X question)...

Sitting at machine A (say a PC running exceed) logged into machine B and running some application on B, with the windows being displayed back on A. Machine A goes down. Machine B still has the app's process running, but since A is down, there's no display.

Now, A comes back up, you log back into B and can see the app's process still running. Is there any way to reconnect the app to A and get back to where I was prior to A going down or is the display state completely lost?