I am not able to run my ~/.xinitrc (~/.xsession) scripts when logging into my computer.  I'm using Xubuntu 12.10 with vanilla lightgm as the login manager.  Both these files have the right permission (executable).  I have in my ~/.xinitrc, the following:#!/usr/bin/env bash # read ~/.Xmodmap if it existsif [[ -f ${HOME}/.Xmodmap ]]; then    xmodmap ${HOME}/.Xmodmapfi# read ~/.Xresources if it existsif [[ -f ${HOME}/.Xresources ]]; then    xrdb -load ${HOME}/.Xresourcesfi# use gnome-keyring-daemon to manage keys/usr/bin/gnome-keyring-daemon --start --components=gpg/usr/bin/gnome-keyring-daemon --start --components=sshAny other command (like date >> $HOME/did_start) is not also being executed.Now apparently, even if I delete my ~/.xinitrc and ~/.xsession files, xmodmap seems to be reading ~/.Xmodmap, and ~/.Xresources is also being partly read.  I checked in /etc/X11/Xsession to see if there are any commands which makes it read these two files, and found none. What could be happening?EDIT: Since Gilles asked, I'm using a custom session while login in through lightdm (/usr/share/xsessions/custom.desktop):[Desktop Entry]Name=XsessionExec=/etc/X11/XsessionBut apparently this still starts XFCE via startxfce4 even though I don't have it in my ~/.xinitrc.And as Ulrich Dangel pointed out, there is a line in /usr/xdg/xfce4/xinitrc which reads ~/.Xmodmap and ~/.Xresources, and this script is executed by startxfce4.  So that mystery is now resolved.  But again, the colors (for xterm, urxvt etc.) from ~/.xinitrc is still not being loaded.
~/.xinitrc not being run
ubuntu;x11;lightdm