1

I've been long fan of NX nomachine for remote desktop, which worked just fine until some time ago.

Recently I have all the time problems with ALT and CAPSLOCK synchronization, and since I am programming under remote X with vim it starts to drive me crazy. I spent more time figuring out what I accidentally deleted, where I've made typo etc than moving forward.

I figured out that the problem appears only when I have lag of > 20ms to the server. I use ssh tunnel but that's not the problem.

What are other alternatives to NX which do work for you?

btw, i am working with 3.4.0-8 NX under Mac and I connect to Linux machine. Here is the unresolved bug report. Greetings.

bluish
  • 26,356
  • 27
  • 122
  • 180
name
  • 5,095
  • 5
  • 27
  • 36

3 Answers3

0

Why not just use ssh's X11 compression instead of NX? Enable X11 in the remote host's sshd, and do ssh -YC user@remote-host.

Besides, vi/vim is the only editor that can be used on very slow links with long delays. '8j' is much more reliable than pressing the up-arrow key 8 times under such conditions.

bew
  • 631
  • 3
  • 4
  • I use nx since it has better performances over ssh X11. By performance I mean the responsiveness. – name Nov 01 '10 at 14:53
  • Um, not to start an editor war, but there are no conditions under which vi(m) is the only editor that can be used except where it's the only editor installed. – nmichaels Nov 01 '10 at 14:57
  • I've been using vim for more than a decade and I will not switch to anything else because I am happy with it. The problem does not come from the editor but from NX issues. Editor does not have anything to do with it. – name Nov 01 '10 at 15:22
0

Starting out X11 under Mac before starting the NX client reduces this problem in a way which makes it possible to work.

name
  • 5,095
  • 5
  • 27
  • 36
0

You may want to try xpra, it has a switch for high latency links which prevents keys from getting stuck at the cost of not maintaining an always consistent keyboards state: xpra --no-keyboard-sync. Unlike NX, it does not require an X11 server at the client end and will run natively in OSX.

totaam
  • 1,306
  • 14
  • 25