LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Solaris / OpenSolaris (https://www.linuxquestions.org/questions/solaris-opensolaris-20/)
-   -   CDE Start script... (https://www.linuxquestions.org/questions/solaris-opensolaris-20/cde-start-script-772405/)

anurag4u 11-30-2009 05:38 AM

CDE Start script...
 
All,

I need to call one of my binaries as soon as I login in CDE (Common Desktop Environment) in Solaris 10.

I tried few places like .dtprofile, Xsession files etc..but I couldn't get my binary to execute.

Can anybody provide me a script, file or any other where I can call my binary.


Regards,
Anurag

jlliagre 11-30-2009 06:39 AM

.dtprofile is the correct place if you are really using CDE (and not JDS/Gnome).

anurag4u 11-30-2009 07:13 AM

Quote:

.dtprofile is the correct place if you are really using CDE (and not JDS/Gnome).
it gives error
libxshare.so: open failed: no such file or directory.

Actually, my application uses Xlib calls and I guess all libraries are not loaded at the point of calling my binary.

Is there any other place where I can call my binary?

jlliagre 11-30-2009 07:24 AM

What is that libxshare library ? It isn't part of Solaris.

anurag4u 12-01-2009 03:20 AM

Quote:

What is that libxshare library ? It isn't part of Solaris.
it seems to be one of my library which my binaries uses.

jlliagre 12-01-2009 03:38 AM

Then you binary is incorrectly built. It should be able to find its own dynamically linked libraries itself. You should have used the "-R path" linker option. As a workaround, you can use the LD_LIBRARY_PATH variable.


All times are GMT -5. The time now is 02:45 AM.