.xsession file causes login crash?
i'm trying to use the 'xmodmap' command inside the '.xsession' file to map my mouse buttons but for some reason x crashes right after login.
i got an error message saying "Your session only lasted less than 10 seconds ......"
clicking on 'vew details' shows no errors at all. this is strange because i never had this problem on other distributions.
the problem goes away if rename the file. however even an empty .xsession file causes the crash! .xinitrc does exactly the same thing!
anyone has any idea on how to fix this? im using gdm btw.
my .xsession file has a single line:
xmodmap -e "pointer = 1 2 3 6 7 4 5"