Page 1 of 2

Guest Additions don't get installed

Posted: 2. Nov 2017, 18:48
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

Re: Guest Additions don't get installed

Posted: 2. Nov 2017, 19:44
by Perryg
Does it work after you reboot the guest?

Re: Guest Additions don't get installed

Posted: 2. Nov 2017, 19:53
by lifestreak73
nah, tried that already.

Re: Guest Additions don't get installed

Posted: 2. Nov 2017, 20:13
by Perryg
Post the guests /var/log/vboxadd-install.log ( as an attachment )

Re: Guest Additions don't get installed

Posted: 2. Nov 2017, 20:31
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...

Re: Guest Additions don't get installed

Posted: 2. Nov 2017, 20:48
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.

Re: Guest Additions don't get installed

Posted: 2. Nov 2017, 20:57
by lifestreak73
Here it is.

Re: Guest Additions don't get installed

Posted: 2. Nov 2017, 21:18
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).

Re: Guest Additions don't get installed

Posted: 2. Nov 2017, 21:38
by lifestreak73
Followed the instructions.

Re: Guest Additions don't get installed

Posted: 2. Nov 2017, 21:46
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?

Re: Guest Additions don't get installed

Posted: 2. Nov 2017, 21:56
by lifestreak73
only thing is that i don't get to use my guest in full screen

guest additions should fix that

Re: Guest Additions don't get installed

Posted: 2. Nov 2017, 22:19
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

Re: Guest Additions don't get installed

Posted: 2. Nov 2017, 22:34
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

Re: Guest Additions don't get installed

Posted: 2. Nov 2017, 22:43
by Perryg
Look at the top title bar and the view -> auto-resize. Is it enabled?

Re: Guest Additions don't get installed

Posted: 2. Nov 2017, 22:50
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