Auto-resize Guest Display is disabled

Discussions about using Linux guests in VirtualBox.
Ohoud
Posts: 15
Joined: 9. Apr 2014, 17:46

Re: Auto-resize Guest Display is disabled

Post by Ohoud »

I ran the first two commands (both are the same):
and this is what I get
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'isdnvboxserver' for regex 'vbox*'
Note, selecting 'isdnvbox' for regex 'vbox*'
Note, selecting 'isdnvboxclient' for regex 'vbox*'
Package isdnvbox is not installed, so not removed
Package isdnvboxclient is not installed, so not removed
Package isdnvboxserver is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

nothing has been renoved! is this fine should I continue ayway?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Auto-resize Guest Display is disabled

Post by Perryg »

Well we know something is installed but not working. You have to find a way to remove them. I would run the install for the packages I listed and add synaptic to that line. Then open synaptic and search for vbox or virtualbox. Remove anything that shows as installed.
Then run the install as indicated above.
Ohoud
Posts: 15
Joined: 9. Apr 2014, 17:46

Re: Auto-resize Guest Display is disabled

Post by Ohoud »

Finally, it is working!!
Thank you so much for your help.
I have one more question.. I noticed that after installing Ubuntu updates, the guest additions stopped working. In case of future updates, what should be done in order to prevent such problems?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Auto-resize Guest Display is disabled

Post by Perryg »

If you installed dkms like I suggested your kernel modules will stay up to date.
Ohoud
Posts: 15
Joined: 9. Apr 2014, 17:46

Re: Auto-resize Guest Display is disabled

Post by Ohoud »

Thanks for your help. I really appreciate that. :)
Ohoud
Posts: 15
Joined: 9. Apr 2014, 17:46

Re: Auto-resize Guest Display is disabled

Post by Ohoud »

After successfully installing the guest additions, what is the best way for sharing files and folders between Windows 8 (host) and Ubuntu (guest)?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Auto-resize Guest Display is disabled

Post by Perryg »

Shared folders.

Press F1 or click help in the main manager or the guest and open the manual to Chapter 4.3. Everything you should need to know is in there.

here is more information Linux guest shared folders

I strongly suggest that you use the manual share and add the mount statement to the /etc/rc.local file
Ohoud
Posts: 15
Joined: 9. Apr 2014, 17:46

Re: Auto-resize Guest Display is disabled

Post by Ohoud »

Could you please tell me exactly how to mount the command in /etc/rc.local.
Thanks
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Auto-resize Guest Display is disabled

Post by Perryg »

1) use the device tab at the top to access the shared folder option.
2) select the folder on the host that you want to share and give it a simple name, such as shared
3) mark it permanent.
4) open a terminal on the guest
5) create a mount point using shared as the name and mounting in the default folder /mnt

Code: Select all

sudo mkdir /mnt/shared
6) now mount the shared folder with the following:

Code: Select all

sudo mount -t vboxsf -o rw,uid=1000,gid=1000 shared /mnt/shared
If the mount works then do the following:

Code: Select all

sudo gedit /etc/rc.local
a) add the same line as above without the sudo and above the exit 0 (last line)

Code: Select all

mount -t vboxsf -o rw,uid=1000,gid=1000 shared /mnt/shared
Note: the 1000 should be the default for Ubuntu in the uid and gid, but you can check to be sure by typing id in the terminal to see what you uid and gid are.
Ohoud
Posts: 15
Joined: 9. Apr 2014, 17:46

Re: Auto-resize Guest Display is disabled

Post by Ohoud »

Thank you so much for your detailed demostrtion. I will try it and let you know. Thanks again!
AmrDarwish
Posts: 2
Joined: 14. Jul 2016, 15:39

Re: Auto-resize Guest Display is disabled

Post by AmrDarwish »

I applied same instruction & still facing same problem, knowing that I am using win7-64 bit as my host OS running Virtual Box ver 5.0.24 which runs guest VM of Ubuntu 16.0.4 LT. Pls help?
AmrDarwish
Posts: 2
Joined: 14. Jul 2016, 15:39

Re: Auto-resize Guest Display is disabled

Post by AmrDarwish »

Perryg wrote:Well we know something is installed but not working. You have to find a way to remove them. I would run the install for the packages I listed and add synaptic to that line. Then open synaptic and search for vbox or virtualbox. Remove anything that shows as installed.
Then run the install as indicated above.
Can you elaborate on how to do synaptic ?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Auto-resize Guest Display is disabled

Post by Perryg »

Not really. synaptic is an OS package and pretty self explanatory, but if you need help you would ask the OS forum since that is outside the scope of this forum.

However, you say you have the same issue and that may or may not be true. Explain what you have done and what has failed plus include supporting guest log file as an attachment. We may ask for more information after this but start with the above.
Post Reply