Re: exporting DISPLAY question/problem



On Nov 27, 10:16 am, Huub <"v.niekerk at hccnet.nl"> wrote:
Can you login from your linux into your linux box with ssh and run
xlock ?
$[LXBOX] ssh -Y LXBOX
${LXBOX} echo $DISPLAY
${LXBOX} xclock

Works like a charm...

Now do the same without the -Y thus ssh should behave like rsh

$[LXBOX] ssh LXBOX
${LXBOX} echo $DISPLAY
${LXBOX} xclock

If it is not working get it to work - its linux
If it is working then login to your AIX box also without the -Y or any
other option
$[LXBOX] ssh AIXBOX
$[AIXBOX] echo $DISPLAY
$[AIXBOX] xclock

If that is not working the probably the problem is on the linux site.
Check your linux documentation howto enable remote display and check
as alreay mentioned by others the name resolution meaning that each
host should be in the /etc/hosts within the other host and they can
ping each other.



.



Relevant Pages

  • Re: exporting DISPLAY question/problem
    ... Can you login from your linux into your linux box with ssh and run ... $[LXBOX] ssh -Y LXBOX ... $echo $DISPLAY ...
    (comp.unix.aix)
  • Re: Whats the difference between xclock and clock & ?
    ... desktop running Linux over ssh and try to execute xclock locally via ... Error: Can't open display: ... The shell has no part in displaying or not displaying xclock. ... Also, you mention a laptop, but you don't explain whether that's ...
    (comp.unix.programmer)
  • Re: Whats the difference between xclock and clock & ?
    ... desktop running Linux over ssh and try to execute xclock locally via ... Error: Can't open display: ... Also, you mention a laptop, but you don't explain whether that's ...
    (comp.unix.programmer)
  • Re: X11 no longer working
    ... ssh -Y remote.system.com ... xclock # display will appear on your Mac ... zack:~ jao$ ssh -Y black ...
    (comp.sys.mac.apps)
  • Re: cant open display : (on Linux rlogin to SGI)
    ... From Linux, I get the following when I run xclock, ... I'll try setting my DISPLAY variable again! ... I have a /etc/motd problem with ssh ... On "some" of my Linux computers, ...
    (comp.unix.questions)