I tried a simple experiment, adding setuid to xinit file, with chmod u+s /usr/bin/xinit
After do this, I stopped xdm and execute startx to run the DE directly. And now Xorg finish correctly when I logout!! :-) 2018-06-12 0:14 GMT+02:00 Almudena Garcia <liberamenso10...@gmail.com>: > It's correct :) > > But my solution cause another problem: If I want to return to tty, I have > to stop the xdm service from the same DE, which It's a bit bizarre ;) > > 2018-06-12 0:10 GMT+02:00 Samuel Thibault <samuel.thiba...@gnu.org>: > >> Almudena Garcia, le mar. 12 juin 2018 00:08:18 +0200, a ecrit: >> > I've just installed xdm. If I start the DE session from this, the logout >> > returns correctly to the login screen >> >> Yes, because the X server does not need to be killed in that case :) >> >> Samuel >> > >