So im Using BackTrack now where the main user is root.
Unfortunately i dont wanna miss my favorite Programms like VLC and Teamviewer.
But when i started Teamviewer it said:
TeamViewer must not be executed as root!
I searched the WEB for a Solution and found this.
http://blog.ask4itsolutions.com/2011/01/01/how-to-running-teamviewer-5-6-as-root-on-linux-fedora-ubuntu-rhel-cento/
Unfortunately i ended up with the Same Problem as Martin List
Hi Tejas,
This is what I get when executing Teamviewer as root
TeamViewer: 6.0.9258
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!
This is the conent of the Teamviewer symlink in /usr/bin:
#!/bin/bash
TV_script_dir=$(dirname $(readlink -f “$0″))
“$TV_script_dir/wrapper” wine “c:\Program Files\TeamViewer\Version6\TeamViewer.e
xe” “$@”
true
Well after some diging around i found out its a problem which comes as of Version 6.0.9258.
But i found a Solution
The new Teamviewer file is in /opt/teamviewer/teamviewer/6/bin/
So just type in your shell
"vi /opt/teamviewer/teamviewer/6/bin/wrapper"
then
"/root" press Enter till you find this little piece of code
function validate_user()
{
local userid=$(id -u)
if [ $userid = 0 ] ; then
die "TeamViewer must not be executed as root!"
fi
}
Change the userid to 1 and you are ready to go.
Kind Regards, Suicide
Keine Kommentare:
Kommentar veröffentlichen