another way is to navigate to /opt/teamviewer/teamviewer/6/bin/ right click on the teamviewer file and open as text. then where it says
Code: Select all
userid=$(id -u)
if [ $userid = 0 ]
then
echo TeamViewer must not be executed as root!
exit 1
fi
Code: Select all
##userid=$(id -u)
##if [ $userid = 0 ]
##then
## echo TeamViewer must not be executed as root!
## exit 1
##fi