Installed AIX6.1 in LPAR, but fail to start xclock

I have clean installed AIX6.1 in this partition.
I want to run xclock but it fail to run :frowning:

I have launch export DISPLAY=10.23.17.60:0
Then launch xclock but it will produce some error saying it failed.

Error: Can't open display: 10.23.177.60:0

When i try to google around, some say maybe X11 is not properly install.
In this case, i did a lslpp on X11, there are alot of listed filesets, but how do i know if i have installed the neccessary ones?

Then i launched ps -ef | grep X but it seems X is not running.

# export DISPLAY=10.23.177.60:0
# xclock
Error: Can't open display: 10.23.177.60:0
# ps -ef | grep X
pconsole 245928 290974   0 02:55:12      -  0:17 /usr/java5/bin/java -Xmaxe512m -Xmine20m -Xshareclasses -Dfile.encoding=UTF-8 -Xbootclasspath/a:/pconsole/lwi/runtime/core/rcp/eclipse/plugins/com.ibm.rcp.base_6.1.1.200707121104/rcpbootcp.jar:/pconsole/lwi/lib/ISCJaasModule.jar:/pconsole/lwi/lib/icl.jar:/pconsole/lwi/lib/jaas2zos.jar:/pconsole/lwi/lib/jaasmodule.jar:/pconsole/lwi/lib/lwinative.jar:/pconsole/lwi/lib/lwinl1.jar:/pconsole/lwi/lib/lwinl2.jar:/pconsole/lwi/lib/lwinl3.jar:/pconsole/lwi/lib/lwirolemap.jar:/pconsole/lwi/lib/passutils.jar -Xverify:none -cp eclipse/launch.jar:eclipse/startup.jar:rcp/eclipse/plugins/com.ibm.rcp.base_6.1.1.200707121104/launcher.jar com.ibm.lwi.LaunchLWI
#

But when i try to launch command X, i get this :0 thing.

What I should do now ? Tried google around but nothing much i find.
Thanks for reading.

Are you running from windows or linux?

if Windows what xserver you are running on your desktop?

If Linux try to run the xhost+ in the linux terminal.

I am using Windows XP. I am using Xming. Do i need to do any configuration on Xming ?

When i tried to use putty to connect to other AIX box, and launch xclock, it works.

I'm guessing its firewall blocked or something like this,
try to use X-Forwarding in the putty session.
in Putty: under SSH->X11-mark enable X11 forwarding.

you should enable this in /etc/ssh/sshd_config and refresh you sshd deamon.

1 Like

Hi AixCraft,

Not sure what I did, my team mate reboot the LPAR, we can launch the xclock. I wonder if it has something to do with the ethenet settings I did earlier that affect the command EXPORT DISPLAY ??.

I check again using ps, X was not running. I didnt enable the X11 forwarding.

Anyway, thanks for your help :slight_smile:

you welcome.

AixCraft