<?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: Automatically Executing .PROFILE when using XTERM in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/automatically-executing-profile-when-using-xterm/m-p/2895830#M820052</link>
    <description>xterm -ls works fine but the problem is likely due to using CDE or VUE to start terminal windows. The designers for these window managers decided that xterm (or dtterm or hpterm) should start without a 'normal' login (don't ask, no one will admit knowing).&lt;BR /&gt;&lt;BR /&gt;You could edit the window manager config files but I prefer to make sure that all methods to start the terminal emulator(s) will perform a true Unix login and run /etc/profile, then .profile (and if setup, .kshrc, etc). In that case, you can create a file in your $HOME directory called .Xdefaults.  For each user of the system, have them do this one time:&lt;BR /&gt;&lt;BR /&gt;echo *loginShell: true" &amp;gt;&amp;gt; $HOME/.Xdefaults &lt;BR /&gt;&lt;BR /&gt;and now xterm (and dtterm and hpterm) will always login 'normally'.&lt;BR /&gt;</description>
    <pubDate>Tue, 04 Feb 2003 03:28:44 GMT</pubDate>
    <dc:creator>Bill Hassell</dc:creator>
    <dc:date>2003-02-04T03:28:44Z</dc:date>
    <item>
      <title>Automatically Executing .PROFILE when using XTERM</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automatically-executing-profile-when-using-xterm/m-p/2895828#M820050</link>
      <description>How can I automatically execute .PROFILE when I open up  a new XTERM window.&lt;BR /&gt;&lt;BR /&gt;I am using Korn Shell.</description>
      <pubDate>Mon, 03 Feb 2003 21:14:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automatically-executing-profile-when-using-xterm/m-p/2895828#M820050</guid>
      <dc:creator>oradba</dc:creator>
      <dc:date>2003-02-03T21:14:48Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically Executing .PROFILE when using XTERM</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automatically-executing-profile-when-using-xterm/m-p/2895829#M820051</link>
      <description>Hi there,&lt;BR /&gt;&lt;BR /&gt;This should do it:&lt;BR /&gt;&lt;BR /&gt;xterm -ls&lt;BR /&gt;&lt;BR /&gt;-Cody G</description>
      <pubDate>Mon, 03 Feb 2003 23:42:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automatically-executing-profile-when-using-xterm/m-p/2895829#M820051</guid>
      <dc:creator>Cody Godines_1</dc:creator>
      <dc:date>2003-02-03T23:42:32Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically Executing .PROFILE when using XTERM</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automatically-executing-profile-when-using-xterm/m-p/2895830#M820052</link>
      <description>xterm -ls works fine but the problem is likely due to using CDE or VUE to start terminal windows. The designers for these window managers decided that xterm (or dtterm or hpterm) should start without a 'normal' login (don't ask, no one will admit knowing).&lt;BR /&gt;&lt;BR /&gt;You could edit the window manager config files but I prefer to make sure that all methods to start the terminal emulator(s) will perform a true Unix login and run /etc/profile, then .profile (and if setup, .kshrc, etc). In that case, you can create a file in your $HOME directory called .Xdefaults.  For each user of the system, have them do this one time:&lt;BR /&gt;&lt;BR /&gt;echo *loginShell: true" &amp;gt;&amp;gt; $HOME/.Xdefaults &lt;BR /&gt;&lt;BR /&gt;and now xterm (and dtterm and hpterm) will always login 'normally'.&lt;BR /&gt;</description>
      <pubDate>Tue, 04 Feb 2003 03:28:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automatically-executing-profile-when-using-xterm/m-p/2895830#M820052</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2003-02-04T03:28:44Z</dc:date>
    </item>
  </channel>
</rss>

