Mac OS X Lion 中 NX 的键盘映射问题
我试图回答马克的问题:
Keymap从 Mac OS X Lion 到 Ubuntu 的 NX 问题
然而,它已被锁定,所以我想我会发布一个新的问题/答案。
我几天来一直在尝试回答这个问题,因为当我通过 NX 客户端(技术上是 OpenNX)从 iMac(带有 Lion)连接到 FreeNX 服务器时没有出现任何问题,但如果我尝试连接 Macbook Pro,我会变得很糟糕键盘绑定问题。
I tried to answer the question from Mark:
Keymap issues with NX from Mac OS X Lion to Ubuntu
However, it is locked so I figured I would post a new question / answer.
I have been trying to answer this for a few days now because I have no issues when connecting through NX Client (technically OpenNX) to FreeNX server from an iMac (with Lion), but if I try to connect with a Macbook Pro I get horrible keyboard binding issues.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
我遇到了同样的问题(我使用的是 OSX 10.7 Lion 的 Macbook Air),恢复到 0.16.0.648 也解决了我的问题。
I had the same issue (I'am on a Macbook Air with OSX 10.7 Lion) and reverting back to 0.16.0.648 fixed the problem for me too.
我使用的是 OSX 10.8.4 的 Macbook Air。我尝试过 OpenNX 版本 648、649 和 725 连接到 Ubuntu 13.04。每个都不是开箱即用的,即使使用上述编辑我的个人资料配置文件的技巧,我的键盘映射仍然不正确。 (sshlog 显示 '--keyboard="empty/empty"')
连接后,在所有这些情况下,'d' 键最小化所有打开的窗口,向上箭头键最大化当前窗口,向下键恢复它恢复到原来的大小。我的观点是,通过上述所有尝试更改 Mac OpenNX 客户端上的某些内容,我开始认为问题是 Canonical 在 Ubuntu 13.04 和/或 FreeNX 上所做的事情。后者看起来没有更新,因为我必须从 12.xx ppa 安装它。
作为进一步的数据点,即使 X2Go 连接在使用 Gnome 桌面时也表现出完全相同的行为。在 X2Go 情况下,客户端对话框显示使用 pc105/us 键盘。
我希望这能给其他人一些继续下去的机会。我无法将其添加为评论,因此必须将其作为答案,抱歉。
I'm on a Macbook Air with OSX 10.8.4. I've tried release 648, 649, and 725 of OpenNX to connect to Ubuntu 13.04. Each didn't work out of the box and even with the above trick of editing my profile's cfg, my keyboard mapping still isn't right. (The sshlog shows '--keyboard="empty/empty"')
Once connected, in all of these cases, the 'd' key minimizes all open windows, the up arrow key maximizes the current window, and the down key restores it to its original size. My point is that with all of the above attempts changing something on the Mac OpenNX client, I'm starting to think the problem is something Canonical has done with Ubuntu 13.04 and/or FreeNX. That latter doesn't look like its been updated since I had to install it from the 12.xx ppa.
As a further datapoint, even X2Go connections exhibit the exact same behavior when using the Gnome desktop. In the X2Go case, the client dialog shows using a pc105/us keyboard.
I hope this gives others something to go on. I couldn't add this as a comment so had to do it as an answer, sorry.
我在 10.7.5 中遇到了这个问题,修复方法是安装 XQuartz 而不是本机 X 服务器。嗯,主要是修复。 CAPS LOCK 是倒置的,即关闭时全部大写,打开时正常,但除此之外键盘可与 XQuartz 配合使用。安装简单
而且它没有破坏 Mac 上的任何其他东西。虽然对我来说更有效的是在 Mac 上加载 Ubuntu,但现在我已经将其设置为双启动。
I had this problem with 10.7.5, the fix was to install XQuartz instead of the native X server. Well, mostly fix. The CAPS LOCK is inverted, that is, it's all caps when it's off and normal when it's on but otherwise the keyboard works with XQuartz. Installation is easy
and it didn't break anything else on the Mac. Although what is working even better for me was to load Ubuntu on the Mac, right now I have it setup dual-boot.
对我有用的修复方法是进入:
~/.nx/config/HOST.nxs
并进行更改:
我已经在三台 NX 服务器上尝试过此操作,并且全部已修复。希望它能帮助您或让您更接近。始终检查 ~/.nx/temp/ 中的 sshlog 并查看是否 --keyboard="empty/empty" 而不是 "pc105/en",因为 Mac 确实是 pc104。
9:05:35:startsession --session="HOST" --type="unix-gnome"
--cache="8M" --images="32M" --link="adsl" --geometry="2556\ x1396" --screeninfo="2560x1440x32+渲染" --keyboard="空/空" -- backingstore =“1”--加密=“1”--composite =“1”--\ shmem =“1”--shpix =“1”--streaming =“1”--samba =“0” --cups="0" --nodelay="1" --defer="0" --client="macosx" --media="0" --st\ rict="0" --aux="1 ”
The fix that is working for me is to go into:
~/.nx/config/HOST.nxs
and change:
I have tried this on three NX Servers and all are fixed. Hope it helps or gets you closer. Always check in the ~/.nx/temp/ for the sshlog and see if --keyboard="empty/empty" instead of "pc105/en" because the Mac is really pc104.
9:05:35: startsession --session="HOST" --type="unix-gnome"
--cache="8M" --images="32M" --link="adsl" --geometry="2556\ x1396" --screeninfo="2560x1440x32+render" --keyboard="empty/empty" --backingstore="1" --encryption="1" --composite="1" --\ shmem="1" --shpix="1" --streaming="1" --samba="0" --cups="0" --nodelay="1" --defer="0" --client="macosx" --media="0" --st\ rict="0" --aux="1"