how do you get something to run when a user logs on?

2008-08-28 Thread john
Hi all, I was wondering where I can put scripts that I want to run when a user logs on to a thin client. I used to put them in /etc/profile but that doesn't seem to work under Hardy. It seems like LDM is somehow by-passing the stuff I put there. Can someone help me out? Thanks! John --

Re: how do you get something to run when a user logs on?

2008-08-28 Thread Oliver Grawert
hi, On Do, 2008-08-28 at 08:03 -0700, john wrote: Hi all, I was wondering where I can put scripts that I want to run when a user logs on to a thin client. I used to put them in /etc/profile but that doesn't seem to work under Hardy. It seems like LDM is somehow by-passing the stuff I put

how do you kill a user's old processes when they try to log back on

2008-08-28 Thread Todd O'Bryan
My students often manage to lock up the terminal, usually as a result of the pixmap bug in Firefox and OpenOffice that has been much discussed. When that happens, they have to power down and restart the client. But when they try to log back in, their login stalls, because their old processes are

Re: how do you get something to run when a user logs on?

2008-08-28 Thread francois
Le jeudi 28 août 2008 à 08:03 -0700, john a écrit : I was wondering where I can put scripts that I want to run when a user logs on to a thin client. I used to put them in /etc/profile but that doesn't seem to work under Hardy. It seems like LDM is somehow by-passing the stuff I put there. Can

Re: how do you get something to run when a user logs on?

2008-08-28 Thread john
Hi oli, Thanks again for this approach. Is there a story behind the move away from using /etc/profile and /etc/gdm/PostLogin? I'd be interested in hearing it. Thanks! John On Thu, Aug 28, 2008 at 8:27 AM, Oliver Grawert [EMAIL PROTECTED] wrote: hi, On Do, 2008-08-28 at 08:03 -0700, john

Re: how do you get something to run when a user logs on?

2008-08-28 Thread David Van Assche
In reality, there has been no move away from the standard practices you describe below. The difference is that we often forget that the /etc/profile and .../PostLogin are really being read from the user's chroot (/opt/ltsp/name-of-chroot/etc/profile) and that these then need to be rebuilt using