- Debian Wheezy/Sid with XDM
urxvtas terminal as well as
i3as window manager
/.Xresourcesas session and resources file, respectively.
Last night I accidentally used up all my battery, so my notebook shut down. Since then, whenever I try to login with xdm (as launched by startup), the session crashes and loops back to the login screen as described here.
However, if I start XDM manually by
sudo xdm -session ~/.xsession
I can log in normally without the session crashing. Judging from the terminal layout I get,
~/.Xresources isn't loaded and adding
-resoucres ~/.Xresources to the line starting XDM doesn't help either.
Now, what I want is XDM to behave as before on startup, that is not to loop back to login screen after logging in, and my terminal to look as before. I believe that means I have to tell XDM to use
~/.Xresources as well as
~/.xsession by default.
I also tried to launch XDM as
sudo xdm -config .xdm-config
~/.xdm-config is a config file I copied from
/etc/X11/xdm/xdm-config in which I changed the values of the lines
As before (manually specifying) the correct session file was used, but the terminal layout remained wrong, so the correct resources file probably wasn't used.
What can I do?