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


 
Thread Tools Search this Thread
Operating Systems AIX Installed AIX6.1 in LPAR, but fail to start xclock
# 1  
Old 02-17-2011
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 Smilie

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

Code:
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.

Code:
# 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.

Last edited by pludi; 02-18-2011 at 05:17 AM..
# 2  
Old 02-17-2011
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.

Last edited by Scott; 02-17-2011 at 05:38 PM..
# 3  
Old 02-17-2011
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.
# 4  
Old 02-17-2011
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.

Last edited by Scott; 02-17-2011 at 05:38 PM..
This User Gave Thanks to AixCraft For This Post:
# 5  
Old 02-18-2011
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 Smilie
# 6  
Old 02-18-2011
you welcome.

AixCraft
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Bash find version of an installed application but if none is found set variable to App Not Installed

Hello Forum, I'm issuing a one line bash command to look for the version of an installed application and saving the result to a variable like so: APP=application --version But if the application is not installed I want to return to my variable that the Application is not installed. So I'm... (2 Replies)
Discussion started by: greavette
2 Replies

2. AIX

Startx xclock on virtual lpar

Hello, Is there a way to run xclock or startx on LPAR, since LPAR doesn't have any console or it is connected to HMC usually the way is to export the display to some PC which has Xmanager running on it, but in my case, I want to run xmanager on the AIX Lpar and run on it the... (2 Replies)
Discussion started by: filosophizer
2 Replies

3. AIX

How to differentiate between a standalone LPAR and a VIOC (which again is a lpar)?

There can be configurations in IBM Server wherein a standalone partition is created on some supported IBM Server Or A VIOS - VIOC LPARs created. Now in both cases they are lpars. But if I want to differentiate b/w a standalone LPAR vs an VIOC LPAR how can I do..? On a... (2 Replies)
Discussion started by: Manish00712
2 Replies

4. Red Hat

Xclock command not working

Hi, I am using Xming tool to open the my RHEL machine remotely in UI mode. When I use xclock command using 'root', the command works properly and I can see the clock pop-up. However, when I run the 'xclock' command using oracle user I get an error, which is shown in the attached file. Can... (6 Replies)
Discussion started by: omniok
6 Replies

5. Solaris

Xclock help

This is where I am getting stuck and I am wondering if I can get some help from the community. I log into putty with X11 forward enable echo $DISPLAY DISPLAY=localhost:10.0 export DISPLAY xclock ( I do see a clock) :) I am happy that I finally get to install Oracle 11g on solaris... (2 Replies)
Discussion started by: newborndba
2 Replies

6. Red Hat

Trouble with installed / not installed rpm unixODBC/libodbc.so.1

Hey there, i run 1: on my server (RHEL 6) and getting response that the libodbc is not installed. If i use yum for installation, it tells me, there is no package like this ( 2: ). Since in the description of Definiens is mentioned that the Run-time dependency is unixODBC (libodbc.so.1), I assume... (2 Replies)
Discussion started by: rkirsten
2 Replies

7. AIX

LPAR freezes after switching of storage (lpar is mirrored)

Hi all, I have the following configuration 2 ds3524 storage disk systems located over 2 locations 2 P720 server located over 2 locations DS3524 are connected to san switch. Each vio server has 1 fc adapter attached to a san switch. per p720 server 2 virtual io servers. Vio 1 has 1 lun... (2 Replies)
Discussion started by: markiemark
2 Replies

8. AIX

DCE fail to start Initial Directory server - help

Guys I am having a problem starting one of the DCE Servers known as Initial Directory server . All other process are running ecxept these one Master server Configured Running Security client Configured Running RPC ... (1 Reply)
Discussion started by: Aix|Dr
1 Replies

9. Shell Programming and Scripting

Xclock and background

Hi everyone, could you explain why am I not able to bring up xclock, or for that matter any Xtools (xcalc etc...), in the background? When I execute: xclock & This brings up the clock in the foreground, my focus is on the clock, not back in my command window. Any suggestion? ... (2 Replies)
Discussion started by: gio001
2 Replies

10. Solaris

Unable to run xclock

Hello. I am trying to run xclock on newly built solaris box - These are the steps I followed: # DISPLAY=localhost:0.0 # export DISPLAY # xclock xclock: not found # cd /usr/openwin/bin # ./xclock Error: Can't open display: localhost:0.0 # Please suggest, what am i doing wrong? Thank... (27 Replies)
Discussion started by: panchpan
27 Replies
Login or Register to Ask a Question