LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Virtualization and Cloud (https://www.linuxquestions.org/questions/linux-virtualization-and-cloud-90/)
-   -   Trying to fix VirtualBox widescreen (https://www.linuxquestions.org/questions/linux-virtualization-and-cloud-90/trying-to-fix-virtualbox-widescreen-4175558089/)

4th_Estate 11-05-2015 11:41 AM

Trying to fix VirtualBox widescreen
 
Hi:

On and off Linux user, first time poster, longtime reader.

I have a Windows 8 machine (laptop) with Slackware 14 running inside VirtualBox (first time running *nix inside a VM). I'm trying to get it to go fullscreen (1366x768). When I do Ctrl+F the VirtualBox window goes fullscreen all right, but the work area remains the same size (black all around). I can't seem to get the resolution any larger. This seems to happen whether I am in X windows or using the command line. I don't have any other issues (yet, pretty fresh install), so I don't know if there's a greater problem yet. Just looking to solve this one before going further!

I've read a lot of people having the same problems, but most of the solutions I've read assume I have a different setup (Linux as the host and windows as the guest, etc.). Is there a simple fix for this that I'm just not seeing? Is there a better VM program out there for running Slack as a guest on a windows machine?

Emerson 11-05-2015 11:44 AM

Probably you haven't installed VirtualBox drivers for Linux. There is a VirtualBox add-on package containing everything you need.

michaelk 11-05-2015 11:59 AM

Quote:

Originally Posted by Emerson (Post 5445144)
Probably you haven't installed VirtualBox drivers for Linux. There is a VirtualBox add-on package containing everything you need.

Its called VirtualBox guest additions.

jamison20000e 11-05-2015 12:09 PM

I recommend "
  • VirtualBox 5.0.8 Oracle VM VirtualBox Extension Pack All supported platforms
"
as well. ;)

https://www.virtualbox.org/wiki/Downloads
Add: https://www.virtualbox.org/manual/ch...tro-installing

4th_Estate 11-05-2015 04:58 PM

Trying to install the guest additions. I installed the slackpackage for dkms. I tried mounting by, in the guest machine, clicking devices > Optical Drives > Choose disc image, then I found the iso. Double-clicked it and got the error message: "unable to insert the optical disk <path> into the machine <machine>.

It asks if I want to try to force insertion of the disk. I clicked "force unmount," which is the only option other than "cancel." Doesrn't appear to have worked.

EDIT: Upon restarting the guest machine, I went back to that menu, and it looks to be already mounted, but I'm not sure where, so I don't know where to go to execute the script to run it (following the directions in the link given by jamison).

df command gives me a file, "tmpfs," located in /dev/shm, but I went there and tried the script, but it didn't work.

EXTRA EDIT: I stumbled across where it was, ran the script, rebooted guest machine and voila! Works! Thanks guys!

xiongnu 12-18-2015 09:49 PM

Quote:

Originally Posted by 4th_Estate (Post 5445293)
Trying to install the guest additions. I installed the slackpackage for dkms. I tried mounting by, in the guest machine, clicking devices > Optical Drives > Choose disc image, then I found the iso. Double-clicked it and got the error message: "unable to insert the optical disk <path> into the machine <machine>.

It asks if I want to try to force insertion of the disk. I clicked "force unmount," which is the only option other than "cancel." Doesrn't appear to have worked.

EDIT: Upon restarting the guest machine, I went back to that menu, and it looks to be already mounted, but I'm not sure where, so I don't know where to go to execute the script to run it (following the directions in the link given by jamison).

df command gives me a file, "tmpfs," located in /dev/shm, but I went there and tried the script, but it didn't work.

EXTRA EDIT: I stumbled across where it was, ran the script, rebooted guest machine and voila! Works! Thanks guys!

how did you solve this? i'm having the same issue - running slackware14.1 on virtualbox in win7.

xiongnu 12-19-2015 07:23 PM

I got it.

on 'xfce' desktop, i have the 'vboxaddition' appeared as a cd icon, i mounted the cd and opened it in file manager, there's a 'autorun.sh' file, i opened a terminal window and ran it as superuser. that's it. then restart vm and xfce will open as wide screen.

i first tried to mount the 'virtualbox guest additions' iso image as virtual cd device in win7 host machine, however run the windows executable won't work, receiving errors.

I'm using slackware14.1 in virtualbox under a win7 host machine.

jamison20000e 12-20-2015 02:36 AM

...guest additions... ;) thanks.

For more support:
Quote:

Support for USB 2.0 and USB 3.0 devices, VirtualBox RDP and PXE boot for Intel cards. See this chapter from the User Manual for an introduction to this Extension Pack. The Extension Pack binaries are released under the VirtualBox Personal Use and Evaluation License (PUEL).
Please install the extension pack with the same version as your installed version of VirtualBox!
... :)


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