LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 11-05-2015, 11:41 AM   #1
4th_Estate
LQ Newbie
 
Registered: Nov 2015
Posts: 5

Rep: Reputation: Disabled
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?
 
Old 11-05-2015, 11:44 AM   #2
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Probably you haven't installed VirtualBox drivers for Linux. There is a VirtualBox add-on package containing everything you need.
 
Old 11-05-2015, 11:59 AM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,675

Rep: Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892
Quote:
Originally Posted by Emerson View Post
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.
 
Old 11-05-2015, 12:09 PM   #4
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth&Mars (I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that work on freest-HW; has been KDE, CLI, Novena-SBC but open.. http://goo.gl/NqgqJx &c ;-)
Posts: 4,888
Blog Entries: 2

Rep: Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567
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

Last edited by jamison20000e; 11-05-2015 at 12:15 PM.
 
Old 11-05-2015, 04:58 PM   #5
4th_Estate
LQ Newbie
 
Registered: Nov 2015
Posts: 5

Original Poster
Rep: Reputation: Disabled
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!

Last edited by 4th_Estate; 11-05-2015 at 09:09 PM.
 
1 members found this post helpful.
Old 12-18-2015, 09:49 PM   #6
xiongnu
Member
 
Registered: Sep 2004
Distribution: Devuan, Void
Posts: 264

Rep: Reputation: 23
Quote:
Originally Posted by 4th_Estate View Post
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.
 
Old 12-19-2015, 07:23 PM   #7
xiongnu
Member
 
Registered: Sep 2004
Distribution: Devuan, Void
Posts: 264

Rep: Reputation: 23
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.
 
1 members found this post helpful.
Old 12-20-2015, 02:36 AM   #8
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth&Mars (I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that work on freest-HW; has been KDE, CLI, Novena-SBC but open.. http://goo.gl/NqgqJx &c ;-)
Posts: 4,888
Blog Entries: 2

Rep: Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567
Thumbs up

...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!
...
 
  


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
How do I fix a vboxdrv setup failure in VirtualBox? jay.phate Ubuntu 15 06-12-2015 12:04 AM
[SOLVED] How to Purge or Fix VirtualBox from OpenSUSE 13 dictatorofmyownworld Linux - Virtualization and Cloud 9 09-04-2014 06:44 PM
How to interpret & fix errors in Virtualbox? smallhagrid Linux - Virtualization and Cloud 3 10-30-2012 01:06 AM
Widescreen tty console on widescreen 1280x800 with Geforce 4 Go, possible? AchubaNanoiaBR Linux - Laptop and Netbook 2 07-01-2009 04:13 PM
Problems with widescreen resolutions (1280x720) on 15" widescreen TFT with nvidia Arvendui Linux - Software 6 02-18-2006 09:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 12:28 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration