Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: Full Screen, Ubuntu Guest VM on Ubuntu Host

  1. #1
    Join Date
    May 2010
    Beans
    245

    Full Screen, Ubuntu Guest VM on Ubuntu Host

    How can I make my VM truly full screen?

    I tried using the "Install Guest Additions" in my Virtual Box Ubuntu VM so that I could get true full screen. Right now the "full screen" fills about 1/4 of my monitors screen space.
    I tried using the instructions at https://askubuntu.com/questions/1842...-on-virtualbox. But I got some error messages.
    Now when I do "Install Guest Additions" I get:Unable to insert the virtual optical disk /usr/share/virtualbox/VBoxGuestAdditions.iso into the machine Ubuntu20_04.
    "Could not mount the media/drive '/usr/share/virtualbox/VBoxGuestAdditions.iso' (VERR_PDM_MEDIA_LOCKED).
    Result Code:
    NS_ERROR_FAILURE (0x80004005)
    Component: ConsoleWrap
    Interface: IConsole {872da645-4a9b-1727-bee2-5585105b9eed}
    Callee: IMachine {85632c68-b5bb-4316-a900-5eb28d3413df}"

  2. #2
    Join Date
    Apr 2021
    Beans
    155
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Full Screen, Ubuntu Guest VM on Ubuntu Host

    The error just means your virtual CD drive is already mounted. Open your file manager in the guest system and eject CD that will remove the error. There are different ways to install virtualbox. How did you install? What version? Did you install the package build-essential to the guest before adding guest additions to it? If guest additions successfully installed you would of received a message to reboot. Did you?

    PS
    There is also a seamless mode, is it grayed out in the menu?
    Last edited by dddman; May 4th, 2021 at 04:49 PM.

  3. #3
    Join Date
    May 2010
    Beans
    245

    Re: Full Screen, Ubuntu Guest VM on Ubuntu Host

    Okay that helped. Now I get the error I got the first time. What does this mean and how do I resolve it?
    Code:
    Verifying archive integrity... All good. 
    Uncompressing VirtualBox 6.1.22 Guest Additions for Linux........ 
    VirtualBox Guest Additions installer 
    Removing installed version 6.1.22 of VirtualBox Guest Additions... 
    
    Copying additional installer modules ... 
    
    Installing additional modules ... 
    VirtualBox Guest Additions: Starting. 
    VirtualBox Guest Additions: Building the VirtualBox Guest Additions kernel  
    modules.  This may take a while. 
    VirtualBox Guest Additions: To build modules for other installed kernels, run 
    VirtualBox Guest Additions:   /sbin/rcvboxadd quicksetup <version> 
    
    VirtualBox Guest Additions: or 
    
    VirtualBox Guest Additions:   /sbin/rcvboxadd quicksetup all 
    VirtualBox Guest Additions: Building the modules for kernel 5.8.0-50-generic. 
     
    This system is currently not set up to build kernel modules. 
    Please install the gcc make perl packages from your distribution. 
    VirtualBox Guest Additions: Running kernel modules will not be replaced until  
    
    the system is restarted 
    
    Press Return to close this window...

  4. #4
    Join Date
    Oct 2004
    Location
    Albuquerque New Mexico, U
    Beans
    1,166
    Distro
    Ubuntu Development Release

    Re: Full Screen, Ubuntu Guest VM on Ubuntu Host

    Try installing the package
    Code:
    build-essential
    from repository. That should supply the missing capabilities.
    regards

  5. #5
    Join Date
    May 2010
    Beans
    245

    Re: Full Screen, Ubuntu Guest VM on Ubuntu Host

    Quote Originally Posted by dddman View Post
    Open your file manager in the guest system and eject CD that will remove the error.
    Okay that's working better now.
    I ran "sudo apt install build-essential".
    Then I did "Insert Guest Additions". But I still got error messages.

    Code:
    Verifying archive integrity... All good. 
    Uncompressing VirtualBox 6.1.22 Guest Additions for Linux........ 
    VirtualBox Guest Additions installer 
    Removing installed version 6.1.22 of VirtualBox Guest Additions... 
    Copying additional installer modules ... 
    ./install.sh: 100: cannot create /var/lib/VBoxGuestAdditions/filelist: Directory nonexistent 
    ./install.sh: 100: cannot create /var/lib/VBoxGuestAdditions/filelist: Directory nonexistent 
    ./install.sh: 100: cannot create /var/lib/VBoxGuestAdditions/filelist: Directory nonexistent 
    ./install.sh: 100: cannot create /var/lib/VBoxGuestAdditions/filelist: Directory nonexistent 
    Installing additional modules ... 
    ./install.sh: 420: cannot create /var/lib/VBoxGuestAdditions/filelist: Directory nonexistent 
    ./install.sh: 420: cannot create /var/lib/VBoxGuestAdditions/filelist: Directory nonexistent 
    ./install.sh: 436: cannot create /var/lib/VBoxGuestAdditions/config: Directory nonexistent 
    Configuration file /var/lib/VBoxGuestAdditions/config not found 
    The log file /var/log/vboxadd-setup.log may contain further information. 
    ./install.sh: 478: cannot create /var/lib/VBoxGuestAdditions/filelist: Directory nonexistent 
    ./install.sh: 581: cannot create /var/lib/VBoxGuestAdditions/filelist: Directory nonexistent 
    ./install.sh: 583: cannot create /var/lib/VBoxGuestAdditions/filelist: Directory nonexistent 
    ./install.sh: 597: cannot create /var/lib/VBoxGuestAdditions/filelist: Directory nonexistent 
    chmod: cannot access '/opt/VBoxGuestAdditions-6.1.22/bin/VBoxDRMClient': No such file or directory 
    Press Return to close this window...

  6. #6
    Join Date
    Apr 2021
    Beans
    155
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Full Screen, Ubuntu Guest VM on Ubuntu Host

    Quote Originally Posted by webmanoffesto View Post
    Okay that's working better now.
    I ran "sudo apt install build-essential".
    Good

    Eject the virtual CD and reboot the guest. Then add guest additions.

    Should work

  7. #7
    Join Date
    May 2010
    Beans
    245

    Re: Full Screen, Ubuntu Guest VM on Ubuntu Host

    Quote Originally Posted by dddman View Post
    Eject the virtual CD and reboot the guest. Then add guest additions.
    Okay, I did that. It doesn't give me the true full screen that I was hoping to get. How do I know if this worked?
    How do the VM to display in real full screen.

  8. #8
    Join Date
    Apr 2021
    Beans
    155
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Full Screen, Ubuntu Guest VM on Ubuntu Host

    Full screen should show nothing but the guest system. Use your right "Ctrl + f" to toggle full screen.

  9. #9
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Full Screen, Ubuntu Guest VM on Ubuntu Host

    BTW, there are multiple hypervisors available. KVM + libvirt + virt-viewer using QXL and Spice don't have any "guest additions" and are what enterprises use for their virtual machines. Who? Amazon, Linode, Oracle, Redhat, .... you get the idea. KVM is part of the Linux kernel, so it is extremely well tested and constantly improving. I think it is the fastest hypervisor available today.

    With virt-manager, the GUI to setup VMs is very much like VMware Workstation ... but better, since it can be managed both locally or remotely over ssh. There's an ssh+qemu:// connection URL.

    Anyways, just thought I'd mention this. Plus, KVM doesn't have a proprietary license, unlike the Oracle Guest Additions for virtualbox require.

  10. #10
    Join Date
    Apr 2021
    Beans
    155
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Full Screen, Ubuntu Guest VM on Ubuntu Host

    Kernel support has to make it fast and probably easy on resources. Virtualbox is hard on resources. I host using windows and don't have such kernel options. Maybe one day, but I'm currently running a tablet and find running both OS concurrently a productive plus. I have gone the extra step and setting up a ubuntu tablet mode guest system. It better utilizes the space when screen is sideways

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •