On 2014-03-20, Vincent Lefevre <vincent@vinc17.net> wrote: > > For instance, type: > > sleep 2; exit > > and Ctrl-C just after. The "sleep 2" is interrupted, but "exit" > isn't run. > > You could still do "exec startx", but this may not be OK if you > want *logout files to be sourced for clean-up. Not using sudo would maybe be the most robust solution.