* Execute command for all users logging in?
@ 1997-11-25 5:00 Brian O'Neill
1997-11-25 5:00 ` Rob Menke
1997-11-25 5:00 ` Rick Retterer
0 siblings, 2 replies; 4+ messages in thread
From: Brian O'Neill @ 1997-11-25 5:00 UTC (permalink / raw)
I'm using the CDE under Digital UNIX 4.0B.
I'd like a way to execute a command whenever a user logs in, regardless
of whether they are actually using CDE or a .xsession file. Under xdm,
it was done through the Xsession file - is there a corresponding one for
CDE?
--
======================================================================
Brian O'Neill - Director of Computing, Computer Science (978) 934-3645
University of Massachusetts Lowell <*> oneill@cs.uml.edu
"My God man...we've become a tourist attraction..." - Londo, Babylon-5
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Execute command for all users logging in?
1997-11-25 5:00 Execute command for all users logging in? Brian O'Neill
@ 1997-11-25 5:00 ` Rob Menke
1997-11-26 5:00 ` Brian O'Neill
1997-11-25 5:00 ` Rick Retterer
1 sibling, 1 reply; 4+ messages in thread
From: Rob Menke @ 1997-11-25 5:00 UTC (permalink / raw)
Brian O'Neill wrote:
> ... is there a corresponding one [Xsession file] for CDE?
Yes. The custom Xsession file is located in /etc/dt/config/Xsession.
Unless you've done any customization of your system, the path probably
doesn't exist. dtlogin(1) says that the default file should be copied
from /usr/dt/bin/Xsession (that's BIN) to /etc/dt/config/Xsession
(that's CONFIG). Or you could take the easy way out and drop something
into /etc/dt/config/Xsession.d/. Here, we use /etc/.../Xsession.d/ to
set up search paths to our application host. But if you're launching an
X application, you'll need to muck with Xsession itself.
(/etc/.../Xsession.d/ launches before dthello).
Read dtlogin(1) for the execution stages of Xsession. I've been burned
there before...
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Execute command for all users logging in?
1997-11-25 5:00 Execute command for all users logging in? Brian O'Neill
1997-11-25 5:00 ` Rob Menke
@ 1997-11-25 5:00 ` Rick Retterer
1 sibling, 0 replies; 4+ messages in thread
From: Rick Retterer @ 1997-11-25 5:00 UTC (permalink / raw)
Brian O'Neill wrote:
>
> I'm using the CDE under Digital UNIX 4.0B.
>
> I'd like a way to execute a command whenever a user logs in, regardless
> of whether they are actually using CDE or a .xsession file. Under xdm,
> it was done through the Xsession file - is there a corresponding one for
> CDE?
> --
> ======================================================================
> Brian O'Neill - Director of Computing, Computer Science (978) 934-3645
> University of Massachusetts Lowell <*> oneill@cs.uml.edu
> "My God man...we've become a tourist attraction..." - Londo, Babylon-5
/usr/dt/bin/Xsession -Read the header of the file for more info.-
Rick Retterer
LiNuX UsEr
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Execute command for all users logging in?
1997-11-25 5:00 ` Rob Menke
@ 1997-11-26 5:00 ` Brian O'Neill
0 siblings, 0 replies; 4+ messages in thread
From: Brian O'Neill @ 1997-11-26 5:00 UTC (permalink / raw)
Rob Menke wrote:
>
> Brian O'Neill wrote:
>
> > ... is there a corresponding one [Xsession file] for CDE?
>
> Yes. The custom Xsession file is located in /etc/dt/config/Xsession.
> Unless you've done any customization of your system, the path probably
> doesn't exist. dtlogin(1) says that the default file should be copied
> from /usr/dt/bin/Xsession (that's BIN) to /etc/dt/config/Xsession
> (that's CONFIG). Or you could take the easy way out and drop something
> into /etc/dt/config/Xsession.d/. Here, we use /etc/.../Xsession.d/ to
> set up search paths to our application host. But if you're launching an
> X application, you'll need to muck with Xsession itself.
> (/etc/.../Xsession.d/ launches before dthello).
Figures...CDE likes to spread it's config files around alot.
I copied Xsession to /etc/dt/config, but that didn't work. I managed to
get it to work by going the Xsession.d route though...
--
======================================================================
Brian O'Neill - Director of Computing, Computer Science (978) 934-3645
University of Massachusetts Lowell <*> oneill@cs.uml.edu
"My God man...we've become a tourist attraction..." - Londo, Babylon-5
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1997-11-26 5:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-11-25 5:00 Execute command for all users logging in? Brian O'Neill
1997-11-25 5:00 ` Rob Menke
1997-11-26 5:00 ` Brian O'Neill
1997-11-25 5:00 ` Rick Retterer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox