So there's this other proprietary solution, Nomachine NX with a free companion FreeNX. I decided to give it a try today, and after spending some time contemplating how to get it installed on Debian, it's not in the main repository because the basic architecture is broken (it's including it's own copy of X and SSH and some other stuff), I finally realized that the easiest setup was probably just downloading and installing the .debs on Nomachine's web site.
I was hoping to get
emacs &working, but it's a bit weirder than that. You have to start up a graphical connection thing, in which you can fortunately select a console. This gives you a remote xterm. The rest is simple.
I must say I'm very impressed with the performance. Of course, I'm only using Emacs but it works really well. It's like being connected through a local network.
setxkbmap [layout]where layout is "dk" or "de" or similar. Except
setxkbmapwasn't installed. So I installed it. Then it was missing it's data. I installed that too. Now everything is fine.
If someone would now just port this kind of thing to the default X.org setup, then I would be a happy man. No more console Emacs sessions.