Emre Kumaş
Emre Kumaş

Reputation: 51

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?

Upvotes: 4

Views: 10966

Answers (8)

ChennyStar
ChennyStar

Reputation: 411

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)

Upvotes: 3

Mostafa H.
Mostafa H.

Reputation: 1

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.

Upvotes: 0

Valentine Shi
Valentine Shi

Reputation: 7802

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.

Upvotes: 1

stelios
stelios

Reputation: 2845

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

Upvotes: 0

UserX
UserX

Reputation: 525

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.

Upvotes: 2

tylersDisplayName
tylersDisplayName

Reputation: 1643

For now, as discussed here, it looks like Windows Key + Alt + Tab does the trick

Upvotes: 12

user2868816
user2868816

Reputation: 1

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.

Upvotes: 0

MarcinK
MarcinK

Reputation: 1

It will work when using two alt's (right and left )

Upvotes: -3

Related Questions