I have installed CentOS 7.1 in VMware Fusion of my Mac. I logged into the terminal (default runlevel 3) and started the GUI using the command "startx". I want to switch back to the terminal. Ctrl+Alt+F1 is not working and Ctrl+Alt+Spacebar and F1 also doesn't work. What is the correct combination to switch between GUI and terminal in the VM on my Mac?
3 Answers
When using VirtualBox on OSX you can use CTRL + ALT + FN + F3 to start the command line in a Linux VM (e.g. Arch Linux).
Switching back to GUI with: CTRL + ALT + FN + F2/F1
Unfortunately there are no virtual consoles in OSX. All you can do is to ssh
from another machine. Thats the closest thing to a virtual terminal.
You also should try using Fusion in fullscreen versus the smaller window. This was the only way I could get Ctrl-Alt-FN-F3 to work.
Ctrl+Alt+Fn+F1
. The Fn key tells os x that the F keys should be treated as F keys instead of special keys (like brightness dimming, etc.)