I'm not sure if this is exactly what you are looking for, but here it goes. Once you have done the telnet to the unix box you need to set up display back to your Windows box.
When you log in you are set up with a default shell. Find out which shell you are in by using the following command:
I'm not sure if this is exactly what you are looking for, but here it goes (This will only work if you are opening a GUI or executing a command that will open in a terminal (console) window). Once you have done the telnet to the unix box you need to set up display back to your Windows box.
To do this, find out which shell you are in by using the following command:
echo $SHELL (output will probably be one of the following, but may be one of a number of other shells, /bin/sh - bourne, /bin/ksh - korn, /bin/csh - c, etc...)
Once you have the shell use one of the following examples (Replace the IP address used below with the IP address for your Windows machine).
Bourne - DISPLAY=192.68.0.1:0 ; export DISPLAY (IP is the Windows box IP address)
Korn - export DISPLAY=192.68.0.1:0
C - setenv DISPLAY 192.68.0.1:0
Once this is done, you can verify that the display is set by typing the following:
echo $DISPLAY (output should look like this: 192.68.0.1:0)
Hope this helps.
Good Luck!
Have a Great Day!!
~Sol
Sys Admin
If you have access to AIM my screen name is SolSgt. It will be easier to discuss there. If not let me know and we can try something else... Have a Great Day!!
~Sol
Sys Admin
Is it a GUI/X Windows display you're trying to capture, or just a normal terminal session?
If it's a terminal session you can probably enable logging using your terminal emulator, or alternatively redirect the output of your job to a file and then send it to yourself later. Annihilannic.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.