#2 Can not run programs on a Solaris

open
nobody
None
5
2007-04-12
2007-04-12
Ronen Gottlieb
No

Hello,

After installing the program,
I have successfully run xclock and other
programs on Linux via SSH.

When I tried to do the same on a Solaris
machine (via Telnet), I was asked to reenter the password. After logging to the machine I tried to run xclock, I received the following error:
Error: Can't open display:

Regards,
Ronen.

Discussion

  • Logged In: NO

    I am getting the same error on solaris. display is set and have tried both IPxx.xx:0 and IPxx.xx:0.0 and neither are working.

    Thanks,
    Landon

     
  • Logged In: NO

    did you export your display?

    export DISPLAY=<IP/HOST>:0.0

     
  • Hi,

    you need to instruct your ssh client to forward X11 communication. Then you should be able to run program. Normally you will get variable DISPLAY set 192.168.1.123:10 where last digit should be above 10.

    Good luck