Graphical run of script error
Hi.. I'm working on IBM Websphere Commerce for Ldap integration at OS RHEL 5.9.
While trying to run one .sh file I'm getting below error. Code:
[wcsuser@CTSINMBPVPCC13 bin]$ ./WCIntegrationWizard.sh I tried with exporting DISPLAY but no use. Content of WCIntegrationWizard.sh Code:
[root@CTSINMBPVPCC13 bin]# cat WCIntegrationWizard.sh Thank You, |
you can make a copy of this script and add set -xv at the beginning - to see how it is running.
Next, you can try to execute xterm in the same window (just test if it was really successful). If xterm works it could not be a DISPLAY issue. |
hi! I run using -xv method. Below is the output. Can you help me with that afterwards what needs to be done?
Code:
wcsuser@CTSINMBPVPCC13 bin]$ ./WCIntegrationWizard.sh Thanks a lot. |
just execute the command xterm to check if it works. I think you made a sudo or something to change the user id.
|
Yes pan64, xterm is working, As i gave the command it opened a new window. What next?
---------- Post added 05-21-13 at 05:45 AM ---------- xterm by wcsuser(non-root) user is not working though. Only by root user its working. |
so as root you need to execute xhost +
not a safe solution but hopefully works |
Code:
Try running the installer with the -console ... flag |
Quote:
Code:
[root@CTSINMBPVPCC13 bin]# xhost + ---------- Post added 05-22-13 at 02:03 AM ---------- Quote:
tried with console option also. not successfull. Please see the error below: Code:
[wcsuser@CTSINMBPVPCC13 bin]$ ./WCIntegrationWizard.sh -console |
Quote:
|
That's odd, considering it tells you to use that.
couple of ideas 1. try '-c' instead 2. contact the provider; much easier :) |
All times are GMT -5. The time now is 01:31 AM. |