Howto: Running TeamViewer 6.0.9258 As root on Fedora 15 | RHEL 6 | CentOS 6 | Ubuntu| x86_64 | 32-Bit | 64-Bit | Linux

Hello All,

I’m back with another post for Root lovers who likes to work as a root and who always likes to login as a root.

Enabling TeamViewer 5 as root method is very popular and became very easy for anybody to Unlock TeamViewer for Root users. I have also posted the how to for the same and it got very popular and got nice comments for the same topic, I am really thankful to those who have visited that post and encourage me to write some more Howto.

Some Visitors were keep asking me for the same Solution so I am posting Method to “Running TeamViewer 6.0.9258 as a root On Fedora 15 | Red Hat Enterprise Linux 6 | RHEL 6 and Ubuntu Linux. I have tested Only on Fedora but it should work as i have used common Linux Commands to Develop this howto.

Note : If you don’t know what this script and this howto going to do then don’t follow this how to. Even if you know and if something goes wrong then You are the only resposible for this. Do it at completely your own risk.

In TeamViewer 6.0.9258, TeamViewer changed method to login as a root, So For Beginner it is some what difficult to enable it, They have used functions and Called a Function to Disable root.

If you are getting Error something like below then Perform this Howto :-

[root@tejas-barot-linux-ahmedabad ~]# teamviewer
TeamViewer: 6.0.9258
Profile: /root (root)
Desktop: compiz-gnome
LSB Version:    :core-4.0-ia32:core-4.0-noarch
Distributor ID:    Fedora
Description:    Fedora release 15 (Lovelock)
Release:    15
Codename:    Lovelock

Error: TeamViewer must not be executed as root!

For those who wants a quick solution for this issue, I have written a small script which enabled TeamViewer 6.0.9258 Version as root.

To Perform This Howto Following are the Requirement :-

1) Of Course  TeamViewer 6.0.9258 is installed
2) TeamViewer 6.0.9258 Must be installed at its default path (/opt/teamviewer) and Configuration Must be at its default path
3) If you select Option 2 From Script then Internet Must be running from your terminal, Must be able to download file from Terminal and wget package Must be Installed.

Once above requirement Meets then Perform following steps to Run TeamViewer 6.0.9258 as Root :-

1) If you are running as root then its fine otherwise you have to be root to run this script.

2) Download this script By Clicking following link or Executing Following Command on your terminal :-

Browser Users Click this Link :-

Execute this command on Terminal :- # wget

3) Now Execute Following commands as root to make it executable :-

[linux@tejas-barot-ahmedabad ~]# chmod +x

4) Now execute Script by one of the Following Method :-

[linux@tejas-barot-ahmedabad ~]# ./ OR [linux@tejas-barot-ahmedabad ~]#sh

5) It will ask you for two Option :-

Select Option (1) To Run Script Locally, No Internet Needed

Select Option (2) only If Internet is running Directly from terminal and command ‘wget’ is installed.

Please Enter your Choice: 1 or 2 and Press Enter ( Option 1 is recommended)

6) Just Sit back and Relax for Some time.

7) That’s it. Now You’ll able to run TeamViewer 6.0.9258 as root.

Optional :- must be installed for pthread_cancel to work

If you are getting above error then please execute following command and Install RPM and then try run teamviewer :-

[root@tejas-barot-linux-ahmedabad]# rpm -ivh

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

Please let me have some feedback on the same.

If this script worked for you then please don’t forget to comment and if this script not worked for you then please post your errors with output so I’ll try to help you out.

Hope this helps to everybody.

Let me have some comments 🙂 Waiting for your comments 🙂

Enjoy TeamViewer 6.0.9258 as root 🙂 Enjoy Open Source 🙂 Enjoy Linux 🙂


Howto: Running TeamViewer 5/6 as root on Linux | Fedora | Ubuntu | RHEL | CentOS


First of all Let me tell you that this HOWTO is performed on Fedora Ubuntu Red Hat Enterprise Linux and CentOS. This post is applied for TeamViewer Version 5 and 6.

Here is the post on TeamViewer on Linux Again. Hoping that you guys enjoyed previous post regarding TeamViewer Installing on Linux.

Now Here I am going to post 1 trick and tips for TeamViewer. Many Users who likes to work as root and but in TeamViewer 5 there is restriction for Running as root.

Whenever you are trying to run TeamViewer as root from Terminal, You will get message like below :-

TeamViewer must not be executed as root!

By Following very few steps you will be able to run TeamViewer as root.

