I would like to remote GUI to AIX

Hi technician,

From PC, I used SecurCRT and connected to AIX server. On both telnet and ssh can remote GUI and show GUI program on my PC.
Example:
Local PC: I run xwindow client program such as xmanager.
telnet 192.168.1.10 (by SecureCRT).
AIX> export DISPLAY=192.168.1.200:0.0
AIX> xclock
Then the xclock program display at my PC.

As the step above, I use for export xclock to test remote GUI on my PC then I run oracle installer GUI on my PC to install oracle. These step I could do on xNIXs. But on my MacBook only used iTerm and running "ssh -X 192.168.0.200" to call X11 on my MacBook and remote GUI from AIX to install oracle. If AIX doesn't install openssh I couldn't export GUI to my MacBook. One way walkaround to bypass the problem by use VNC.

How do I to remote GUI program from AIX on MacBook without ssh -X and VNC?

Best regards,
Nautiluzth

MacBook Intel 2008, Mac OS X (10.5.6)

Posted on Jan 23, 2009 10:28 PM

Reply
7 replies

Jan 24, 2009 4:33 AM in response to nautiluzth

That just sounds like you are using X11 (X-Windows) to export AIX application windows back to your PC.

Mac OS X ships with an X11 display server. If it is not in Applications -> Utilities -> X11, then it is an optional install on your installation DVD.

You can use ssh to connect to your AIX system

ssh -X username@your.aix.system.address
Username:
Password:
xclock
ico
xeyes
xload

The -X (or you could use -Y) on the ssh command line says to create an ssh tunnel for X11 traffic and to pre-assign your DISPLAY environment variable so that it routes all your X11 traffic over the ssh tunnel.

You can also use VNC

Finder -> Connect to Server...
vnc://address.of.your.aix.system:5900

Jan 24, 2009 6:59 AM in response to nautiluzth

Sorry, I was in a rush this morning (taking wife to the airport), and did not fully read your post.
How do I to remote GUI program from AIX on MacBook without ssh -X and VNC?

How about xhost (/usr/X11/bin/xhost).

You could use xhost on your Mac OS X system to allow your AIX system X-Window access permissions.

Then telnet to your AIX system from Terminal, iTerm, xterm:

xhost +192.168.1.10
telnet 192.168.1.10
Username:
Password:
AIX> export DISPLAY=192.168.1.200:0.0
AIX> xclock

NOTE: It has been a long time since I've used the xhost command. I stopped using it when I found I could use *ssh -X*

It is possible that in Mac OS X Leopard xhost support is disabled by default (like I said it has been a few years, and I am not in a position to test this at the moment), however, I'm sure that some Google searches for Mac related xhost, xauth will most likely turn up something to address this.

Oh yea. Future Unix and X11 related questions are better asked in the Mac OS X -> Technologies -> Unix forum.

Message was edited by: BobHarris

Jan 24, 2009 2:35 PM in response to BobHarris

OK, I happened into work this afternoon (my laptop ran out juice and I forgot to bring a power adapter with me, so I went into work where I have an adapter so I could recharge 🙂

Anyway, I just tried xhost as described above, and it worked when connecting to a Linux system in Texas, while I'm New Hampshire (all connections are over the corporate network behind the corporate firewall).

I tried xclock, gvim, ico, xload, oclock, rclock, xcalc, etc...

Jan 28, 2009 9:33 PM in response to nautiluzth

Hi,

I tried to do as your suggestion. But It didn't work.
LOCAL> xhost +192.168.1.10
After done this command X11 application went lunch on dock.
LOCAL> telnet 192.168.1.10
username/password
AIX> export DISPLAY=192.168.1.200:0.0
AIX> xclock
Error: Can't open display: 192.168.1.200:0.0
Note: On local firewall is not activate.

Do you have any suggestion?
I'm please to thank you for your kind support.

Best regards,
nautiluzth

Jan 29, 2009 12:18 PM in response to BobHarris

Try this hint at MacOSXHints.com
<http://www.macosxhints.com/article.php?story=20081208062918906>

Bottom line, I think you need to enable the following X11 option

defaults write org.x.X11 nolisten_tcp 0

WARNING: This is the standard warning that enabling xhost access is not secure, as another system can spoof the remote system. But you know that, and you know xhost is what is going to work for you as ssh is not always available to you.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

I would like to remote GUI to AIX

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.