Monday, February 6, 2012

How To Running TeamViewer On Linux Ubuntu Fedora RHEL CentOS

Here is a good trick for Teamviewer first install Teamviewer in linux but you are trying to run teamviewer  as a root from terminal. You will get message like:-
TeamViewer must not be executed as root!
So what to do no idea but you want to run ok follow this few step...then you can run Teamviewer

[root@red ~]# vi /usr/bin/teamviewer

userid=$(id -u)

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

Uncomment these lines to

#userid=$(id -u)

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

Save and Exit this file

That's it friends...Try to run Teamviewer....

***Enjoy the magic***



Favorites