| T.R | Title | User | Personal Name
 | Date | Lines | 
|---|
| 279.1 |  | FLUME::dike |  | Thu Feb 23 1989 09:27 | 5 | 
|  | With a session manager running, .login should never be run in a terminal
emulator.  You are seeing correct behavior.  If stuff needs to run when you log
in, put it in .X11Startup.
				Jeff
 | 
| 279.2 | dxterm -ls | OIWS20::BRYSON |  | Thu Feb 23 1989 09:38 | 9 | 
|  |     The only time that .login should be run on a dxterm is if you start
    dxterm with the -ls switch which specifies that it is a login shell.
    Otherwise, it will never be executed.  However, your .cshrc (if you
    are running csh) will be executed everytime since it is a new shell
    invocation.  Re .1 states it best.
    
    David
    
 | 
| 279.3 |  | GIDDAY::KOTWAL | Ain't no flies of us - Mate! | Thu Feb 23 1989 17:33 | 21 | 
|  | 
With all due respect, I think you're missing the point of my statement in
.0.
> When I create a terminal window using the dxsession manager, .login is
> run for each window created.  i.e. dxterm seems to be run as a login window
> each time, instead of a subwindow.
I had not at that stage modified .Xdefaults to add 
		sm.TerminalEmulatorName: dxterm
Therefore I presume that default actions were being taken.
This would indicate that a "dxterm -ls ...." was being done by default.
If this is indeed the case, I find it rather strange.  I would have thought
that it would be better to make the default case (no) -ls, and heavily
document in dxterm(1) that you should use .X11startup instead of .login.
Rashid.
 | 
| 279.4 | Some day I should learn to read | FLUME::dike |  | Fri Feb 24 1989 08:33 | 4 | 
|  | You're right.  The default is for the session manager to do a dxterm -ls.  That
seems to be to be a bug.  You did find a good work-around, though.
				Jeff
 |