Chinaunix首页 | 论坛 | 博客
  • 博客访问: 8970
  • 博文数量: 3
  • 博客积分: 111
  • 博客等级: 入伍新兵
  • 技术积分: 40
  • 用 户 组: 普通用户
  • 注册时间: 2011-02-18 12:19
文章分类

全部博文(3)

文章存档

2011年(3)

我的朋友
最近访客

分类: LINUX

2011-03-14 18:17:23

First of all Let me tell you that this HOWTO is performed on Fedora Ubuntu Red Hat Enterprise Linux and CentOS. This post is applied for TeamViewer Version 5 and 6.

Here is the post on TeamViewer on Linux Again. Hoping that you guys enjoyed previous post regarding TeamViewer Installing on Linux.

Now Here I am going to post 1 trick and tips for TeamViewer. Many Users who likes to work as root and but in TeamViewer 5 there is restriction for Running as root.

Whenever you are trying to run TeamViewer as root from Terminal, You will get message like below :-

TeamViewer must not be executed as root!

By Following very few steps you will be able to run TeamViewer as root.

Perform Following Steps to run TeamViewer As root.

  1. Of Course you have to be root to perform these all steps.
  2. Please Open Terminal on Fedora, Red Hat, CentOS ( Applications -> System Tools -> Terminal )
    Please Open Terminal on Ubuntu ( Applications -> Accessories -> Terminal )
  3. Now Lets find where exactly teamviewer command is. Execute Following command to Find it out.
    [root@ask4itsolutions.com]# which teamviewer
    /usr/bin/teamviewer
    <– You will get this kind of output on your terminal
  4. Be safe So First Lets take a backup of Original TeamViewer Command. Execute Following Command
    cp /usr/bin/teamviewer /usr/bin/teamviewer-orig

  5. Let’s Open teamviewer file. Here in /usr/bin/teamviewer they have put the restriction for root user. So Lets Remove it. Open File By Executing vim /usr/bin/teamviewer and You will able to see following lines into /usr/bin/teamviewer :-

    userid=$(id -u)

    if [ $userid = 0 ]
    then
    echo TeamViewer must not be executed as root!
    exit 1
    fi

    CHANGE those line to

    ##userid=$(id -u)

    ##if [ $userid = 0 ]
    ##then
    ##        echo TeamViewer must not be executed as root!
    ##        exit 1
    ##fi

    Save and Exit this file ( Press “ESCthen Press :wq! )

  6. To Open TeamViewer from GUI. Click on Applications -> Internet -> TeamViewer
  7. To Open TeamViewer from Terminal in Fedora, Red Hat and CentOS. Click on Applications -> System Tools -> Terminal. On Terminal Execute Command teamviewerTo Open TeamViewer from Terminal in Ubuntu. Click on Applications -> Accessories -> Terminal. On Terminal Execute Command teamviewer
  8. That’s It Guys


Read more: Howto: Running TeamViewer 5/6 as root on Linux | Fedora | Ubuntu | RHEL | CentOS @ All Linux User's Blog http://blog.ask4itsolutions.com/2011/01/01/how-to-running-teamviewer-5-6-as-root-on-linux-fedora-ubuntu-rhel-cento/#ixzz1GZGetinL
All Linux User's Blog | Ask4 IT Solutions | Ahmedabad | Gujarat | India |
Under Creative Commons License:
阅读(1046) | 评论(0) | 转发(0) |
0

上一篇:没有了

下一篇:how to mount an iso on linux

给主人留下些什么吧!~~