LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 08-15-2008, 03:36 AM   #1
vharishankar
Senior Member
 
Registered: Dec 2003
Posts: 3,142
Blog Entries: 4

Rep: Reputation: 121Reputation: 121
Switching virtual terminals within virtualbox


Here's the issue. And a question for those familiar with virtualbox (www.virtualbox.org)

Assume that you're running another UNIX-like OS within Linux. And now, you want to switch virtual terminals *within* that guest operating system (say OpenBSD - which I'm currently using). The problem is that when I use the Ctrl+Alt+Function key it switches the terminal in the host operating system.

Is there a workaround to map a different key to allow switching of virtual terminals within the guest operating system?
 
Old 08-15-2008, 07:30 AM   #2
biophysics
Member
 
Registered: Jan 2002
Location: Germany
Distribution: Kubuntu
Posts: 444

Rep: Reputation: 30
Look in the right bottom corner. The so-called Host Key. Press that alone and all the future keyboard will be captured by guest (not host).
 
Old 08-15-2008, 08:10 AM   #3
vharishankar
Senior Member
 
Registered: Dec 2003
Posts: 3,142
Blog Entries: 4

Original Poster
Rep: Reputation: 121Reputation: 121
That has no effect at all. The Ctrl+Alt+<Function> is still captured by the host, not guest.
 
Old 08-15-2008, 09:11 AM   #4
vharishankar
Senior Member
 
Registered: Dec 2003
Posts: 3,142
Blog Entries: 4

Original Poster
Rep: Reputation: 121Reputation: 121
I got the solution from my brother (who's an official virtualbox developer himself)

Right Ctrl+<function key>
 
1 members found this post helpful.
Old 08-22-2009, 02:08 PM   #5
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Servers: Debian Squeeze and Wheezy. Desktop: Slackware64 14.0. Netbook: Slackware 13.37
Posts: 8,546
Blog Entries: 28

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
If you don't have a right Ctrl (mini-keyboard like a laptop), try Windows+F<n> also known in the *n*x world as Super+F<n>.
 
Old 09-14-2009, 04:03 PM   #6
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Servers: Debian Squeeze and Wheezy. Desktop: Slackware64 14.0. Netbook: Slackware 13.37
Posts: 8,546
Blog Entries: 28

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Don't know why Windows+F<n> (a.k.a Super+F<n>) was working. The "proper" combination is <Host key>+F<n> where <Host key> defaults to right-Ctrl but can be redefined in VirtualBox via File->Preferences->Input.
 
Old 09-14-2009, 05:09 PM   #7
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,684

Rep: Reputation: 54
Thank you catkin!
I subscribed to this thread because I did not find that info anywhere.
It will be found now - here - hopefully

One could have thought of trying this - but I didn't.
CTRL + ALT + F<n> (as in a native environment)
vs. just
<Host key>+F<n>
- it did not come to me as obvious...
 
Old 01-28-2011, 05:18 AM   #8
naveen_cs321
LQ Newbie
 
Registered: Oct 2009
Posts: 9

Rep: Reputation: 0
try this

Quote:
Originally Posted by hs123 View Post
Here's the issue. And a question for those familiar with virtualbox (www.virtualbox.org)

Assume that you're running another UNIX-like OS within Linux. And now, you want to switch virtual terminals *within* that guest operating system (say OpenBSD - which I'm currently using). The problem is that when I use the Ctrl+Alt+Function key it switches the terminal in the host operating system.

Is there a workaround to map a different key to allow switching of virtual terminals within the guest operating system?


Switching between text consoles in a Linux virtual machine

Symptoms
When the CTRL + ALT + F1 key combination is used to switch to another text console (terminal) on a Linux virtual machine, the host switches to a text console instead of the guest.

Resolution
The CTRL + ALT combination is used by VMware to direct the keyboard input to the host.

Press CTRL + ALT + Space , press the F1 key (or desired Function key) while still holding down CTRL + ALT .
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Virtual Terminals in C++ Anno Programming 2 06-20-2006 01:26 AM
Virtual terminals rnicholus Linux - Software 1 09-21-2005 01:30 PM
Switching terminals locks up system amf57 Linux - General 2 09-05-2004 10:17 PM
Switching Terminals, Fundamentals B. Alec Slackware 6 02-15-2004 05:02 PM
Switching XServer Terminals... thedrew Linux - Software 2 12-04-2002 01:38 AM


All times are GMT -5. The time now is 09:36 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration