MacOs "alt+key" combination (e.g. \ #) on Centos VirtualBox not working - linux

I am having a probably trivial issue with the Cloudera Quickstart virtual machine. I tried many things out, but I don't manage to make it work. So, first, I installed the Virtualbox image on a Windows workstation which has a German standard (qwertz) keyboard.
In the virtual machine, which runs a Linux Centos, I set the German keyboard and everything works fine. Now, as the workstation is in my office, I installed TeamViewer, in order to connect from my MacBook from home. And here it comes the issue that struggles me.
The MacBook has a German keyboard and all the keys, which do not require the alt combination works fine. If I need, for example # (alt+L) or \ (alt+shift+7), or anything that requires the alt combination, nothing appears on the Centos (in the Windows workstation it would correctly appear!). Could you imagine to code without \ ~ # ??
I tried also to install a German(Mac) keyboard and also a screen keyboard (florence) in the Centos and they also do not work properly. Is it a TeamViewer issue or a VirtualBox issue? How can I solve it?
Any help is appreciated!

I figure out that is a Virtualbox issue, that takes the keyboard configuration of the host in which is installed, in this case Windows 10. I could not find a simple way changing the keyboard setting in the Centos machine run via the Mac Os in TeamViewer to make it work. So, as workaround, I opted for using Docker Cloudera Quickstart rather than the VM. And everything works fine and can happily type all the #~|\ that I need.

Related

Built in keyboard not working on virtualbox

I'm trying to run macOS on my windows 10 laptop. But everytime I boot my system it tries to find a startup.nsh file, I know how to create a .nsh file its just that my virtual box is not letting me type at all. I even tried to use the soft "virtual" keyboard but still nothing. Does anyone have a fix?
Making a macOS VM on windows is not simple as any other operating systems, there is many tutorials for that like :https://www.makeuseof.com/tag/macos-windows-10-virtual-machine/
This is because apple makes it's software only for it's products and isn't made to be compatible for other devices out of the box.

Alt-Tab not working for guest operating systems in Virtualbox on Fedora 25

I do lots of research on net but I couldn't find any solution to my problem.
My host machine is Fedora 25 and I have two guest OS (Kali Linux and Windows 10). Both in my guest OSs every shortcut works properly(Ctrl+C etc.). But alt+tab and Windows key shortcuts doesn't work for guest os. Even i activate or deactivate host key (Right Ctrl) it still tabs between programs in host os. Please help me?
For now, as discussed here, it looks like Windows Key + Alt + Tab does the trick
It is indeed a Wayland problem (https://bugs.freedesktop.org/show_bug.cgi?id=97333). Switching back to X11 solves the problem (on Debian Buster, uncomment #WaylandEnable=false in /etc/gdm3/daemon.conf, look for a similar file in Fedora)
After an upgrade to VirtualBox 6.0, alt-tab stopped working; it would switch to windows on the host, not on the (Linux) virtual machine.
Just by accident I discovered that left-clicking on the application shortcut (in the vertical strip on the left side of the screen) will switch to that application in the virtual machine, like alt-tab used to do.
I am on VirtualBox 6.0.14 under Windows 8 host OS. Guest OS is Arch linux. The Host key (Right Ctrl) when in guest OS followed by Alt + Tab worked fine until I pressed some key blindly.
Since then it stopped working unitil I occasionally pressed Host key followed by Alt + Esc. This sequence now works fine to switch from guest OS to host OS. Then the host OS Alt + Tab works normally.
If you remove all gnome3 configuration and start from a fresh login of gnome shell it also works.
And the solution for use the right alt to the guest and left alt for the host also works.
Switching from Wayland to Xorg, at the login screen, fixed this issue for me.
Debian, linux kernel 5.3.0-1-amd64
Gnome-shell 3.34.1
Virtualbox 6.0.14_Debian r132055
As #ChennyStar and #stelios mentioned, this problem is related to gnome wayland. The same problem for virtual box is also visible in vmware workstation. There is a copy/paste problem between host and guest which is related to this as well. Ctrl+Alt+Arrow keys do not switch between guests because of the same reason.
I have seen this problem in Ubuntu 20.04 with kernel 5.4.0-40 and Gnome 3.36.4 on a high-tech acer laptop.
From settings, choose "Gnome on Xorg" instead of wayland when you login, And this solves all the problems at once.
It will work when using two alt's (right and left )

How to use ec2 instance as personal dev box using intellij as IDE?

I have searched the questions and have not found an answer to this one:
I am developing an existing project (git repo) that runs only on Linux. For the time being I have at my disposal only a windows laptop which I cannot modify. This laptop has Intellij installed and internet access. I cannot, for example, create a Linux VM on this laptop.
Is there a way I can put the project code on an Amazon ec2 Linux instance and build the project on that instance, while viewing and developing the code in Intellij? All compilation and code execution has to be done remotely, on the ec2 Linux instance. I cannot build locally and push from the windows laptop.
2 possible configurations might be:
(1) install intellij on the ec2 instance and x-window in from windows to view the intellij screens;
(2) use the intellij on the Windows laptop and somehow point the intellij to the ec2 instance in order to view, edit, build, and run the project on that instance.
Any ideas are greatly appreciated!
ec2 with enough memory for development is billed / hour. For 32gb RAM it's >$80/month (always online ~450h).
You could use wls 2 under windows. You can install IDEA and use it trough X server like
VcXsrv and access to windows files. It's not the best idea to run full GNOME (even xfce4). Google chrome also works very well
Downsides are:
(still) slow access to drive compared to raw Linux
I cannot configure WSL to access same VPN as in Windows. It simply cuts off internet connection for WSL while I click connect in windows.

Xserver on Windows7

I have been using X11 with windows Maker provided with cygwin package for multi windows in windows Xp. Currently I am moving to windows 7 but unable to install cygwin.
Is there any other multi windowing system like windows maker for cygwin on windows ?
Thanks for your help in advance.
~ JJA
I really like to use MobaXterm as nice ssh client, but more importantly as very lightweight and fast X server for Windows.
Typical usage on Windows: start MobaXterm, then from its console ssh user#linux-box. Now, you can simply execute any GUI program on your Linux box, like gedit, eclipse, etc., and it simply works! This is because MobaXterm automatically supports forwarding of you graphical DISPLAY from Linux to Windows.
This method for remote access works much faster than VNC. Performance is actually similar to Remote Desktop, if not even faster.

Fullscreen not functioning in virtualbox image open in vmware

For a project I was given a virtualbox image to work on. I don't have virtualbox but opened it in VMware and it works great except that in full screen the vm stays small and in the middle. I tried changing the autosize to stretch but it turns out obviously distorted and hard to work with. How do i get the fullscreen to work properly?
You probably lack VMWare Tools. You can install it with VM > Install VMware Tools.
I had to change the display resolution within the OS, though I thought it should have done that automatically

Resources