Categories
Linux Troubleshootings

teamviewer 6/7.0.9300 as root user on linux

TeamViewer 6 or 7.0.9300 beta version can be run as root easily on backtrack or any Linux distribution including Ubuntu / CentOS 6 / RedHat by modifying the wrapper file which is instructed to not execute Team Viewer products as root.

When you run Teamviewer7 from console, you will get this error;

root@hackersgarage:~/Downloads# teamviewer7
TeamViewer: 7.0.9300
Profile: /root (root)
Desktop:
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 10.04.2 LTS
Release: 10.04
Codename: lucid

Error: TeamViewer must not be executed as root!

How to install Team Viewer 7 beta on backtrack5 RC1 linux?

wget http://www.teamviewer.com/download/version_7x/teamviewer_linux.deb
dpkg -i teamviewer_linux.deb

For RPM based distro CentOS/RHEL
wget http://www.teamviewer.com/download/version_7x/teamviewer_linux.rpm
rpm -ivh teamviewer_linux.rpm

Warning : Running application as root is not recommended.

FIX Team Viewer7 to run as ROOT by running below SED command :

sed -i 's/die \"T/echo \"T/g' /opt/teamviewer/teamviewer/7/bin/wrapper

DONE! 🙂 Now Go to Application –> Internet –> Team Viewer 7