20 Jan
2006
20 Jan
'06
11:51
Hi. Just spent few hours fighting with X11 session scripts. It seems that they are slightly broken ;) If you would look inside .xinitrc.template, you will see that it is supposed to be called by /etc/X11/xdm/sys.xsession (judging from the commented-out ssh-add line). However it's easy to check (by simply examining the contents of /etc/X11/xdm/Xsession) that in the presence of ~/.xsession or ~/.xinitrc they would be called directly and not via sys.xsession. The only reasonable workaround I have invented so far is to create a dummy ~/.xsession, which just calls /etc/X11/xdm/sys.xsession and then put all the things you wanted in .xinitrc. Is it supposed to work that weirdly? -- Best regards, Alexander.