On 11/10/10 15:23, [email protected] wrote:



On 11 October 2010 at 15:04 Ralph Corderoy<[email protected]>  wrote:


Hi Terry,

6. In your telnet session type, DISPLAY=windows_hostname_or_ip_address:0.0
7. In your telnet session type, export DISPLAY
...
I'm OK until I get to step 6, when I get a 'Command not recognised'
error.  Is sending that command via the telnet session causing the
problem or am I missing something else?

You probably have a C shell on the Sun.  Replace 6 and 7 with

      setenv DISPLAY windows_hostname_or_ip_address:0.0Excellent!  A step
forward.  Unfortunately, there doesn't seem to be an export command in the
csh.  According to the man page it is available in sh and ksh, but not csh.
Any idea how I do the last step?

setenv will automatically export the variable. Easy check, just do

echo $DISPLAY

and it should say


ip_address:0.0

if black, it hasn't set it.

you could always fall back to standard shell by typing

sh

and using the DISPLAY= and export commands

--
--------------------------------------------------------------
Discover Linux - Open Source Solutions to Business and Schools
http://discoverlinux.co.uk
--------------------------------------------------------------

--
Next meeting:  Crown Hotel, Blandford Forum, Tuesday 2010-11-02 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
How to Report Bugs Effectively:  http://goo.gl/4Xue

Reply via email to