Thursday, December 29, 2011

Running Teamviewer 6 as root on linux

While attempting to run teamviewer 6 on BT5, as usual, I got the error:

Error: TeamViewer must not be executed as root!

so the solution is simple

root@bt:~# cd /opt/teamviewer/teamviewer/6/bin/
root@bt:/opt/teamviewer/teamviewer/6/bin# gedit wrapper

then edit the file as

and instead of “die” just replace that with “echo”. This way it would run and every time remind you of security issues as well.

function validate_user()
local userid=$(id -u)

if [ $userid = 0 ] ; then
echo “TeamViewer must not be executed as root!”

or simply just uncomment the whole if – fi structure.


Ujjwal Soni

2 comments: said...

Interesting post and thanks for sharing. Some things in here I have not thought about
before.Thanks for making such a cool post which is really very well written.
will be referring a lot of friends about this.Keep blogging.

Anonymous said...

Thanks for sharing this nice post. It's a very good software and there are a number of options available in TeamViewer that enable you to use the remote computer very easily without having networking Expertise.