TechSpot

VNC to view a window open on display :0

By smtkr
Dec 9, 2005
  1. Hello all. I have some processes running at work on the physical machine that are going to take hours. I want to go home and then check the results that are displayed in a window on the physical machine ($DISPLAY is :0). It is a RH:EL machine and I can VNC into it from home via a secure tunnel. Is there any way for me to get a window on display :0 to show in a window on my VNC session (i.e. $DISPLAY is :2)?

    Cheers.
     
  2. jobeard

    jobeard TS Ambassador Posts: 13,446   +324

    tools like pcAnywhere, but you better check with the IT folks - - this can be
    a security issue.
     
  3. Nodsu

    Nodsu TS Rookie Posts: 9,431

    No way you can do it now :p

    You can configure X to allow VNC connections to the real :0 display instead of the virtual VNC displays, but you should have done that before. You need to load the "vnc" module in X configuration and set up a password. Then restart X.

    What you could to is to grab a screenshot of :0 and look at that.

    Depending on the specific program you may be able to open another session using your home computer as the X server and get the window on your local screen.
     
  4. smtkr

    smtkr TS Rookie Topic Starter Posts: 138

    Thanks for the info. Someone from work actually came in over the weekend and snagged the required data for me because he wanted to run some other tests.

    Cheers.
     
Topic Status:
Not open for further replies.


Add New Comment

TechSpot Members
Login or sign up for free,
it takes about 30 seconds.
You may also...


Get complete access to the TechSpot community. Join thousands of technology enthusiasts that contribute and share knowledge in our forum. Get a private inbox, upload your own photo gallery and more.