resolution and scaling

Discussions about using Linux guests in VirtualBox.
Post Reply
sonjawedel
Posts: 4
Joined: 12. Nov 2015, 11:31

resolution and scaling

Post by sonjawedel »

Hi folks,
recently I installed a virtual box on my Mac Pro in order
to run an Ubuntu. I’d like to use it full screen with a reasonable
resolution. At the moment I can switch to "scaled mode“.
Then I get a small window with a sharp resolution. How can I get
full screen with a sharp resolution. I guess I have to install
virtual guest Additions. Can you give a hands on explaination
or hints to do that ? Or what is to be done in order to use
it fullscreen ?

Thanks in advance for your help!
Sonja
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: resolution and scaling

Post by mpack »

Yes, you have to install the Guest Additions. The user manual has a decription of how.
sonjawedel
Posts: 4
Joined: 12. Nov 2015, 11:31

Re: resolution and scaling

Post by sonjawedel »

Hi,

and thanks for the quick answer. When I start a
my vitual box and want to install Guest Addition via
the menu item 'devices' I get the following error message:

Unable to insert the virtual optical disk
/Applications/VirtualBox.app/Contents/MacOS/VBoxGuestAdditions.iso
into the machine „MyMachine"

Details:
Could not mount the media/drive
'/Applications/VirtualBox.app/Contents/MacOS/VBoxGuestAdditions.iso'
(VERR_PDM_MEDIA_LOCKED)
Result Code: NS_ERROR_FAILURE
Component: ConsoleWrap
Interface: IConsole
Callee: IMachine
Can you help me one more time ?

Cheers,

Sonja
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: resolution and scaling

Post by Perryg »

Eject the media ( from inside the guest ) that is already mounted and then use the insert feature to mount the guest additions iso.
sonjawedel
Posts: 4
Joined: 12. Nov 2015, 11:31

Re: resolution and scaling

Post by sonjawedel »

Sorry guys...

... what is meant by "Eject the media ( from inside the guest )" ?
Shell commands from within the virtual box ? Icon ?

...After the eject I can continue via Devices -> Insert Guest Additions CD Image...

best,
Sonja
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: resolution and scaling

Post by mpack »

Moved to "Linux guests", as this Q really has nothing to do with your OS X host.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: resolution and scaling

Post by Perryg »

Does the guest use a desktop or is it a server that only has command line?
sonjawedel
Posts: 4
Joined: 12. Nov 2015, 11:31

Re: resolution and scaling

Post by sonjawedel »

Ok thx ...

Now I installed the linux guest additions with apt-get.

But when I reboot I get the following error message:
VBoxClient: Failed to connect to the VirtualBox kernel service, rc=VERR_ACCESS_DENIED

Basicly I don't what to do on the virtual machine because
if I set up for instance the following command:

/etc/init.d/vboxdrv setup

I get :
bash: /etc/init.d/vboxdrv: No such file or directory

Excuse can you tell what to to in the ubuntu VM in order to have working
VM, i.e. to get reasonable resolution. What is missing here?
Thanks one more time...

Best,
Sonja
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: resolution and scaling

Post by Perryg »

If you don't answer my questions I can not help you.
anfho
Posts: 52
Joined: 24. Jan 2011, 21:04
Primary OS: MS Windows 10
VBox Version: OSE other
Guest OSses: Ubuntu 16.04

Re: resolution and scaling

Post by anfho »

Hello,

I am having the same issue:

"VBoxClient: Failed to connect to the Virtual Box kernel service rc=VERR_ACCESS_DENIED".

Tried installing the Guest Additions multiple times. Also installed

Code: Select all

sudo apt-get install virtualbox-guest-dkms
sudo apt-get remove libcheese-gtk23
sudo apt-get install xserver-xorg-core
sudo apt-get install -f virtualbox-guest-x11
But problem persists.

Is there a solution to the issue? I would like to have this work, as I really like the seamless mode. I cannot use the seamless mode however, as all the control panels of Ubuntu disappear.

I am running Ubuntu 16.04 in Virtual Box 5.1.2 on Win 10 host.

Thank you.
Post Reply