LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Change the display of a running process? (https://www.linuxquestions.org/questions/linux-newbie-8/change-the-display-of-a-running-process-194125/)

ejkeebler 06-16-2004 06:31 AM

Change the display of a running process?
 
I just was wondering if there was anyway to change the Display of a process that is already running. Example you have something like xeyes running on one machine, you want to ssh into that machine and change the display of that xeyes process to the one you are ssh'ing from. Any new process I start will display locally, but I would like to see the xwindow of a process already started,. anyway to do that?

adamwenner 06-16-2004 07:28 AM

you can play around with the DISPLAY variable, your standard X server on the machine you are sshing to is :0, therefore if you want to start something on the remote machine's X server, you need to type this in bash at the beginning of your session

export DISPLAY=:0

ejkeebler 06-16-2004 07:50 AM

I can get a process to start on the appropriate display, but just don't know how to make an already running process to switch displays?

adamwenner 06-16-2004 08:43 AM

i dont believe this is possible


All times are GMT -5. The time now is 03:12 AM.