16.04 guest on 16.04 host - “VBoxClient: Failed to connect to the VirtualBox kernel service,...












0















I have Ubuntu 16.04.3 LTS amd64 host with Oracle VM VirtualBox 5.1.30-118389~Ubuntu~xenial from their repository.



I have created Ubuntu 16.04 LTS amd64 guest in VBox. Installed all updates here with aptitude. Also I installed virtualbox-guest-x11 (version 5.0.40-dfsg-0ubuntu1.16.04.2 from multiverse repository) to guest.



After logging in to the VM I get the following notification:
virtualbox error notification



Why this happen?

Should I install the same version (5.1.30) of guest additions as host VirtualBox?










share|improve this question



























    0















    I have Ubuntu 16.04.3 LTS amd64 host with Oracle VM VirtualBox 5.1.30-118389~Ubuntu~xenial from their repository.



    I have created Ubuntu 16.04 LTS amd64 guest in VBox. Installed all updates here with aptitude. Also I installed virtualbox-guest-x11 (version 5.0.40-dfsg-0ubuntu1.16.04.2 from multiverse repository) to guest.



    After logging in to the VM I get the following notification:
    virtualbox error notification



    Why this happen?

    Should I install the same version (5.1.30) of guest additions as host VirtualBox?










    share|improve this question

























      0












      0








      0








      I have Ubuntu 16.04.3 LTS amd64 host with Oracle VM VirtualBox 5.1.30-118389~Ubuntu~xenial from their repository.



      I have created Ubuntu 16.04 LTS amd64 guest in VBox. Installed all updates here with aptitude. Also I installed virtualbox-guest-x11 (version 5.0.40-dfsg-0ubuntu1.16.04.2 from multiverse repository) to guest.



      After logging in to the VM I get the following notification:
      virtualbox error notification



      Why this happen?

      Should I install the same version (5.1.30) of guest additions as host VirtualBox?










      share|improve this question














      I have Ubuntu 16.04.3 LTS amd64 host with Oracle VM VirtualBox 5.1.30-118389~Ubuntu~xenial from their repository.



      I have created Ubuntu 16.04 LTS amd64 guest in VBox. Installed all updates here with aptitude. Also I installed virtualbox-guest-x11 (version 5.0.40-dfsg-0ubuntu1.16.04.2 from multiverse repository) to guest.



      After logging in to the VM I get the following notification:
      virtualbox error notification



      Why this happen?

      Should I install the same version (5.1.30) of guest additions as host VirtualBox?







      16.04 apt virtualbox






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jan 4 '18 at 20:29









      N0rbertN0rbert

      24.4k851115




      24.4k851115






















          2 Answers
          2






          active

          oldest

          votes


















          2














          How I got it working for me:



          My setup:




          • VirtualBox 6.0.4


          • Host machine - Ubuntu 18.04


          • Guest machine in virtualbox - Kali 2019.1 kernel version 4.19.0



          Install needed packages with apt on GUEST machine



          apt-get install build-essential virtualbox-guest-utils virtualbox-guest-x11 virtualbox-guest-dkms


          After this, run:



          VBoxClient --clipboard


          Also, make sure that you have enabled Shared Clipboard from Settings>General>Advanced on the HOST machine.



          Now it should be working :)






          share|improve this answer































            1














            Problem solved by the following steps:




            1. I removed virtualbox-guest-x11 with sudo apt-get purge virtualbox-guest-x11 virtualbox-guest-utils

            2. Installed (for sure) build-essential with sudo apt-get install build-essential

            3. Downloaded VBoxGuestAdditions_5.1.30.iso and installed it from command-line with /media/xenial/VBOXADDITIONS_5.1.30_118389/autorun.sh.






            share|improve this answer

























              Your Answer








              StackExchange.ready(function() {
              var channelOptions = {
              tags: "".split(" "),
              id: "89"
              };
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function() {
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled) {
              StackExchange.using("snippets", function() {
              createEditor();
              });
              }
              else {
              createEditor();
              }
              });

              function createEditor() {
              StackExchange.prepareEditor({
              heartbeatType: 'answer',
              autoActivateHeartbeat: false,
              convertImagesToLinks: true,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: 10,
              bindNavPrevention: true,
              postfix: "",
              imageUploader: {
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              },
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              });


              }
              });














              draft saved

              draft discarded


















              StackExchange.ready(
              function () {
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f992395%2f16-04-guest-on-16-04-host-vboxclient-failed-to-connect-to-the-virtualbox-ker%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              2














              How I got it working for me:



              My setup:




              • VirtualBox 6.0.4


              • Host machine - Ubuntu 18.04


              • Guest machine in virtualbox - Kali 2019.1 kernel version 4.19.0



              Install needed packages with apt on GUEST machine



              apt-get install build-essential virtualbox-guest-utils virtualbox-guest-x11 virtualbox-guest-dkms


              After this, run:



              VBoxClient --clipboard


              Also, make sure that you have enabled Shared Clipboard from Settings>General>Advanced on the HOST machine.



              Now it should be working :)






              share|improve this answer




























                2














                How I got it working for me:



                My setup:




                • VirtualBox 6.0.4


                • Host machine - Ubuntu 18.04


                • Guest machine in virtualbox - Kali 2019.1 kernel version 4.19.0



                Install needed packages with apt on GUEST machine



                apt-get install build-essential virtualbox-guest-utils virtualbox-guest-x11 virtualbox-guest-dkms


                After this, run:



                VBoxClient --clipboard


                Also, make sure that you have enabled Shared Clipboard from Settings>General>Advanced on the HOST machine.



                Now it should be working :)






                share|improve this answer


























                  2












                  2








                  2







                  How I got it working for me:



                  My setup:




                  • VirtualBox 6.0.4


                  • Host machine - Ubuntu 18.04


                  • Guest machine in virtualbox - Kali 2019.1 kernel version 4.19.0



                  Install needed packages with apt on GUEST machine



                  apt-get install build-essential virtualbox-guest-utils virtualbox-guest-x11 virtualbox-guest-dkms


                  After this, run:



                  VBoxClient --clipboard


                  Also, make sure that you have enabled Shared Clipboard from Settings>General>Advanced on the HOST machine.



                  Now it should be working :)






                  share|improve this answer













                  How I got it working for me:



                  My setup:




                  • VirtualBox 6.0.4


                  • Host machine - Ubuntu 18.04


                  • Guest machine in virtualbox - Kali 2019.1 kernel version 4.19.0



                  Install needed packages with apt on GUEST machine



                  apt-get install build-essential virtualbox-guest-utils virtualbox-guest-x11 virtualbox-guest-dkms


                  After this, run:



                  VBoxClient --clipboard


                  Also, make sure that you have enabled Shared Clipboard from Settings>General>Advanced on the HOST machine.



                  Now it should be working :)







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Feb 22 at 11:12









                  etiietii

                  213




                  213

























                      1














                      Problem solved by the following steps:




                      1. I removed virtualbox-guest-x11 with sudo apt-get purge virtualbox-guest-x11 virtualbox-guest-utils

                      2. Installed (for sure) build-essential with sudo apt-get install build-essential

                      3. Downloaded VBoxGuestAdditions_5.1.30.iso and installed it from command-line with /media/xenial/VBOXADDITIONS_5.1.30_118389/autorun.sh.






                      share|improve this answer






























                        1














                        Problem solved by the following steps:




                        1. I removed virtualbox-guest-x11 with sudo apt-get purge virtualbox-guest-x11 virtualbox-guest-utils

                        2. Installed (for sure) build-essential with sudo apt-get install build-essential

                        3. Downloaded VBoxGuestAdditions_5.1.30.iso and installed it from command-line with /media/xenial/VBOXADDITIONS_5.1.30_118389/autorun.sh.






                        share|improve this answer




























                          1












                          1








                          1







                          Problem solved by the following steps:




                          1. I removed virtualbox-guest-x11 with sudo apt-get purge virtualbox-guest-x11 virtualbox-guest-utils

                          2. Installed (for sure) build-essential with sudo apt-get install build-essential

                          3. Downloaded VBoxGuestAdditions_5.1.30.iso and installed it from command-line with /media/xenial/VBOXADDITIONS_5.1.30_118389/autorun.sh.






                          share|improve this answer















                          Problem solved by the following steps:




                          1. I removed virtualbox-guest-x11 with sudo apt-get purge virtualbox-guest-x11 virtualbox-guest-utils

                          2. Installed (for sure) build-essential with sudo apt-get install build-essential

                          3. Downloaded VBoxGuestAdditions_5.1.30.iso and installed it from command-line with /media/xenial/VBOXADDITIONS_5.1.30_118389/autorun.sh.







                          share|improve this answer














                          share|improve this answer



                          share|improve this answer








                          edited Jan 4 '18 at 21:16

























                          answered Jan 4 '18 at 20:50









                          N0rbertN0rbert

                          24.4k851115




                          24.4k851115






























                              draft saved

                              draft discarded




















































                              Thanks for contributing an answer to Ask Ubuntu!


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid



                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.


                              To learn more, see our tips on writing great answers.




                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function () {
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f992395%2f16-04-guest-on-16-04-host-vboxclient-failed-to-connect-to-the-virtualbox-ker%23new-answer', 'question_page');
                              }
                              );

                              Post as a guest















                              Required, but never shown





















































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown

































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown







                              Popular posts from this blog

                              flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

                              Mangá

                              Eduardo VII do Reino Unido