AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.

 View Only
  • 1.  xclock didn't prompt in aix

    Posted Wed May 14, 2008 08:08 AM

    Originally posted by: apple08


    dear aix gurus,
    1. xlock
    1386-117 xlock: Unable to open display :0.

    i have commented out the these entries on /etc/ssh/sshd_config this 2 entries:
    X11Forwarding yes
    XAuthLocation /usr/bin/X11/xauth

    after that i have refresh this sshd service.

    would really appreciate your advice. thank you.


  • 2.  Re: xclock didn't prompt in aix

    Posted Wed May 14, 2008 08:25 AM

    Originally posted by: orphy


    What's DISPLAY set to? Ensure that it's pointing to an IP that actually has an X server. If you ssh in to the AIX box from you PC, you need to have something like Exceed to handle X display.
    Orphy


  • 3.  Re: xclock didn't prompt in aix

    Posted Wed May 14, 2008 10:55 AM

    Originally posted by: apple08


    hi,
    i will issue #echo $DISPLAY on that server tomorrow.
    mr orphy, when you are saying the display must pointing to an IP that has an X server. if i connect from my workstation to one server, meaning i need to ensure the echo $DISPLAY output is pointing to my workstation is it?
    i'll try to ssh to the server using xstart software also tomorrow.
    hope to hear from you. thank you


  • 4.  Re: xclock didn't prompt in aix

    Posted Wed May 14, 2008 04:32 PM

    Originally posted by: orphy


    If you are on your workstation (assuming it supports X-Windows), you telnet/ssh to another server, all you should need to do is set DISPLAY to point to you workstation (e.g. export DISPLAY=<workstation>:0.0). If you still have permission issue, you may need to do "xhost +<another_server>" on the workstation.

    If you use some kind of xstart to login to a box, it should have DISPLAY properly set up for you but if not, you need to find out the IP of your xstart PC/workstation and set DISPLAY to point to it after you login to the box.
    Orphy