~/.xinitrc not being run

view story

http://unix.stackexchange.com – 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 exists if [[ -f "${HOME}/.Xmodmap" ]]; then xmodmap "${HOME}/.Xmodmap" fi # read ~/.Xresources if it exists if [[ -f "${HOME}/.Xresources" ]]; then xrdb -load "${HOME}/.Xresources" fi # use gnome-keyring-daemon to manage keys /usr/bin/gnome-keyring-daemon --start --components=gpg /usr/bi (HowTos)