Perform Following Steps to run TeamViewer As root.

  1. Of Course you have to be root to perform these all steps.
  2. Please Open Terminal on Fedora, Red Hat, CentOS ( Applications -> System Tools -> Terminal )
    Please Open Terminal on Ubuntu ( Applications -> Accessories -> Terminal )
  3. Now Lets find where exactly teamviewer command is. Execute Following command to Find it out.
    []# which teamviewer
    <– You will get this kind of output on your terminal
  4. Be safe So First Lets take a backup of Original TeamViewer Command. Execute Following Command
    cp /usr/bin/teamviewer /usr/bin/teamviewer-orig 
  5. Let’s Open teamviewer file. Here in /usr/bin/teamviewer they have put the restriction for root user. So Lets Remove it. Open File By Executing vim /usr/bin/teamviewer and You will able to see following lines into /usr/bin/teamviewer :-

    userid=$(id -u)if [ $userid = 0 ]
    echo TeamViewer must not be executed as root!
    exit 1

    CHANGE those line to

    ##userid=$(id -u)

    ##if [ $userid = 0 ]
    ##        echo TeamViewer must not be executed as root!
    ##        exit 1

    Save and Exit this file ( Press “ESCthen Press :wq! )


  6. To Open TeamViewer from GUI. Click on Applications –> Internet -> TeamViewer
  7. To Open TeamViewer from Terminal in Fedora, Red Hat and CentOS. Click on Applications -> System Tools -> Terminal. On Terminal Execute Command teamviewerTo Open TeamViewer from Terminal in Ubuntu. Click on Applications -> Accessories -> Terminal. On Terminal Execute Command teamviewer
  8. That’s It Guys

Hope you all like this tip about Running TeamViewer as root on Fedora, Ubuntu, CentOS and RHEL. Please let me know if you face any difficulties while performing above steps. I have not tested it on Ubuntu but it should work with same way.

If you have not installed TeamViewer then please install it by visiting my previos post on TeamViewer :-

Let me have your feedback guys. Thanks for reading Article.

Enjoy TeamViewer on Linux 🙂 Enjoy TeamViewer as root 🙂 Enjoy Linux 🙂 Enjoy Open Source 🙂

TeamViewer must not be executed as root!

Howto: Installing TeamViewer 5/6 on Linux | Team Viewer | Fedora | RHEL | CentOS | Linux


Today I am explaining How to for Installing and Working with Team Viewer. This is howto performed on Free Version of Team Viewer.

Many People questioning about Team Viewer Availability and Compatibility on Linux. But I want to tell you guys that Forget this confusion and start Using Team Viewer on Linux. Because I am using it from last 6 Months and  It is working Perfectly Fine.

I Found Many peoples who are using Team Viewer 5 with Wine or cross over,  I have also tried it but it is not that much successful. Many Times it got stuck up, disconnect and Many Problems.

It’s Possible that some people found this method very easy or some people already knows about it. But Still I want to show this howto, and want to make it open for world, So I am writing this howto for Installing and Configuring Team Viewer 5 on Linux.

This howto is Tested and working perfectly fine on Fedora 11 to 14, CentOS, RHEL ( Red Hat Enterprise Linux ) :-

Please perform following steps to Install Team Viewer 5 on Linux | Fedora | RHEL | CentOS | Red Hat Enterprise Linux.

1) Open Terminal. ( Click on Applications -> System Tools -> Terminal ). For, Red Hat and CentOS you can also Open by Right Click on Desktop and Click on Open Terminal

2) Please switch your User as root. Execute Following Command as Normal user.
[tejasbarot@tejasbarot ~]$ su –
You will get prompt like this.
[root@tejasbarot ~]#

3) Download Team Viewer 5. Execute Following Command on Linux Terminal.
wget -c

For TeamViewer 6 :- # If you are trying this then it is possible you might face many dependencies issue. I don’t have solution for that yet.

Or You can also click on above link to Download using your Browser.

4) Now It’s Time to Install Team Viewer 5 on Linux. Execute Following Command as root.
rpm -ivh teamviewer_linux.rpm

5) Once Team Viewer Get Installed. Make sure you are switch to Normal User. Because New Team Viewer cannot be run as root.

Note :- This Team Viewer is also Using wine as its backend but it never creates problem.

You can open it by following ways.
Open Using Terminal :- Execute Command teamviewer
From GUI :-
Click on Applications -> Internet -> TeamViewer

By Following Similiar steps you can install on Ubuntu Also.

If you want to run TeamViewer as root click here, I have already found the way to run as root. Running/Open Team Viewer 5 as a root from GUI.

If Getting any difficulties or problem feel free to contact me by commenting or contacting me personally. You can get my Mail ID from About US Page.

If you like it or don’t like it Just Express through comments. Every comments accepted.

Hope this helps.

Enjoy Remote Life 🙂 Enjoy TeamViewer 🙂 Enjoy Linux 🙂 Enjoy Open Source 🙂