I guess most of you already know the ability to turn on the "remote desktop" feature in Ubuntu, which basically allows you to remote control the desktop using the VNC protocol (Ubuntu/Gnome uses vino-server for that).
Some people, including me, are used to have problems when it comes to keyboard layout switching using this configuration. This means that under some circumstances (especially when remote controlling using Windows), you cannot switch between keyboard layouts, and thus cannot type in Hebrew or other languages.
Most solutions on the net include modifying some configuration files manually. Since I'm always looking for cleaner solutions, I continued digging, and found out that using the latest UltraVNC client solved this issue. You can use it and switch keyboard layouts freely.