Kill and Restart TeamViewer 10 Ubuntu 14.04












11















How do I kill and restart TeamViewer 10 on ubuntu from the command line?



I tried running sudo kill -HUP teamviewer* and other variants (TeamViewer.exe; which I got from the system monitor) with no luck.



I have an issue sometimes with Teamviewer hanging and it would be nice not to have to reboot my system to get TV10 working again.










share|improve this question



























    11















    How do I kill and restart TeamViewer 10 on ubuntu from the command line?



    I tried running sudo kill -HUP teamviewer* and other variants (TeamViewer.exe; which I got from the system monitor) with no luck.



    I have an issue sometimes with Teamviewer hanging and it would be nice not to have to reboot my system to get TV10 working again.










    share|improve this question

























      11












      11








      11


      2






      How do I kill and restart TeamViewer 10 on ubuntu from the command line?



      I tried running sudo kill -HUP teamviewer* and other variants (TeamViewer.exe; which I got from the system monitor) with no luck.



      I have an issue sometimes with Teamviewer hanging and it would be nice not to have to reboot my system to get TV10 working again.










      share|improve this question














      How do I kill and restart TeamViewer 10 on ubuntu from the command line?



      I tried running sudo kill -HUP teamviewer* and other variants (TeamViewer.exe; which I got from the system monitor) with no luck.



      I have an issue sometimes with Teamviewer hanging and it would be nice not to have to reboot my system to get TV10 working again.







      14.04 command-line teamviewer






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 8 '15 at 20:33









      NotMy1RealNameNotMy1RealName

      1101311




      1101311






















          4 Answers
          4






          active

          oldest

          votes


















          4














          kill accepts PIDs, not process command names. Try pkill, or killall:



          sudo pkill TeamViewer.exe


          Or:



          sudo pkill -f TeamViewer.exe





          share|improve this answer
























          • The pkill command did the trick to kill TeamViewer. How do I restart?

            – NotMy1RealName
            Mar 8 '15 at 20:52











          • @NotMy1RealName how do you usually start it?

            – muru
            Mar 8 '15 at 20:56






          • 1





            It starts at boot. However, the issue is that the program crashes at times and needs to be killed and restarted. I've xkill 'd the program, but I can't restart it unless I reboot. Very inconvenient.

            – NotMy1RealName
            Mar 9 '15 at 1:20



















          20














          In other versions of teamviewer some times the daemon has to be restarted the in order to run the teamviewer app again after closing it.



          sudo teamviewer --daemon stop
          sudo teamviewer --daemon start


          or



          sudo teamviewer --daemon restart





          share|improve this answer
























          • This worked perfectly for me. It's probably a much more elegant way to do it than killing the process.

            – drwatsoncode
            Jun 21 '17 at 18:47



















          4














          These work too:



          sudo service teamviewerd stop
          sudo service teamviewerd start





          share|improve this answer

































            0














            In Ubuntu 16.04



            sudo systemctl stop teamviewerd.service
            sudo systemctl start teamviewerd.service


            or



            sudo systemctl restart teamviewerd.service





            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%2f594338%2fkill-and-restart-teamviewer-10-ubuntu-14-04%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              4 Answers
              4






              active

              oldest

              votes








              4 Answers
              4






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              4














              kill accepts PIDs, not process command names. Try pkill, or killall:



              sudo pkill TeamViewer.exe


              Or:



              sudo pkill -f TeamViewer.exe





              share|improve this answer
























              • The pkill command did the trick to kill TeamViewer. How do I restart?

                – NotMy1RealName
                Mar 8 '15 at 20:52











              • @NotMy1RealName how do you usually start it?

                – muru
                Mar 8 '15 at 20:56






              • 1





                It starts at boot. However, the issue is that the program crashes at times and needs to be killed and restarted. I've xkill 'd the program, but I can't restart it unless I reboot. Very inconvenient.

                – NotMy1RealName
                Mar 9 '15 at 1:20
















              4














              kill accepts PIDs, not process command names. Try pkill, or killall:



              sudo pkill TeamViewer.exe


              Or:



              sudo pkill -f TeamViewer.exe





              share|improve this answer
























              • The pkill command did the trick to kill TeamViewer. How do I restart?

                – NotMy1RealName
                Mar 8 '15 at 20:52











              • @NotMy1RealName how do you usually start it?

                – muru
                Mar 8 '15 at 20:56






              • 1





                It starts at boot. However, the issue is that the program crashes at times and needs to be killed and restarted. I've xkill 'd the program, but I can't restart it unless I reboot. Very inconvenient.

                – NotMy1RealName
                Mar 9 '15 at 1:20














              4












              4








              4







              kill accepts PIDs, not process command names. Try pkill, or killall:



              sudo pkill TeamViewer.exe


              Or:



              sudo pkill -f TeamViewer.exe





              share|improve this answer













              kill accepts PIDs, not process command names. Try pkill, or killall:



              sudo pkill TeamViewer.exe


              Or:



              sudo pkill -f TeamViewer.exe






              share|improve this answer












              share|improve this answer



              share|improve this answer










              answered Mar 8 '15 at 20:36









              murumuru

              1




              1













              • The pkill command did the trick to kill TeamViewer. How do I restart?

                – NotMy1RealName
                Mar 8 '15 at 20:52











              • @NotMy1RealName how do you usually start it?

                – muru
                Mar 8 '15 at 20:56






              • 1





                It starts at boot. However, the issue is that the program crashes at times and needs to be killed and restarted. I've xkill 'd the program, but I can't restart it unless I reboot. Very inconvenient.

                – NotMy1RealName
                Mar 9 '15 at 1:20



















              • The pkill command did the trick to kill TeamViewer. How do I restart?

                – NotMy1RealName
                Mar 8 '15 at 20:52











              • @NotMy1RealName how do you usually start it?

                – muru
                Mar 8 '15 at 20:56






              • 1





                It starts at boot. However, the issue is that the program crashes at times and needs to be killed and restarted. I've xkill 'd the program, but I can't restart it unless I reboot. Very inconvenient.

                – NotMy1RealName
                Mar 9 '15 at 1:20

















              The pkill command did the trick to kill TeamViewer. How do I restart?

              – NotMy1RealName
              Mar 8 '15 at 20:52





              The pkill command did the trick to kill TeamViewer. How do I restart?

              – NotMy1RealName
              Mar 8 '15 at 20:52













              @NotMy1RealName how do you usually start it?

              – muru
              Mar 8 '15 at 20:56





              @NotMy1RealName how do you usually start it?

              – muru
              Mar 8 '15 at 20:56




              1




              1





              It starts at boot. However, the issue is that the program crashes at times and needs to be killed and restarted. I've xkill 'd the program, but I can't restart it unless I reboot. Very inconvenient.

              – NotMy1RealName
              Mar 9 '15 at 1:20





              It starts at boot. However, the issue is that the program crashes at times and needs to be killed and restarted. I've xkill 'd the program, but I can't restart it unless I reboot. Very inconvenient.

              – NotMy1RealName
              Mar 9 '15 at 1:20













              20














              In other versions of teamviewer some times the daemon has to be restarted the in order to run the teamviewer app again after closing it.



              sudo teamviewer --daemon stop
              sudo teamviewer --daemon start


              or



              sudo teamviewer --daemon restart





              share|improve this answer
























              • This worked perfectly for me. It's probably a much more elegant way to do it than killing the process.

                – drwatsoncode
                Jun 21 '17 at 18:47
















              20














              In other versions of teamviewer some times the daemon has to be restarted the in order to run the teamviewer app again after closing it.



              sudo teamviewer --daemon stop
              sudo teamviewer --daemon start


              or



              sudo teamviewer --daemon restart





              share|improve this answer
























              • This worked perfectly for me. It's probably a much more elegant way to do it than killing the process.

                – drwatsoncode
                Jun 21 '17 at 18:47














              20












              20








              20







              In other versions of teamviewer some times the daemon has to be restarted the in order to run the teamviewer app again after closing it.



              sudo teamviewer --daemon stop
              sudo teamviewer --daemon start


              or



              sudo teamviewer --daemon restart





              share|improve this answer













              In other versions of teamviewer some times the daemon has to be restarted the in order to run the teamviewer app again after closing it.



              sudo teamviewer --daemon stop
              sudo teamviewer --daemon start


              or



              sudo teamviewer --daemon restart






              share|improve this answer












              share|improve this answer



              share|improve this answer










              answered Aug 26 '16 at 6:26









              fguifgui

              30123




              30123













              • This worked perfectly for me. It's probably a much more elegant way to do it than killing the process.

                – drwatsoncode
                Jun 21 '17 at 18:47



















              • This worked perfectly for me. It's probably a much more elegant way to do it than killing the process.

                – drwatsoncode
                Jun 21 '17 at 18:47

















              This worked perfectly for me. It's probably a much more elegant way to do it than killing the process.

              – drwatsoncode
              Jun 21 '17 at 18:47





              This worked perfectly for me. It's probably a much more elegant way to do it than killing the process.

              – drwatsoncode
              Jun 21 '17 at 18:47











              4














              These work too:



              sudo service teamviewerd stop
              sudo service teamviewerd start





              share|improve this answer






























                4














                These work too:



                sudo service teamviewerd stop
                sudo service teamviewerd start





                share|improve this answer




























                  4












                  4








                  4







                  These work too:



                  sudo service teamviewerd stop
                  sudo service teamviewerd start





                  share|improve this answer















                  These work too:



                  sudo service teamviewerd stop
                  sudo service teamviewerd start






                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited Jul 12 '17 at 4:46









                  muru

                  1




                  1










                  answered Jul 12 '17 at 0:51









                  Matt MoodyMatt Moody

                  411




                  411























                      0














                      In Ubuntu 16.04



                      sudo systemctl stop teamviewerd.service
                      sudo systemctl start teamviewerd.service


                      or



                      sudo systemctl restart teamviewerd.service





                      share|improve this answer




























                        0














                        In Ubuntu 16.04



                        sudo systemctl stop teamviewerd.service
                        sudo systemctl start teamviewerd.service


                        or



                        sudo systemctl restart teamviewerd.service





                        share|improve this answer


























                          0












                          0








                          0







                          In Ubuntu 16.04



                          sudo systemctl stop teamviewerd.service
                          sudo systemctl start teamviewerd.service


                          or



                          sudo systemctl restart teamviewerd.service





                          share|improve this answer













                          In Ubuntu 16.04



                          sudo systemctl stop teamviewerd.service
                          sudo systemctl start teamviewerd.service


                          or



                          sudo systemctl restart teamviewerd.service






                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered Feb 18 at 15:19









                          HarisHaris

                          17617




                          17617






























                              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%2f594338%2fkill-and-restart-teamviewer-10-ubuntu-14-04%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