LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 08-30-2013, 04:40 AM   #1
AndyInMokum
Member
 
Registered: Jun 2013
Location: Amsterdam, The Netherlands
Distribution: Peppermint Six 32-bit & 64-bi
Posts: 53

Rep: Reputation: Disabled
Can't change Virtualbox 4.2.16 resolution in LMDE


Greetings from Amsterdam

I'm having a terrible time trying to configure Virtualbox 4.2.16 in LMDE. Some machines automatically fit the screen and some like LMDE's first cousin, CrunchBang stay at 800x600. I've tried installing guest additions using Synaptic but all I get is dependency errors. I've tried the fully supported earlier editions of VB. (4.1.*). I done complete uninstalls and reinstalls in various combos, to no avail. I spent hours searching for a solution. It has gone way past the point of being an interesting problem to solve, to being a plain time wasting annoyance. I imagine someone else using LMDE has run into the same irritation. Any help would make my weekend a relatively productive one. Many thanks and have a great weekend.
 
Old 08-31-2013, 12:19 PM   #2
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Hello Andy in Amsterdam!

Have you tried using Guest Additions directly from Oracle for 4.2.16?
http://download.virtualbox.org/virtu...ons_4.2.16.iso

and possibly
http://download.virtualbox.org/virtu...2.vbox-extpack
 
Old 09-07-2013, 09:30 AM   #3
AndyInMokum
Member
 
Registered: Jun 2013
Location: Amsterdam, The Netherlands
Distribution: Peppermint Six 32-bit & 64-bi
Posts: 53

Original Poster
Rep: Reputation: Disabled
Smile

Quote:
Originally Posted by Habitual View Post
Hello Andy in Amsterdam!

Have you tried using Guest Additions directly from Oracle for 4.2.16?
http://download.virtualbox.org/virtu...ons_4.2.16.iso

and possibly
http://download.virtualbox.org/virtu...2.vbox-extpack
Thanks for the feedback, I've tried this and it made no difference. I gave up on LMDE and switched to #! and tried again. Guess what? I still can't get the damn thing to work. I can now understand why so many of the training tutorials have 800x600 screens. It is because it is too bloody awkward to get it any other way . Anyway, I'm sticking with #!. It is the perfect way to ween the new user away from the more traditional desktop environment while keeping Linux interesting.
 
Old 09-07-2013, 09:49 AM   #4
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
The limitation you are seeing is with the guest OS and not the host, in case you weren't clear on that.
You should just need to select "Install guest additions" from the "Media" menu of the Virtualbox window then, in the guest, allow the autorun script or navigate to the additions CD that mounts and run the autorun script from there. If you receive errors then you may need to install build-essential and the relevant kernel-headers in the guest OS also.
I run a great many Linux distros in Virtualbox and have found that almost all will work well when the guest additions are installed this way. Some guest distributions allow you to install the guest-additions from their own repositories but, in my experience, these versions are often a little out of date and can be troublesome as they don't necessarily match the version of VirtualBox on the host.
Edit: This may help: http://crunchbang.org/forums/viewtopic.php?id=609

Last edited by 273; 09-07-2013 at 09:50 AM.
 
Old 09-07-2013, 12:53 PM   #5
AndyInMokum
Member
 
Registered: Jun 2013
Location: Amsterdam, The Netherlands
Distribution: Peppermint Six 32-bit & 64-bi
Posts: 53

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by 273 View Post
The limitation you are seeing is with the guest OS and not the host, in case you weren't clear on that.
You should just need to select "Install guest additions" from the "Media" menu of the Virtualbox window then, in the guest, allow the autorun script or navigate to the additions CD that mounts and run the autorun script from there. If you receive errors then you may need to install build-essential and the relevant kernel-headers in the guest OS also.
I run a great many Linux distros in Virtualbox and have found that almost all will work well when the guest additions are installed this way. Some guest distributions allow you to install the guest-additions from their own repositories but, in my experience, these versions are often a little out of date and can be troublesome as they don't necessarily match the version of VirtualBox on the host.
Edit: This may help: http://crunchbang.org/forums/viewtopic.php?id=609
Thanks again for the info unfortunately it seems that the link info is obsolete.

andy@andy-crunchbang:~$ sudo apt-get install linux-headers-generic build-essential
[sudo] password for andy:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package linux-headers-generic is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'linux-headers-generic' has no installation candidate
andy@andy-crunchbang:~$

Its a real shame because I thought I finally have a solution to this irritation. Thank you anyway.
 
Old 09-07-2013, 01:13 PM   #6
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
That is the solution, you just need to be a little more patient. What do you see when you type the following?
Code:
uname -a
 
Old 09-07-2013, 01:30 PM   #7
AndyInMokum
Member
 
Registered: Jun 2013
Location: Amsterdam, The Netherlands
Distribution: Peppermint Six 32-bit & 64-bi
Posts: 53

Original Poster
Rep: Reputation: Disabled
Hi again. I lost patience with it about a week ago and that was after struggling with it for about 3 weeks before that, lol. I'm obviously missing something in the work flow. I just got the guest additions dialog to appear and the iso installed. I then scaled the screen. I very quickly discovered that this was wrong and couldn't find any way to undo it. So I've deleted that machine and I will start again for the umpteenth time. If it doesn't work this time I'll just put up with postage stamp screen. I'm really beginning to hate Virtualbox. This is what I get in the terminal.

