Guest Additions don't get installed

Discussions about using Linux guests in VirtualBox.
lifestreak73
Posts: 9
Joined: 2. Nov 2017, 18:43

Guest Additions don't get installed

Post by lifestreak73 »

or maybe halfway...

here's what i see:

root@kali:~# ./VBoxLinuxAdditions.run
Verifying archive integrity... All good.
Uncompressing VirtualBox 5.2.1 Guest Additions for Linux........
VirtualBox Guest Additions installer
Removing installed version 5.2.1 of VirtualBox Guest Additions ...
Installing additional modules ...
VirtualBox Guest Additions: Building the VirtualBox Guest Additions kernel modules.
VirtualBox Guest Additions: Running kernel modules will not be replaced until the system is restarted
VirtualBox Guest Additions: Starting. #btw between this and the next line is a second
root@kali:~#

after it starts nothing more happens.

i have the kernel-header 4.13.0-kali1-amd64 if it's important

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

Re: Guest Additions don't get installed

Post by Perryg »

Does it work after you reboot the guest?
lifestreak73
Posts: 9
Joined: 2. Nov 2017, 18:43

Re: Guest Additions don't get installed

Post by lifestreak73 »

nah, tried that already.
Last edited by socratis on 2. Nov 2017, 20:39, edited 1 time in total.
Reason: Removed unnecessary verbatim quote of the whole previous message.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Guest Additions don't get installed

Post by Perryg »

Post the guests /var/log/vboxadd-install.log ( as an attachment )
lifestreak73
Posts: 9
Joined: 2. Nov 2017, 18:43

Re: Guest Additions don't get installed

Post by lifestreak73 »

Created symlink /etc/systemd/system/multi-user.target.wants/vboxadd.service → /lib/systemd/system/vboxadd.service.
Created symlink /etc/systemd/system/multi-user.target.wants/vboxadd-service.service → /lib/systemd/system/vboxadd-service.service.

basically two shortcuts...
Attachments
vboxadd-install.log
(251 Bytes) Downloaded 24 times
Last edited by socratis on 2. Nov 2017, 20:40, edited 1 time in total.
Reason: Removed unnecessary verbatim quote of the whole previous message.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Guest Additions don't get installed

Post by Perryg »

Post the guests log file ( as an attachment ). Right click on the guest in the Main Manager then click show log. Save and post as an attachment. Compress if it is too large to post.
lifestreak73
Posts: 9
Joined: 2. Nov 2017, 18:43

Re: Guest Additions don't get installed

Post by lifestreak73 »

Here it is.
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Guest Additions don't get installed

Post by socratis »

I'm afraid that this is not a "good" log. A log that starts half-way (02:55:52.137818) is not showing us the most basic information. You need to delete this partial log and post a complete ZIPPED log. Here's what you do:
  • Follow a "start the VM from cold-boot" / "observe error" / "shutdown the VM" cycle.
  • With the VM shut down completely (not paused or saved), right-click on the VM in the VirtualBox Manager and select "Show Log".
  • Save only the first "VBox.log", ZIP it and attach it to your response (see the "Upload attachment" tab below the reply form).
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
lifestreak73
Posts: 9
Joined: 2. Nov 2017, 18:43

Re: Guest Additions don't get installed

Post by lifestreak73 »

Followed the instructions.
Attachments
kalilel-2017-11-02-20-33-43.zip
(28.36 KiB) Downloaded 22 times
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Guest Additions don't get installed

Post by Perryg »

All indications are the guest additions are installed and should be working. Can you describe in detail why you think they are not? What do you expect to see that you are not seeing?
lifestreak73
Posts: 9
Joined: 2. Nov 2017, 18:43

Re: Guest Additions don't get installed

Post by lifestreak73 »

only thing is that i don't get to use my guest in full screen

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

Re: Guest Additions don't get installed

Post by Perryg »

So what happens if you use the host+F key combination to go full screen?

Post the results of the following from the guests terminal:

Code: Select all

ps -awx | grep VBox
lifestreak73
Posts: 9
Joined: 2. Nov 2017, 18:43

Re: Guest Additions don't get installed

Post by lifestreak73 »

The VirtualBox is going full screen while the guest is a 4:3 rectangle in the middle

results:

Code: Select all

root@kali:~# ps -awx | grep VBox
  403 ?        S<     0:00 [iprt-VBoxWQueue]
  557 ?        Sl     0:00 /usr/sbin/VBoxService --pidfile /var/run/vboxadd-service.sh
  973 ?        S      0:00 /usr/bin/VBoxClient --clipboard
  975 ?        Sl     0:00 /usr/bin/VBoxClient --clipboard
  986 ?        S      0:00 /usr/bin/VBoxClient --display
  987 ?        S      0:00 /usr/bin/VBoxClient --display
  992 ?        S      0:00 /usr/bin/VBoxClient --seamless
  993 ?        Sl     0:00 /usr/bin/VBoxClient --seamless
  997 ?        S      0:00 /usr/bin/VBoxClient --draganddrop
  998 ?        Sl     0:01 /usr/bin/VBoxClient --draganddrop
 1558 pts/0    S+     0:00 grep VBox
Last edited by socratis on 2. Nov 2017, 22:47, edited 1 time in total.
Reason: Enclosed the information in [code] tag for better readability
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Guest Additions don't get installed

Post by Perryg »

Look at the top title bar and the view -> auto-resize. Is it enabled?
lifestreak73
Posts: 9
Joined: 2. Nov 2017, 18:43

Re: Guest Additions don't get installed

Post by lifestreak73 »

I tried enabling it.

problem is now that it's still 4:3 1024x768 and thus very blurry and stretched horizontally

EDIT: actually it is greyed out... i thought u meant the scaled mode
Last edited by lifestreak73 on 2. Nov 2017, 23:04, edited 1 time in total.
Post Reply