Custom Init / Boot Script for teamviewerd service for TeamViewer 8 / Ubuntu / CentOS / RHEL

Dear All,

Main Purpose of this script is :- Running teamviewerd as daemon on Ubuntu and CentOS / RHEL for TeamViewer 8.

As We already know that, TeamViewer 8 is now released and Looking Very nice. I have used the same for few days and Working fine.

But In Ubuntu I have faced the issue is that every time I am getting the error is “TeamViewer Daemon is not Running. Please Start the teamviewerd and Restart teamviewer.”

So To get the rid of above error, I have written a script to start teamviewerd on boot and we don’t need to do that manually. I am sharing the same script and tested on Ubuntu and it is working fine from last 5 days. The same script will work for CentOS / RHEL too but In CentOS / RHEL It is not required to start teamviewerd  manually. Below is the screenshot for the same.

 

teamviewerd

Error TeamViewerd

Script which i am sharing here is Originally written by me and for All Linux User’s Blog Visitors, It is possible that Few people may download and may change the Author Information and share again, I also don’t mind it but Trusted Source for the script is here only.

Usage of the script :- /etc/init.d/tvscript {start|stop|restart|status}

BUGS :- Do not rename this script as teamviewer or teamviewerd else it won’t work as expected.

For Ubuntu :-

1. You need to be root or any user with root rights.

2. Download the Script from below link :-

root@linux-support-ahmedabad-tejas-barot:~# wget -c http://www.tejasbarot.com/Scripts/tvscript.sh

3. Now Copy that Script to /etc/init.d/ and assign permissions

root@linux-support-ahmedabad-tejas-barot:~# cp tvscript.sh /etc/init.d/tvscript

root@linux-support-ahmedabad-tejas-barot:~# chmod 0755 /etc/init.d/tvscript

4. Now Let’s Update it as a Custom Init Script ( Boot Script )

root@linux-support-ahmedabad-tejas-barot:~# update-rc.d tvscript defaults

5. That’s It. Now You can use this script by /etc/init.d/tvscript or By rebooting your system.

For CentOS / RHEL 6.x :-

1. You need to be root or any user with root rights.

2. Download the Script from below link :-

[root@linux-support-ahmedabad-tejas-barot ~#] wget -c http://www.tejasbarot.com/Scripts/tvscript.sh

3. Now Copy that Script to /etc/init.d/ and assign permissions

[root@linux-support-ahmedabad-tejas-barot ~#] cp tvscript.sh /etc/init.d/tvscript

[root@linux-support-ahmedabad-tejas-barot ~#] chmod 0755 /etc/init.d/tvscript

4. Now Let’s Update it as a Custom Init Script ( Boot Script )

[root@linux-support-ahmedabad-tejas-barot ~#] chkconfig --add tvscript

5. That’s It. Now You can use this script by /etc/init.d/tvscript or By rebooting your system.

Hope this helps you all.

I hope this will helps you all, If you face any issue regarding the same or its not working for your some how then please raise your questions / issues at http://linuxforums.tejasbarot.com

If you like this then Please Click Google +1 Button and Show Your Support. Your Support will encourage me to write more articles.

Ask for Linux Commercial Support :- http://www.tejasbarot.com/linux-commercial-support/

All Linux User’s Blog Mobile Applications :- http://www.tejasbarot.com/download-mobile-apps/

Please Keep in Touch with Social Networking :- 

Facebook :- https://www.facebook.com/tejasbarot.official

Facebook Page :- https://www.facebook.com/AllLinuxUsersBlog

Twitter :- https://www.twitter.com/imtejasbarot

Enjoy TeamViewerd :) Enjoy TeamViewer 8 on Linux :) Enjoy Linux :) Enjoy Open Source :)

Content Protection by DMCA.com

You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.


6 Comments »

 
 

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>


× eight = 40