Linux下Teamviewer安装、设置及开机启动

Source

博客转载自:https://blog.csdn.net/box172506/article/details/88016732

1、下载TeamView
wget http://download.teamviewer.com/download/teamviewer_i386.deb

2、安装依赖包

sudo apt-get install libdbus-1-3:i386 libasound2:i386 libexpat1:i386 libfontconfig1:i386 libfreetype6:i386 libjpeg62:i386 libpng12-0:i386 libsm6:i386 libxdamage1:i386 libxext6:i386 libxfixes3:i386 libxinerama1:i386 libxrandr2:i386 libxrender1:i386 libxtst6:i386 zlib1g:i386 libc6:i386

3、执行安装

sudo dpkg -i teamviewer_i386.deb

如果安装失败,执行

sudo apt-get install -f

修复依赖包

4、启动teamviewer

    4.1 停止teamviewer           

        sudo teamviewer --daemon stop

    4.2 修改配置文件

        sudo vi /opt/teamviewer/config/global.conf

        在文件末尾增加

     [int32] EulaAccepted = 1
     [int32] EulaAcceptedRevision = 6
        保存

    4.3 启动 teamviewer

        sudo teamviewer --daemon start

    4.4 重启系统

        sudo reboot

    4.5 获取 teamviewer ID

        teamviewer --info print id

    4.6 设置密码

        sudo teamviewer --passwd [NEWPASSWORD]

安装启动完成 可以通过teamviewer 连接