Failing to auto start virtual machine

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












I am trying to auto start my rpi so that it automatically logs into the virtual machine.



My script.sh has the following:



sleep 10
~/.profile
sleep 10
workon cv


and when I put the script.sh into crontab -e by entering the following:



 @reboot /home/pi/script.sh


and rebooting, nothing happens... What am I doing wrong?



I have also tried /etc./rc.local, but that didnt work either.







share|improve this question
























    up vote
    0
    down vote

    favorite












    I am trying to auto start my rpi so that it automatically logs into the virtual machine.



    My script.sh has the following:



    sleep 10
    ~/.profile
    sleep 10
    workon cv


    and when I put the script.sh into crontab -e by entering the following:



     @reboot /home/pi/script.sh


    and rebooting, nothing happens... What am I doing wrong?



    I have also tried /etc./rc.local, but that didnt work either.







    share|improve this question






















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I am trying to auto start my rpi so that it automatically logs into the virtual machine.



      My script.sh has the following:



      sleep 10
      ~/.profile
      sleep 10
      workon cv


      and when I put the script.sh into crontab -e by entering the following:



       @reboot /home/pi/script.sh


      and rebooting, nothing happens... What am I doing wrong?



      I have also tried /etc./rc.local, but that didnt work either.







      share|improve this question












      I am trying to auto start my rpi so that it automatically logs into the virtual machine.



      My script.sh has the following:



      sleep 10
      ~/.profile
      sleep 10
      workon cv


      and when I put the script.sh into crontab -e by entering the following:



       @reboot /home/pi/script.sh


      and rebooting, nothing happens... What am I doing wrong?



      I have also tried /etc./rc.local, but that didnt work either.









      share|improve this question











      share|improve this question




      share|improve this question










      asked May 16 at 16:14









      Badabim

      11




      11

























          active

          oldest

          votes











          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',
          convertImagesToLinks: true,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          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%2f1037033%2ffailing-to-auto-start-virtual-machine%23new-answer', 'question_page');

          );

          Post as a guest



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes










           

          draft saved


          draft discarded


























           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1037033%2ffailing-to-auto-start-virtual-machine%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          pylint3 and pip3 broken

          Missing snmpget and snmpwalk

          How to enroll fingerprints to Ubuntu 17.10 with VFS491