andy@andy-crunchbang:~$ uname -a
Linux andy-crunchbang 3.2.0-4-686-pae #1 SMP Debian 3.2.46-1+deb7u1 i686 GNU/Linux
andy@andy-crunchbang:~$
 
Old 09-07-2013, 01:40 PM   #8
AndyInMokum
Member
 
Registered: Jun 2013
Location: Amsterdam, The Netherlands
Distribution: Peppermint Six 32-bit & 64-bi
Posts: 53

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by AndyInMokum View Post
Hi again. I lost patience with it about a week ago and that was after struggling with it for about 3 weeks before that, lol. I'm obviously missing something in the work flow. I just got the guest additions dialog to appear and the iso installed. I then scaled the screen. I very quickly discovered that this was wrong and couldn't find any way to undo it. So I've deleted that machine and I will start again for the umpteenth time. If it doesn't work this time I'll just put up with postage stamp screen. I'm really beginning to hate Virtualbox. This is what I get in the terminal.

andy@andy-crunchbang:~$ uname -a
Linux andy-crunchbang 3.2.0-4-686-pae #1 SMP Debian 3.2.46-1+deb7u1 i686 GNU/Linux
andy@andy-crunchbang:~$
Okay, I've got guest additions downloaded and mounted. I now go to View and Adjust Window Size or Ctrl+D. Nothing happens.

Last edited by AndyInMokum; 09-07-2013 at 02:43 PM.
 
Old 09-07-2013, 03:09 PM   #9
AndyInMokum
Member
 
Registered: Jun 2013
Location: Amsterdam, The Netherlands
Distribution: Peppermint Six 32-bit & 64-bi
Posts: 53

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by AndyInMokum View Post
Okay, I've got guest additions downloaded and mounted. I now go to View and Adjust Window Size or Ctrl+D. Nothing happens.
I've just tried another suggestion from a #! user and I still get nothing. I think I'm just going to say it doesn't work and give up before it drives me completely mad. Thanks anyway and have a great weekend.
 
Old 09-07-2013, 03:21 PM   #10
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
For starters, are you sure that the drivers installed and nothing failed to build?
If something failed to build you need to install the kernel-headers package for your current kernel (might be easiest to do this from synaptic so you can find the one with the version number you see from the output of uname.
If everything did compile OK then you will need to reboot the virtual machine to use the drivers (it is possible to do so without but it's a pain if you're new to things).
 
Old 09-07-2013, 03:25 PM   #11
AndyInMokum
Member
 
Registered: Jun 2013
Location: Amsterdam, The Netherlands
Distribution: Peppermint Six 32-bit & 64-bi
Posts: 53

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by 273 View Post
For starters, are you sure that the drivers installed and nothing failed to build?
If something failed to build you need to install the kernel-headers package for your current kernel (might be easiest to do this from synaptic so you can find the one with the version number you see from the output of uname.
If everything did compile OK then you will need to reboot the virtual machine to use the drivers (it is possible to do so without but it's a pain if you're new to things).
I'll give it one last go. I'm rapidly loosing faith in VBox.
 
Old 09-07-2013, 03:35 PM   #12
AndyInMokum
Member
 
Registered: Jun 2013
Location: Amsterdam, The Netherlands
Distribution: Peppermint Six 32-bit & 64-bi
Posts: 53

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by AndyInMokum View Post
I'll give it one last go. I'm rapidly loosing faith in VBox.
The Linux-Headers 3.2.0-4-common are installed. Still nothing.

When I load the machine in VBox and click on load Guest Additions from the Devices drop down menu. I then get the Virtualbox Question:

Unable to mount the CD/DVD image /home/andy/.VirtualBox/VBoxGuestAdditions_4.1.18.iso on the machine Crunchbang 11 Waldorf. Would you like to force mounting of this medium?
Could not mount the media/drive '/home/andy/.VirtualBox/VBoxGuestAdditions_4.1.18.iso' (VERR_PDM_MEDIA_LOCKED).

In the details it reads:

Result Code:
NS_ERROR_FAILURE (0x80004005)
Component:
Console
Interface:
IConsole {1968b7d3-e3bf-4ceb-99e0-cb7c913317bb}
Callee:
IMachine {5eaa9319-62fc-4b0a-843c-0cb1940f8a91}

Then to confuse things I have the option to Cancel or Force Unmount. That is all she wrote so to speak. It all comes to a grinding halt. I'm completely baffled!

Last edited by AndyInMokum; 09-07-2013 at 03:42 PM. Reason: Ammendment
 
  


Reply

Tags
virtual desktop



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
Change monitor resolution in Fedora 13 64 bit VirtualBox virtual machine garyl Linux - Newbie 12 02-06-2016 07:18 AM
[SOLVED] how to change login screen background in XFCE LMDE MogaMoga Linux - Newbie 0 04-26-2012 01:13 PM
VirtualBox headless machine resolution _temp Linux - Virtualization and Cloud 13 11-28-2011 10:29 AM
[SOLVED] How do I install 64-bit Virtualbox Guest Additions or change resolution in XFCE4? theif519 Slackware 21 07-03-2011 01:30 AM
Text Resolution, Graphic resolution. Change from prompt dlublink SUSE / openSUSE 2 01-28-2005 11:50 AM

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

All times are GMT -5. The time now is 08:49 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