LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices

Reply
 
Search this Thread
Old 04-17-2012, 12:39 AM   #1
satya123
Member
 
Registered: Mar 2011
Posts: 31

Rep: Reputation: 0
How to get the control out of virtual box


Hi all,
I have installed fedora linux on my Virtualbox. The host OS is Windows7. My problem is that I am unable to bring the control out of the virtual box. Everytime I need the mouse pointer out of the virtual box, I have to press Ctrl+Alt+Del in Windows and get the control back to the host system.

In Vmware Ctrl+Alt brings the control out of the virtual machine, but I am unable to figure out a similar shortcut key in Virtualbox. Request you to please help me out
 
Old 04-17-2012, 01:07 AM   #2
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,533
Blog Entries: 28

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
VirtualBox's "Host key" will do it. Default is the right Windows key. Configurable by File -> Preferences -> Input.

VirtualBox is a lot nicer to use after Guest Additions is installed on the guest.
 
Old 04-17-2012, 01:09 AM   #3
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371
Hi,

If I'm not mistaken: open VirtualBox and go to File → Preferences → Input. If you don't like the current key, you can change it to whatever you wish.

Hope this helps.

EDIT: Too slow.....
 
Old 04-17-2012, 04:14 AM   #4
TheIndependentAquarius
Senior Member
 
Registered: Dec 2008
Posts: 4,622
Blog Entries: 29

Rep: Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896
VirtualBox 4.1.10 says:

Quote:
The Virtual Machine reports that the guest OS supports mouse pointer integration. This means that you do not need to capture the mouse pointer to be able to use it in your guest OS -- all mouse actions you perform when the mouse pointer is over the Virtual Machine's display are directly sent to the guest OS. If the mouse is currently captured, it will be automatically uncaptured.
I have verified it. I never need to press host key to get
out of the guest, neither I need to `get` my mouse pointer
captured.

Last edited by TheIndependentAquarius; 04-17-2012 at 04:17 AM.
 
Old 04-17-2012, 04:17 AM   #5
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371
@Anisha Kaul: Is that also true when the VirtualBox Guest Additions are not installed?
 
Old 04-17-2012, 04:21 AM   #6
TheIndependentAquarius
Senior Member
 
Registered: Dec 2008
Posts: 4,622
Blog Entries: 29

Rep: Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896
Actually in my case, I am simply not able to install the guest additions!

I clicked on some feature named "shared folder" (just for the heck of it), and a
dialogbox appeared telling me to install guest additions. When I click on the
guest addition option, nothing happens.

and therefore I can assume that it is working without the guest additions installed?
 
Old 04-17-2012, 04:40 AM   #7
273
Senior Member
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 3,326

Rep: Reputation: 772Reputation: 772Reputation: 772Reputation: 772Reputation: 772Reputation: 772Reputation: 772
I think some distros may come with some guest additions installed, at least for mouse integration?
 
Old 04-17-2012, 05:06 AM   #8
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,533
Blog Entries: 28

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by Anisha Kaul View Post
I have verified it. I never need to press host key to get
out of the guest, neither I need to `get` my mouse pointer
captured.
I tried to verify it using VirtualBox 4.1.12 using Debian Squeeze as guest (the only guest that does not have Guest Additions installed). On clicking in the guest's window (showing a text console) the pointer disappeared and would not re-appear on the host's windows until pressing the Host key.
 
Old 04-17-2012, 05:19 AM   #9
TheIndependentAquarius
Senior Member
 
Registered: Dec 2008
Posts: 4,622
Blog Entries: 29

Rep: Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896
I realized just now that accidentally I had installed the Slackware
on VirtualBox through "root".

I checked once again, pointer moves freely (in and out) once
the Slackware completely starts up.

Can root make the difference?
 
Old 04-17-2012, 05:38 AM   #10
TheIndependentAquarius
Senior Member
 
Registered: Dec 2008
Posts: 4,622
Blog Entries: 29

Rep: Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896
Also, the message in post 4 appears only when Slackware is near about getting to login screen.
And before that when I clicked, the pointer did get in locked and I had to press the host key.

So, the pointer does move freely (in and out) when Slackware is totally up and running (as per
my observation).
 
Old 04-17-2012, 05:48 AM   #11
273
Senior Member
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 3,326

Rep: Reputation: 772Reputation: 772Reputation: 772Reputation: 772Reputation: 772Reputation: 772Reputation: 772
I installed Slackware in Virtualbox the other day and I think the mouse integration was working before I installed guest additions. Guest additions were needed to use It fullscreen though and they installed automatically when I was logged into XFCE as root, selected "Install guest adittions" from Virtualbox and then allowed autoplay on Slackware when asked.
 
Old 04-17-2012, 06:14 AM   #12
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,518
Blog Entries: 2

Rep: Reputation: 4018Reputation: 4018Reputation: 4018Reputation: 4018Reputation: 4018Reputation: 4018Reputation: 4018Reputation: 4018Reputation: 4018Reputation: 4018Reputation: 4018
Quote:
Originally Posted by Anisha Kaul View Post
Actually in my case, I am simply not able to install the guest additions!

I clicked on some feature named "shared folder" (just for the heck of it), and a
dialogbox appeared telling me to install guest additions. When I click on the
guest addition option, nothing happens.

and therefore I can assume that it is working without the guest additions installed?
Clicking on the guest addition option does nothing more than mounting an ISO with the installer in the virtual DVD drive. You have to install the additions manually.
 
1 members found this post helpful.
Old 04-17-2012, 06:21 AM   #13
TheIndependentAquarius
Senior Member
 
Registered: Dec 2008
Posts: 4,622
Blog Entries: 29

Rep: Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896
Thanks very much Tobi, I should have looked harder.
 
Old 04-18-2012, 02:53 AM   #14
satya123
Member
 
Registered: Mar 2011
Posts: 31

Original Poster
Rep: Reputation: 0
Thanks a lot all of u. I could get the control out by modifying the key in File->Preferences. Thank u
 
  


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
Slackware 13.37 and Virtual Box 4.1 / Virtual Box 4.012 chris_kzn Slackware 4 07-29-2011 01:51 AM
Is it possible to create a virtual LAN on my machine using virtual box or MS virtula nhammoud Linux - Networking 1 01-27-2011 03:49 PM
unable to auto mount 'shared folder' iin Suse 11.2 virtual machine using Virtual Box marvinudy Linux - Virtualization and Cloud 1 02-03-2010 02:29 PM
Running virtual pc files in a virtual machine in linux ... preferably virtual box biharibong Linux - Software 4 01-21-2009 01:04 PM
Virtual Box. Removing a shared folder inside virtual xp. glore2002 Linux - Software 2 05-20-2007 11:12 AM


All times are GMT -5. The time now is 03:17 AM.

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