When i run:

ssh -X myRemoteLinuxIP gvim

everything works fine.

But when i run:

ssh -X myRemoteLinuxIP wine notepad

mouse works OK, but keyboard keep typing chars inside ssh terminal window, not inside notepad. What am i doing wrong?

  • keyboard-locales are same on both computers (us layout).
  • using DWM as window manager, but also tried OpenBox and Xwfm4, same result.

Not sure if this is some bug related to wine in combination with some or all window managers... But I finally found one working solution for my needs:

startx <(echo ssh -X myRemoteLinuxIP wine notepad)

which runs wine application as single-app without window manager. And keyboard is finally routed inside the program.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.