![]() This means either using your NERSC password and one-time-code every time you connect to NoMachine, or configuring sshproxy to generate a daily SSH key pair. NoMachine at NERSC is hosted via the SSH protocol, so you must configure your connection to NERSC to authenticate via SSH. To use NoMachine at NERSC, you will first need to download and install the appropriate version of the NoMachine Enterprise Client for the operating system on your laptop or workstation. Getting Started with NoMachine ¶ Install the NoMachine Client ¶ If you would prefer to use the lighter-weight Xfce desktop, please see Use Xfce instead of GNOME further down this page. ![]() Most of the instructions on this page assume the use of the GNOME desktop environment. The current default environment on NERSC NoMachine nodes is GNOME desktop running on CentOS linux. NoMachine also allows a user to disconnect from a session and reconnect to it at a later time while keeping the state of all running applications inside the session. NoMachine can greatly improve the response time of X Windows and is the recommended method of interacting with GUIs and visualization tools running on NERSC resources. # Physical scancodes Ctrl: 1d Win/Super: e05b Alt: 38 # Letter's keycodes Ctrl: 29 Win/Super: 125 Alt: 56 # Set your Laptop, desktop or Chromebook to use the Apple Layout sudo setkeycodes 1d 56 sudo setkeycodes e05b 29 sudo setkeycodes 38 125 # Set your values back to their original values sudo setkeycodes 1d 29 sudo setkeycodes e05b 125 sudo setkeycodes 38 56Īdditional information on setkeycodes (near the bottom) can also be found here.NoMachine (formerly NX) is a computer program that handles remote X Window System connections and offers several performance improvements over traditional X11 forwarding. ![]() # Note: This example only shows what my values were on the left side of the keyboard, this procedure can easily be repeated for the right side keys as well if you wish to do so. # Discover Scancodes (hexadecimal) for Ctrl, Win/Super, Alt sudo showkey -scancodes # Discover Keycodes (decimal) for Ctrl, Win/Super, Alt sudo showkey -keycodes # The following will be unique to your laptop or desktop, so do not use mine, unless you happen to have the same Chromebook I have. # Your keycodes are the letters those physical keys trigger when pressed. Linux Remap for macOS Remote Access sudo setkeycodes # Your scancodes are the literally address of your physical keys. I may try and automate this later, but for now mentioning it here will have to do. This was rather difficult and I almost gave up on figuring it out because every other method I was aware of kept failing, xmodmap, uinput via xkeysnail, setxkbmap options, & hwdb, but finally I found setkeycodes and the series of steps one would need to perform. Lastly and what this article is really written for is how you can accomplish remote desktop use for macOS from Linux. If that fails to work then Sharpkeys can remap your keys for sure & if you want to continue to use Kinto locally then you can change its keyboard type to Apple for proper keymaps during normal usage. Also the very simple modifier key remap built-in to macOS is completely useless during remote desktop use or VNC solutions, even the one built-in.įor Windows the solution is likely pretty simple - you can likely use Autohotkey or modify kinto.sh to remap your keys during a specific remote application having focus. Every remote desktop application I came across also seemed to lack the ability to remap your keys as well, commercial or not. What about the key mapping though? If your keyboard is not already laid out like that of a macbook then you may be in for a bit of a surprise when your keys no longer line up properly for macOS. Ok, so that quickly gets to how, or what to use rather, to remote into macOS or Linux even (combine xRDP w/ NoMachine and it becomes even more flexible for screen sizes that can literally change and scale perfectly on a whim). ![]() That’s an ok deal - but lately I have found a cross-platform application that is free for personal use and has identical, if not better performance even, NoMachine. Of course if you want to purchase a license for iRAPP, or what is now Nuords RDP server, for macOS then you can have much better performance at a cost of about $50 a year. ![]() Until recently I had not tried this and for a few reasons, the built-in screen-sharing of macOS via VNC has always been a subpar experience for me compared to something as sophisticated as RDP. So I am the author of kinto.sh and one of the things that I have ensured users of my app is the ability to remotely access Linux or Windows with their macOS based keybinds intact - but what about going back to macOS from Linux or Windows while using a non-Apple keyboard? ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |