On Wed, Sep 07, 2005 at 06:30:58AM -0700, Dan Nicholson wrote: > > OK, so now I'm convinced that xdm and gdm aren't as evil as I thought, > how can I configure them to mock my /bin/login procedure? Where are the > config files?
In /etc I presume. I don't use either of them. Once you find it (assuming it's called xdm.conf) then try man xdm.conf. Google also will be very valuable in finding little tweaks that may not be documented or that may be unclearly documented. > I agree. Given that it's going to happen whether I moan about it or > not, do you know where the xterm configuration takes place. Not having X on this current box, I'm *guessing* /etc/X11/apps or /etc/X11/xterm or some such. Also, in your homedir you can have a file called .Xdefaults to override the global ones in /etc. So basically you must decide what you want everyone who logs in to have and make those changes in /etc. If you are the only person, I found it easiest to just maintain a ~/.Xdefaults file. Also, the stuff that Randy wrote about profile files sourcing this and that should allow xterm to provide you with the environment that a console login has, though he takes a slightly different approach by using ~/.profile instead of ~/.bash_profile. Make sure to read the BLFS page on bash startup files, especially the comments in the files as to what should be global/local and what should be in profile vs. bashrc. Here's my ~/.Xdefaults (note the loginShell parameter which causes xterm to source ~/.bash_profile): xterm*font: 7x13 xterm*background: black xterm*foreground: grey *loginShell: true ! Use color for underline attribute *VT100*colorULMode: on *VT100*underLine: off ! Use color for the bold attribute *VT100*colorBDMode: on ! Lots of scrollback *VT100*saveLines: 5000 ! Use -color app-defaults in /usr/X11R6/lib/X11/app-defaults *customization: -color -- Archaic Want control, education, and security from your operating system? Hardened Linux From Scratch http://www.linuxfromscratch.org/hlfs -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
