Well, after much kibbitzing about, and generally poking my nose into places that it really shouldn't need to go, I found this interesting little script called "chksession", that gets called by "fndSession", which in turn gets called by "mandrake_everytime", which in turn appears to get called every time the system boots. In this interesting little script is a very interesting little place which rewrites all of the scripts in '/etc/X11/gdm/Sessions/' so that they all have to use the script '/etc/X11/Xsession', which in turn, doesn't work on a reasonably generic install. (I admit, I may have done something which causes the script not to work, but I cannot figure out what it might possibly have been. I'll look into that later.) Anyway, the point is, that after I mucked about for a while longer, I found that 'chksession' (or one of it's callers) gets run all over the durn place, and I just don't have the time to figure out if it is actually doing something useful somewhere. To that end I edited chksession so that it 're-writes' my '/etc/X11/gdm/Sessions/Enlightenment' script so that it looks like it should have in the first place. I just wanted you all to quit losing sleep over poor little old me, so I thought I'd let you know that I hacked (in a SERIOUS way) my way around the problem, and everything works fine now. Next step, fix 'Xsession' so that I can put 'chksession' back the way it belongs. I suppose I aught to fix 'chksession' so that it still does the useful parts, but doesn't overwrite user edits. Nite all! topher (the thoroughly annoyed) Earlier today, I wrote: OK, so there is this large part of me that REALLY wants to be using my .xsession to do things like run ssh-add, remap the 'Caps Lock' key to where it should be, etc. I have found, however, that when I try to use my .xsession in correlation with 'gdm', it doesn't work. I have also found that my .xsession keeps getting re-written to just launch my window manager (Enlightenment). After a LOT of research, I finally found the 'gdm' scripts (located in /etc/X11/gdm for those of you who are wondering) and made the modifications to the '/etc/X11/gdm/Sessions/Enlightenment' script that was necessary to make ssh-add run, and run 'xmodmap /home/$USER/.keymap', if it exists. It worked wonderfully, until I rebooted, then mysteriously, my '/etc/X11/gdm/Sessions/Enlightenment' has been re-written to just launch Enlightenment (using the /etc/X11/Xsession script, that SAYS it want's to run ssh-add if you have a ~/.ssh/identity file, but doesn't actually ever do it....) So now, I am taking suggestions and assistance to make this work correctly, and STAY working correctly. I'd either like to a) get the /etc/X11/Xsession script to run correctly, b) find whatever is re-writing my .xsession and /etc/X11/gdm/Sessions files and kill it, or c) find the alternative I haven't found yet for running things before the windows manager is launched. Your assistance is much appreciated! (P.S. in order to get 'ssh-add' to work correctly, I had to kill the line that calls /etc/X11/Xsession and change the line to just 'exec /usr/bin/enlightenment', else ssh-add just works on /etc/X11/Xsession and Xsession runs the windows manager, thus making 'ssh-add' neigh on useless...) Thanks! toph -- PGP Key fingerprint = 078E F3BA CA0E 0790 9992 68F8 31E7 B967 5AB3 AC11
