<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: LDAP, CDE and Xsession problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ldap-cde-and-xsession-problem/m-p/2853713#M826401</link>
    <description>It's funny you should say that Pierrick. I tried another user accout and it worked. I moved my home directory and tried it again and it let me in. &lt;BR /&gt;&lt;BR /&gt;So after all that it is something buried in my home directory. I know it is nothing to do with .dt, .dtprofile, .profile or .xsession.&lt;BR /&gt;&lt;BR /&gt;I should be able to find it now though. Thanks for all your help.</description>
    <pubDate>Thu, 28 Nov 2002 15:34:27 GMT</pubDate>
    <dc:creator>Peter Maddison</dc:creator>
    <dc:date>2002-11-28T15:34:27Z</dc:date>
    <item>
      <title>LDAP, CDE and Xsession problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ldap-cde-and-xsession-problem/m-p/2853705#M826393</link>
      <description>We've recently setup an iplanet LDAP server running on Solaris. I've upgraded the first of our HP clients to 11.0 and put HP's LDAP-UX client on it. &lt;BR /&gt;&lt;BR /&gt;Console logins work fine and everything authenticates correctly. However when I try to log in through CDE the login gets all the way through running the profile and then the Xsession crashes.&lt;BR /&gt;&lt;BR /&gt;Has anyone come across this error before?&lt;BR /&gt;&lt;BR /&gt;I changed my profile to do nothing but echo HI and this is the tail of startlog:&lt;BR /&gt;&lt;BR /&gt;--- execing /usr/dt/bin/dtsession  using /users/maddispe/.profile...&lt;BR /&gt;+ source_profile=. /users/maddispe/.profile&lt;BR /&gt;+ source_login=source /users/maddispe/.profile&lt;BR /&gt;+ [ -z /usr/dt/bin/dtdbcache -init ]&lt;BR /&gt;+ export DT=true&lt;BR /&gt;+ /bin/ksh -c . /users/maddispe/.profile;                          unset DT;                       /usr/dt/bin/dtdbcache -init;                            PATH=/usr/dt/bin:$PATH /usr/dt/bin/ttsession -s;                           /usr/dt/bin/dtsession  &amp;gt;| /users/maddispe/.dt/sessionlogs/lntrw122_DISPLAY=lntrw122:0 2&amp;gt;&amp;amp;1&lt;BR /&gt;HI&lt;BR /&gt;/usr/dt/bin/Xsession[598]: 1598 Bus error&lt;BR /&gt;+ rm -f /tmp/dtdbcache_lntrw122:0&lt;BR /&gt;X connection to lntrw122:0.0 broken (explicit kill or server shutdown).&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 27 Nov 2002 17:49:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ldap-cde-and-xsession-problem/m-p/2853705#M826393</guid>
      <dc:creator>Peter Maddison</dc:creator>
      <dc:date>2002-11-27T17:49:28Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP, CDE and Xsession problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ldap-cde-and-xsession-problem/m-p/2853706#M826394</link>
      <description>Hi Peter,&lt;BR /&gt;&lt;BR /&gt;I haven't dealt with LDAP but you can do the following to debug the problem further -&lt;BR /&gt;&lt;BR /&gt;move your ~/.dt directory to &lt;WHATEVER&gt;&lt;BR /&gt;remove echo command from your .profile&lt;BR /&gt;In your ~/.dtprofile file, comment out the entry "DTSOURCEPROFILE=true" (normally the last entry).&lt;BR /&gt;&lt;BR /&gt;Give it a try and let us know.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;...Manjeet&lt;/WHATEVER&gt;</description>
      <pubDate>Wed, 27 Nov 2002 19:10:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ldap-cde-and-xsession-problem/m-p/2853706#M826394</guid>
      <dc:creator>Kellogg Unix Team</dc:creator>
      <dc:date>2002-11-27T19:10:28Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP, CDE and Xsession problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ldap-cde-and-xsession-problem/m-p/2853707#M826395</link>
      <description>Thanks, tried that but I'm still getting the same issue.&lt;BR /&gt;&lt;BR /&gt;I'll try patching CDE today.&lt;BR /&gt;&lt;BR /&gt;Any other suggestions?</description>
      <pubDate>Thu, 28 Nov 2002 09:38:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ldap-cde-and-xsession-problem/m-p/2853707#M826395</guid>
      <dc:creator>Peter Maddison</dc:creator>
      <dc:date>2002-11-28T09:38:23Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP, CDE and Xsession problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ldap-cde-and-xsession-problem/m-p/2853708#M826396</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Look at&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xf1d2f841489fd4118fef0090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xf1d2f841489fd4118fef0090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Check your shell patches&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;                       Regards&lt;BR /&gt;&lt;BR /&gt;                       Steve Steel&lt;BR /&gt;&lt;BR /&gt;Quote of the moment&lt;BR /&gt;-------------------&lt;BR /&gt;"We are drowning in information but starved for knowledge."&lt;BR /&gt;-- John Naisbitt</description>
      <pubDate>Thu, 28 Nov 2002 09:44:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ldap-cde-and-xsession-problem/m-p/2853708#M826396</guid>
      <dc:creator>Steve Steel</dc:creator>
      <dc:date>2002-11-28T09:44:18Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP, CDE and Xsession problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ldap-cde-and-xsession-problem/m-p/2853709#M826397</link>
      <description>I've now installed the latest pam, cde and shell patches and I'm still getting exactly the same problem.&lt;BR /&gt;&lt;BR /&gt;Any more ideas?</description>
      <pubDate>Thu, 28 Nov 2002 12:27:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ldap-cde-and-xsession-problem/m-p/2853709#M826397</guid>
      <dc:creator>Peter Maddison</dc:creator>
      <dc:date>2002-11-28T12:27:08Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP, CDE and Xsession problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ldap-cde-and-xsession-problem/m-p/2853710#M826398</link>
      <description>more ideas .... are you 100 % certain this is due to LDAP and not the upgrade ? ie can you easily remove ldap from the problem scenario and if so does the problem persist ?&lt;BR /&gt;&lt;BR /&gt;Next I'd suggest adding set -x in .dtprofile then reproduce the problem and look at the users startlog again.&lt;BR /&gt;&lt;BR /&gt;also worth a look is running dr_dt and seeing if the upgrade has introduced problems ....&lt;BR /&gt;&lt;BR /&gt;lastly see Rick's suggestion on how to enable CDE debugging : see &lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xe15d0fe6d0f7d61190050090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xe15d0fe6d0f7d61190050090279cd0f9,00.html&lt;/A&gt;</description>
      <pubDate>Thu, 28 Nov 2002 13:30:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ldap-cde-and-xsession-problem/m-p/2853710#M826398</guid>
      <dc:creator>Alex Glennie</dc:creator>
      <dc:date>2002-11-28T13:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP, CDE and Xsession problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ldap-cde-and-xsession-problem/m-p/2853711#M826399</link>
      <description>Hi &lt;BR /&gt;&lt;BR /&gt;startlog and errorlog + /var/dt/Xerrors and run&lt;BR /&gt;dr_dt&lt;BR /&gt;&lt;BR /&gt;Also look for any errors from ldap in the system logs&lt;BR /&gt;&lt;BR /&gt;Regards &lt;BR /&gt;&lt;BR /&gt;Steve Steel &lt;BR /&gt;&lt;BR /&gt;Quote of the moment &lt;BR /&gt;------------------- &lt;BR /&gt;"We are drowning in information but starved for knowledge." &lt;BR /&gt;-- John Naisbitt</description>
      <pubDate>Thu, 28 Nov 2002 14:38:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ldap-cde-and-xsession-problem/m-p/2853711#M826399</guid>
      <dc:creator>Steve Steel</dc:creator>
      <dc:date>2002-11-28T14:38:36Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP, CDE and Xsession problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ldap-cde-and-xsession-problem/m-p/2853712#M826400</link>
      <description>Hi Peter,&lt;BR /&gt;&lt;BR /&gt;Do you have this problem for all logins ?&lt;BR /&gt;&lt;BR /&gt;Do you still have this problem with a new created login ?&lt;BR /&gt;&lt;BR /&gt;As you should know : /usr/dt/bin/Xsession&lt;BR /&gt;is a shell script that you can modify to obtain a verbose output.&lt;BR /&gt;&lt;BR /&gt;edit /usr/dt/bin/Xsession&lt;BR /&gt;&lt;BR /&gt; I) first modification&lt;BR /&gt;   1. add a set "set -x" after "#!/usr/bin/ksh"&lt;BR /&gt;&lt;BR /&gt;   2. modify (neer line 51)&lt;BR /&gt; exec &amp;gt;/dev/null 2&amp;gt;/dev/null&lt;BR /&gt; by :&lt;BR /&gt; exec &amp;gt; /tmp/debug.xsession 2&amp;gt;/tmp/debug.xsession.error&lt;BR /&gt;&lt;BR /&gt;   3. logout/login&lt;BR /&gt;&lt;BR /&gt;   4. analyse /tmp/debug.xsession&lt;BR /&gt;/tmp/debug.xsession.error&lt;BR /&gt;and your local starlog&lt;BR /&gt;&lt;BR /&gt;  II)second modification&lt;BR /&gt;dtstart_sessionlogfile="/dev/null" &lt;BR /&gt;     in : dtstart_sessionlogfile="/tmp/dtsession.log"&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;Pierrick&lt;BR /&gt;</description>
      <pubDate>Thu, 28 Nov 2002 14:58:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ldap-cde-and-xsession-problem/m-p/2853712#M826400</guid>
      <dc:creator>Pierrick herve</dc:creator>
      <dc:date>2002-11-28T14:58:50Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP, CDE and Xsession problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ldap-cde-and-xsession-problem/m-p/2853713#M826401</link>
      <description>It's funny you should say that Pierrick. I tried another user accout and it worked. I moved my home directory and tried it again and it let me in. &lt;BR /&gt;&lt;BR /&gt;So after all that it is something buried in my home directory. I know it is nothing to do with .dt, .dtprofile, .profile or .xsession.&lt;BR /&gt;&lt;BR /&gt;I should be able to find it now though. Thanks for all your help.</description>
      <pubDate>Thu, 28 Nov 2002 15:34:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ldap-cde-and-xsession-problem/m-p/2853713#M826401</guid>
      <dc:creator>Peter Maddison</dc:creator>
      <dc:date>2002-11-28T15:34:27Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP, CDE and Xsession problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ldap-cde-and-xsession-problem/m-p/2853714#M826402</link>
      <description>Whatever is causing this: &lt;BR /&gt;&lt;BR /&gt;/usr/dt/bin/Xsession[598]: 1598 Bus error &lt;BR /&gt;&lt;BR /&gt;is the root of your problem.  I suspect that the shell running Xsession is coring.   You might have a core file in $HOME for that user. &lt;BR /&gt;&lt;BR /&gt;I would guess that this corresponds to the line in Xsession at the end where the dtsession is started: &lt;BR /&gt;&lt;BR /&gt;                               exec $startup &amp;gt;$dtstart_sessionlogfile 2&amp;gt;&amp;amp;1" ;;&lt;BR /&gt;&lt;BR /&gt;(or the equivalent one for csh). &lt;BR /&gt;&lt;BR /&gt;If there is a core file, do a file core and then run gdb &lt;PROGRAM&gt; core to get a backtrace.   The &lt;PROGRAM&gt; will be the result of the file command.&lt;BR /&gt;&lt;BR /&gt;Something in your environment could certainly be causing this.  Xsession and all the programs it runs reads and sources a lot of different components.&lt;/PROGRAM&gt;&lt;/PROGRAM&gt;</description>
      <pubDate>Mon, 02 Dec 2002 12:33:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ldap-cde-and-xsession-problem/m-p/2853714#M826402</guid>
      <dc:creator>Rick Beldin</dc:creator>
      <dc:date>2002-12-02T12:33:56Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP, CDE and Xsession problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ldap-cde-and-xsession-problem/m-p/2853715#M826403</link>
      <description>I tracked it down to the .Xdefaults file in the end. When the Xserver tried reading it, it crashed.</description>
      <pubDate>Mon, 02 Dec 2002 12:35:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ldap-cde-and-xsession-problem/m-p/2853715#M826403</guid>
      <dc:creator>Peter Maddison</dc:creator>
      <dc:date>2002-12-02T12:35:52Z</dc:date>
    </item>
  </channel>
</rss>

