LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 06-16-2004, 06:31 AM   #1
ejkeebler
LQ Newbie
 
Registered: May 2004
Posts: 14

Rep: Reputation: 0
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?
 
Old 06-16-2004, 07:28 AM   #2
adamwenner
Member
 
Registered: Aug 2003
Distribution: windows xp home, windows 98, red hat 9, fedora core 3, redhat enterprise linux, win2000 pro/server
Posts: 217

Rep: Reputation: 32
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
 
Old 06-16-2004, 07:50 AM   #3
ejkeebler
LQ Newbie
 
Registered: May 2004
Posts: 14

Original Poster
Rep: Reputation: 0
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?
 
Old 06-16-2004, 08:43 AM   #4
adamwenner
Member
 
Registered: Aug 2003
Distribution: windows xp home, windows 98, red hat 9, fedora core 3, redhat enterprise linux, win2000 pro/server
Posts: 217

Rep: Reputation: 32
i dont believe this is possible
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Starting process on display :1 noware Linux - General 8 12-01-2005 06:52 AM
How to write a system call to display the process information? balasquare@yahoo.com Programming 3 09-30-2005 01:05 AM
Running process sonu1082 Linux - Software 2 11-25-2004 05:32 AM
display boot process to LCD.. rohan208 Programming 3 06-07-2004 07:55 PM
I want to figure out which display a process is running on drgowans Linux - Software 4 11-10-2003 11:32 AM


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

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration