It seems the problem has been solved by changing the session file like this:
[Desktop Entry] Name=Xsession Exec=/etc/X11/Xsession Then, since Xsession doesn't read the ~/.xinitrc but the ~/.xsession one, I had to link them: $ ln -s ~/.xinitrc ~/.xsession That's all. Thanks for the help! 2012/11/5 Raphael Proust <raphla...@gmail.com> > On Mon, Nov 5, 2012 at 9:05 AM, clamiax <smo...@gmail.com> wrote: > > > > 2012/11/5 Raphael Proust <raphla...@gmail.com> > >> > >> How do you restart dwm? > > > > meta-shift-q > > > >> > >> How do you invoke it in your .xinitrc? > > > > exec dwm > > > >> > >> Basically, paste your .xinitrc (or a simplified version that still > >> exposes the behaviour you have) to get some help. (Your dwm/config.h > >> might be useful, depending on your setting.) > > > > I may reproduce the problem with a vanilla config.h and an xinitrc file > > containing only the line "exec dwm". > > > > I hope not getting into one of Ubuntu many weird windows-like problems. > > Either that or your dm is making something funky. I can observe the > same on this Ubuntu machine running lightdm and a similar .desktop and > .xinitrc. (Does not happen in Arch with sldm.) > > pstree(1) indicate that the old processes are abandoned by lightdm and > passed over to init. Not sure why. > > -- > ______________ > Raphaƫl Proust > >