----- "john" <[EMAIL PROTECTED]> wrote: | From: "john" <[EMAIL PROTECTED]> | To: "Oliver Grawert" <[EMAIL PROTECTED]> | Cc: [email protected] | Sent: Sunday, August 31, 2008 5:21:55 PM GMT -05:00 US/Canada Eastern | Subject: Urgent help request! was Re: how do you get something to run when a user logs on? | | Hi all, | | I am two days away from the start of school and the problem I | described before still applies to me. If I can't figure this out I'll | have to put off my upgrade to 8.04 (or 8.10 perhaps) until December. | I'd really appreciate any help. | | This issue is I want to run some scripts that up until now have been | called by /etc/profile. This has worked for me up through Edubuntu | 7.04 The scripts use the system variables $HOME and $USER to map NFS | shares to users desktops. I understand from oli and others that the | image generated by 8.04 doesn't reference /etc/profile when users log | in. | Hi John, I had this problem when I upgraded to Gutsy (https://lists.ubuntu.com/archives/edubuntu-users/2008-February/003598.html) What I ended up doing was using the information on this page... http://trac.64studio.com/64studio/ticket/107 and put this file: http://trac.64studio.com/64studio/attachment/ticket/107/15shell_profile into: /etc/X11/Xsession.d Make sure it is executable: chmod 755 /etc/X11/Xsession.d/15shell_profile
Afterwards all my printer settings and other tweaks worked as before. Craig | | 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 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 there. Can someone help me out? | > ldm is executing /etc/X11/Xsession by default ... (like gdm or kdm | do) | > one option would be to put stuff into /etc/X11/Xsession.d, another | is to | > use the xdg autostart mechanism in /etc/xdg/autostart | > | > ciao | > oli | > | | -- | edubuntu-users mailing list | [email protected] | Modify settings or unsubscribe at: | https://lists.ubuntu.com/mailman/listinfo/edubuntu-users -- edubuntu-users mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/edubuntu-users
