I've not had a chance to attach via gdb etc. but interestingly, first starting emacs as emacs -nw on the remote machine appears to avoid the problem. (I do have server-start in my init). On the other hand emacs --daemon appears to be quitting when I logout from the remote machine. -- Thanks, --Raman ♈ Id: kg:/m/0285kf1 🦮