LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   using full-screen mode in Virtualbox (https://www.linuxquestions.org/questions/linux-software-2/using-full-screen-mode-in-virtualbox-672165/)

newbiesforever 09-24-2008 07:09 PM

using full-screen mode in Virtualbox
 
I can't usefully run Virtualbox in full-screen mode. I'm running Windows XP in it. I switched to full-screen, but the full screen consisted of the window surrounded by black space.

jlliagre 09-24-2008 07:50 PM

You probably missed to install the guest extensions.

newbiesforever 09-24-2008 09:52 PM

Probably. How do I do that? I don't see such an option anywhere in Virtualbox.

jlliagre 09-25-2008 02:06 AM

This is actually called "VirtualBox additions" and available from the device menu.

newbiesforever 09-25-2008 04:24 PM

I found it. Thank you. I also discovered that guest additions must be enabled in order to see folders shared with the host. I am guessing that quite a lot of things depend on the guest additions. If I'm right, the guest additions are so necessary that they might as well be automatically enabled.

aa_azadeh81 03-10-2009 02:30 AM

In spite of guest additions it doesn't work
 
Hey,

I am using Ubuntu through VirtualBox on MacBook. I have the same problem with full-screen and although I installed the guest additions and I restarted the Ubuntu, VirtualBox and even Mac but still I cannot get the fullscreen. My VirtualBox version is 2.1.4 before I update it. I could change to fullscreen.

Now ctrl+F apparently change to fullscreen but it is still small just around it is black instead of white color of VirtualBox.

Please guide it is so annoying.

Thanks

ccurry 05-09-2009 08:30 AM

@aa_azadeh81 -

I don't know if your issue is resolved, but I might have a solution for you. I found it on a site called Lockergnome. I would provide a link, but I can't since this is my first post, the site doesn't allow first posters to provide a link. If you search:
full screen ubuntu virtualbox

You will find the link to Lockergnome. This is how I found this thread as well.

The nut of what you will be doing:

1. Install Ubuntu on VB.
2. After install and restart, go to the 'Devices' menu for VirtualBox.
3. Select 'Install Guest Additions'.
4. Open Terminal in Ubuntu.

Type:
cd /media/cdrom0 (this puts you to the cdrom directory where you just mounted guest additions)
Press enter then type:
dir (this shows you what's inside this directory.)
Press enter then type:
sudo sh ./VBoxLinuxAdditions-x86.run (this is what you would type if you have an x86 machine, typical. If you have an AMD use that one, and so forth.)

5. Wait for update to complete.
6. Once complete, shut down Ubuntu.
7. Restart VirtualBox
8. Boot up Ubuntu.
9. Once booted, press cmd+F for fullscreen or cmd+L for seamless.

This worked for me and I am using VB 2.2.2 on a MacBookPro. Just posted this from Ubuntu in Full Screen mode. woot.
Hope this helps.

dragoonlp 08-06-2009 09:53 PM

not a directory
 
I try to update the VBoxLinuxAdditions-x86.run in VirtualBox for Ubuntu on my Macbook pro. But when I type the "cd/media/cdrom0" as you said, the terminal tells me that "Not a directory".

I can see the VBXADDITIONS_3.0.2_49928 on the desktop.

ccurry 08-07-2009 07:10 AM

Quote:

Originally Posted by dragoonlp (Post 3634310)
I try to update the VBoxLinuxAdditions-x86.run in VirtualBox for Ubuntu on my Macbook pro. But when I type the "cd/media/cdrom0" as you said, the terminal tells me that "Not a directory".

I can see the VBXADDITIONS_3.0.2_49928 on the desktop.

Hi dragoonlp,

cd/media/cdrom0 is not a directory. cd is a command to go to the directory /media/cdrom0

what you are missing above is the space between cd and /media/cdrom0

like this: cd /media/cdrom0

Also, the naming conventions for the VBoxLinuxAdditions have changed a few times, so make sure you type the name as you see it in the directory.

Oh, and make sure you have spaces for the rest of the commands

sudo sh ./VBoxLinuxAdditions-x86.run

sudo is superuser. you need this to install anything.

There is a space between the command sh and ./VBoxLinuxAdditions-x86.run (again, the package could be named something else).

Hope this helps.

dragoonlp 08-07-2009 08:56 PM

Quote:

Originally Posted by ccurry (Post 3634675)
Hi dragoonlp,

cd/media/cdrom0 is not a directory. cd is a command to go to the directory /media/cdrom0

what you are missing above is the space between cd and /media/cdrom0

like this: cd /media/cdrom0

Also, the naming conventions for the VBoxLinuxAdditions have changed a few times, so make sure you type the name as you see it in the directory.

Oh, and make sure you have spaces for the rest of the commands

sudo sh ./VBoxLinuxAdditions-x86.run

sudo is superuser. you need this to install anything.

There is a space between the command sh and ./VBoxLinuxAdditions-x86.run (again, the package could be named something else).

Hope this helps.

Well! you are so great!! thank you very much~~~

Mc1brew 10-25-2009 03:02 PM

Quote:

Originally Posted by ccurry (Post 3535423)
@aa_azadeh81 -

I don't know if your issue is resolved, but I might have a solution for you. I found it on a site called Lockergnome. I would provide a link, but I can't since this is my first post, the site doesn't allow first posters to provide a link. If you search:
full screen ubuntu virtualbox

You will find the link to Lockergnome. This is how I found this thread as well.

The nut of what you will be doing:

1. Install Ubuntu on VB.
2. After install and restart, go to the 'Devices' menu for VirtualBox.
3. Select 'Install Guest Additions'.
4. Open Terminal in Ubuntu.

Type:
cd /media/cdrom0 (this puts you to the cdrom directory where you just mounted guest additions)
Press enter then type:
dir (this shows you what's inside this directory.)
Press enter then type:
sudo sh ./VBoxLinuxAdditions-x86.run (this is what you would type if you have an x86 machine, typical. If you have an AMD use that one, and so forth.)

5. Wait for update to complete.
6. Once complete, shut down Ubuntu.
7. Restart VirtualBox
8. Boot up Ubuntu.
9. Once booted, press cmd+F for fullscreen or cmd+L for seamless.

This worked for me and I am using VB 2.2.2 on a MacBookPro. Just posted this from Ubuntu in Full Screen mode. woot.
Hope this helps.

Awesome detail! These steps did it for me. Thanks a lot!

unixmen 01-19-2010 12:25 PM

Quote:

Originally Posted by Mc1brew (Post 3732084)
Awesome detail! These steps did it for me. Thanks a lot!

Try this link too :


http://unixmen.com/linux-tutorials/7...-ubuntu-fedora

Hammett 01-19-2010 04:17 PM

What did work for me (Gentoo host, Win 7 guest) was to manually set the resolution I wanted through VBox with the following:

Open a terminal and type

VBoxManage controlvm <name of vm> setvideomodehint <xres> <yres> <bpp>

You will need to have the VM open and running in order.

So in my case I typed: VBoxManage controlvm Win7 setvideomodehint 1440 900 24

Amountstax 01-20-2010 01:48 PM

Perfect
 
Quote:

Originally Posted by ccurry (Post 3535423)
@aa_azadeh81 -

I don't know if your issue is resolved, but I might have a solution for you. I found it on a site called Lockergnome. I would provide a link, but I can't since this is my first post, the site doesn't allow first posters to provide a link. If you search:
full screen ubuntu virtualbox

You will find the link to Lockergnome. This is how I found this thread as well.

The nut of what you will be doing:

1. Install Ubuntu on VB.
2. After install and restart, go to the 'Devices' menu for VirtualBox.
3. Select 'Install Guest Additions'.
4. Open Terminal in Ubuntu.

Type:
cd /media/cdrom0 (this puts you to the cdrom directory where you just mounted guest additions)
Press enter then type:
dir (this shows you what's inside this directory.)
Press enter then type:
sudo sh ./VBoxLinuxAdditions-x86.run (this is what you would type if you have an x86 machine, typical. If you have an AMD use that one, and so forth.)

5. Wait for update to complete.
6. Once complete, shut down Ubuntu.
7. Restart VirtualBox
8. Boot up Ubuntu.
9. Once booted, press cmd+F for fullscreen or cmd+L for seamless.

This worked for me and I am using VB 2.2.2 on a MacBookPro. Just posted this from Ubuntu in Full Screen mode. woot.
Hope this helps.

Worked Perfectly with Vbox 3.1.2 & Linux Mint 8 64-bit(x64)
but Instead of ...
sudo sh ./VBoxLinuxAdditions-x86.run use...
sudo sh ./VBoxLinuxAdditions-amd64.run

Amountstax 01-20-2010 01:49 PM

Perfect
 
Quote:

Originally Posted by ccurry (Post 3535423)
@aa_azadeh81 -

I don't know if your issue is resolved, but I might have a solution for you. I found it on a site called Lockergnome. I would provide a link, but I can't since this is my first post, the site doesn't allow first posters to provide a link. If you search:
full screen ubuntu virtualbox

You will find the link to Lockergnome. This is how I found this thread as well.

The nut of what you will be doing:

1. Install Ubuntu on VB.
2. After install and restart, go to the 'Devices' menu for VirtualBox.
3. Select 'Install Guest Additions'.
4. Open Terminal in Ubuntu.

Type:
cd /media/cdrom0 (this puts you to the cdrom directory where you just mounted guest additions)
Press enter then type:
dir (this shows you what's inside this directory.)
Press enter then type:
sudo sh ./VBoxLinuxAdditions-x86.run (this is what you would type if you have an x86 machine, typical. If you have an AMD use that one, and so forth.)

5. Wait for update to complete.
6. Once complete, shut down Ubuntu.
7. Restart VirtualBox
8. Boot up Ubuntu.
9. Once booted, press cmd+F for fullscreen or cmd+L for seamless.

This worked for me and I am using VB 2.2.2 on a MacBookPro. Just posted this from Ubuntu in Full Screen mode. woot.
Hope this helps.

Worked Perfectly with Vbox 3.1.2 & Linux Mint 8 64-bit(x64)
but Instead of ...
sudo sh ./VBoxLinuxAdditions-x86.run use...
sudo sh ./VBoxLinuxAdditions-amd64.run
for 64-bit machines

jinmaning 06-13-2010 09:48 PM

Solution at Bearductions
 
hi!

I have solved this guys! pretty easy.. Visit my blog for more information on how I did it.. Hey! this is not spamming.. I'm showing you my solutions okay?

http://jinnyfeb.blogspot.com/2010/06...o-to-full.html

PropgandaPanda 08-12-2010 02:02 AM

still having touble getting full screen
 
I've done all of the steps up to typing cd /media/cdrom0 into the terminal and I keep getting this error message

bash: cd: /media/cdrom0: No such file or directory

What's the problem?

jinmaning 08-15-2010 12:39 AM

if you have followed the instructions on my blog. you will not have trouble. :D

go to this link: http://www.bearductions.com/2010/06/...o-to-full.html

follow steps 3 and 4.

let me know if you still have the same problem.

sudoankit 01-01-2011 12:34 PM

I had the same problem with Ubuntu in my VirtualBox running on Win7 OS. I double clicked on the VBOXADDITIONS_3.2.10_66523 folder on my desktop. It opened a folder with the message: "The media has been detected as Unix software". I clicked on "Open Autorun Prompt". This opened a new prompt which installed these additions by itself. I shut down the machine and restarted VirtualBox. Now it looks perfectly good. I can see the Ubuntu on the whole screen in fullscreen mode.

I believe this is just another way instead of using the sh command.

frieza 01-01-2011 12:50 PM

Quote:

Originally Posted by newbiesforever (Post 3291808)
I found it. Thank you. I also discovered that guest additions must be enabled in order to see folders shared with the host. I am guessing that quite a lot of things depend on the guest additions. If I'm right, the guest additions are so necessary that they might as well be automatically enabled.

automatically enabling the guest additions would be a nice idea but unfortunately actually implementing such a thing would be easier said than done because it would require auto-detecting the presence of an operating system and determining if a compatible version of the additions exists, then somehow mounting and launching the installer which would require sending commands to the guest OS which would probably only be doable if the additions were installed, a chicken and egg scenario.

bharat_iyengar 01-12-2013 10:09 AM

i am loading Ubuntu from windows 7 using virtualbox.
the fullscreen option does work in the ubuntu desktop but when i boot ubuntu in terminal it doesnt go fullscreen.

any suggestions?

TobiSGD 01-12-2013 10:53 AM

Fullscreen mode is not available for systems not running a X server. Either run a maximized terminal under X or just use SSH (for example using PuTTY) to connect to the machine and maximize that.


All times are GMT -5. The time now is 10:44 PM.