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!”
fi
}

or simply just uncomment the whole if – fi structure.

Cheers!

Advertisements

One thought on “Running Teamviewer 6 as root on linux

Add yours

Join the Discussion

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

Up ↑

%d bloggers like this: