以前在raspberryPi上搞过teamviewer,现在用了CentOS服务器,搞了一个vpn,访问还有点问题,时间紧张,就先给teamviewer。

而centos7 上安装也比较简单,几条命令就可以了,但是往往很多人回到找不到ID的问题,这里简答记录一下。

安装步骤:

1、在teamviewer官网上下载rpm包,下载地址:https://www.teamviewer.com/zhcn/download/linux/

[root@localhost tv_bin]# wget https://download.teamviewer.com/download/linux/teamviewer.x86_64.rpm

如果安装失败,则尝试如下:

[root@localhost ~]# yum install -y teamviewer.x86_64.rpm --skip-broken

安装路径,我选择了opt,具体可以根据需要去选。

2.安装文件,出现 complete!即安装成功。

[root@localhost tv_bin]# yum install -y teamviewer.x86_64.rpm 

3.进入到teamviewer目录

[root@localhost tv_bin]# cd /opt/teamviewer/tv_bin/

[root@localhost tv_bin]# pwd

/opt/teamviewer/tv_bin

[root@localhost tv_bin]# ls

desktop  resources  script  TeamViewer  teamviewer-config  teamviewerd  TeamViewer_Desktop  xdg-utils

4、常用几条命令附下:
设置密码:

[root@localhost tv_bin]# teamviewer --passwd 

重启服务:

[root@localhost tv_bin]#  teamviewer --daemon restart

查看信息:

[root@localhost tv_bin]# teamviewer --info

5、有个问题是查看安装信息的时候没有teamviewer的ID,这样就无法连接。查了一下是没有密码的原因,只要设置密码就会出现ID了 
teamviewer –passwd 你的密码

[root@localhost tv_bin]# teamviewer --passwd 12345678

ok

[root@localhost tv_bin]# teamviewer --daemon restart

systemctl restart teamviewerd.service

[root@localhost tv_bin]# teamviewer --info

TeamViewer                           13.2.13582  (RPM)

TeamViewer ID:                        haochuang(我修改掉了)

teamviewerd status                   ● teamviewerd.service - TeamViewer remote control daemon

Loaded: loaded (/etc/systemd/system/teamviewerd.service; enabled; vendor preset: disabled)

Active: active (running) since 六 2018-08-18 11:23:46 CST; 8s ago

Process: 27961 ExecStart=/opt/teamviewer/tv_bin/teamviewerd -d (code=exited, status=0/SUCCESS)

Main PID: 27963 (teamviewerd)

CGroup: /system.slice/teamviewerd.service

└─27963 /opt/teamviewer/tv_bin/teamviewerd -d

8月 18 11:23:46 localhost.localdomain systemd[1]: Starting TeamViewer remote control daemon...

8月 18 11:23:46 localhost.localdomain systemd[1]: PID file /var/run/teamviewerd.pid not readable (yet?) after start.

8月 18 11:23:46 localhost.localdomain systemd[1]: Started TeamViewer remote control daemon.

这里注意一下,密码太短是不行的,你会看到下面的错误:

[root@localhost tv_bin]# teamviewer –passwd 123456

Init...

xprop:  unable to open display ''

CheckCPU: SSE2 support: yes

Checking setup...

Launching TeamViewer ...

Launching TeamViewer GUI ...

已放弃

[root@localhost tv_bin]# teamviewer --info

TeamViewer                           13.2.13582  (RPM)

TeamViewer ID:

Try restarting the TeamViewer daemon (e.g. teamviewer --daemon restart)

teamviewerd status                   ● teamviewerd.service - TeamViewer remote control daemon

Loaded: loaded (/etc/systemd/system/teamviewerd.service; enabled; vendor preset: disabled)

Active: active (running) since 六 2018-08-18 10:56:52 CST; 6min ago

Main PID: 25762 (teamviewerd)

CGroup: /system.slice/teamviewerd.service

└─25762 /opt/teamviewer/tv_bin/teamviewerd -d

8月 18 10:56:52 localhost.localdomain systemd[1]: Starting TeamViewer remote control daemon...

8月 18 10:56:52 localhost.localdomain systemd[1]: Started TeamViewer remote control daemon.

所以,记得,太短是不行的,太短是不行的,太短是不行的,重要的事情说三遍;

要长才可以!

好了,配置完成,就可以enjoy your self,尽情撸码了。

--20180818 11:45 @白猫科技园

linux centos 7上运行teamviewer与找不到ID问题处理办法的更多相关文章

  1. Linux Centos 系统上安装BT客户端 Transmission

    Linux Centos 系统上安装BT客户端 Transmission   Transmission是一种BitTorrent客户端,特点是一个跨平台的后端和其上的简洁的用户界面,以MIT许可证和G ...

  2. Linux CentOS系统上安装Eclipse

    Linux CentOS系统上安装Eclipse 1. 下载Eclipse软件 下载网址:http://www.eclipse.org/downloads/packages/release/Juno/ ...

  3. 如何在linux centos 环境下运行.exe文件

    linux是不能运行window下的可执行文件的,必须借助于wine.百度了以下wine如下:   Wine (“Wine Is Not an Emulator” 的递归缩写)是一个能够在多种 POS ...

  4. 在linux云服务器上运行Jar文件

    在linux服务器上运行Jar文件时通常的方法是: $ java -jar test.jar 这种方式特点是ssh窗口关闭时,程序中止运行.或者是运行时没法切出去执行其他任务,有没有办法让Jar在后台 ...

  5. linux centos 6.5 运行MySQL Workbench 6.0找不到 libmysqlclient.so.16和libmysqlclient_r.so.16

    找到已安装mysql/lib目录下有类似文件: -rw-r--r-- root root 12月 : libmysqlclient.a lrwxrwxrwx root root 12月 : libmy ...

  6. Linux(Centos)系统上搭建SVN以及常见错误解答

    本文主要介绍怎样在Centos上搭建SVN,文章内容比较基础,适合小白用户学习. 1.Linux版本Centos 6.5 查看linux版本命令: cat /etc/issue 2.查看本机上是否已经 ...

  7. .net core在Linux ARM板上运行

    最近接了个临时任务,给别的项目组的机器人平台上开发个小程序,那机器人上跑的是ARM平台,ubuntu的系统. 本来打算用C++写的,由于最近用.net core较多,鉴于其在linux平台良好的兼容性 ...

  8. asp.net中ashx生成验证码代码放在Linux(centos)主机上访问时无法显示问题

    最近有个项目加入了验证码功能,就从自己博客以前的代码中找到直接使用,直接访问验证码页面报错如下: 源代码:asp.net中使用一般处理程序生成验证码 Application Exception Sys ...

  9. 配置 ASP.NET Linux( CentOS 6.5 ) 运行环境 MONO + Jexus

    1.更新系统 在命令行下执行 yum –y update 2.安装必要的软件 yum -y install gcc gcc-c++ bison pkgconfig glib2-devel gettex ...

随机推荐

  1. Math对象的常用属性和方法

    属性 描述 Math.PI 返回π(3.1415926) 方法 描述 Math.round() 将数字四舍五入到离它最近的整数 Math.sart(n) 返回平方根,例如Math.sart(9)返回3 ...

  2. 【C++ Primer 第15章】定义派生类析构函数

    学习资料 • 基类和派生类析构函数执行顺序 定义派生类析构函数 [注意]定义一个对象时先调用基类的构造函数.然后调用派生类的构造函数:析构的时候恰好相反:先调用派生类的析构函数.然后调用基类的析构函数 ...

  3. 微信小程序~wx.getUserInfo逐渐废弃,小程序登录过程将如何优化?

    很多的时候我们在做小程序应用的时候,希望用户在使用小程序前进行登录授权,之前登录后通过wx.getUserInfo直接弹出授权的登录方式官方的意思是将不再支持,而是让用户通过下面的方式授权用户信息 & ...

  4. 详解kubeadm生成的证书(转)

    https://docs.lvrui.io/2018/09/28/%E8%AF%A6%E8%A7%A3kubeadm%E7%94%9F%E6%88%90%E7%9A%84%E8%AF%81%E4%B9 ...

  5. linux 中的./configuration --prefix=安装路径 的用法(指定源码安装方式的安装路基)

    源码的安装一般由3个步骤组成:配置(configure).编译(make).安装(make install). Configure是一个可执行脚本,它有很多选项,在待安装的源码路径下使用命令./con ...

  6. BZOJ4997 [Usaco2017 Feb]Why Did the Cow Cross the Road III

    欢迎访问~原文出处——博客园-zhouzhendong 去博客园看该题解 题目传送门 - BZOJ4997 题意概括 在n*n的区域里,每一个1*1的块都是一个格子. 有k头牛在里面. 有r个篱笆把格 ...

  7. Quratz入门

    一:介绍 1.应用场景 基本上任何公司都会用到调度这个功能, 比如我们公司需要定期执行调度生成报表, 或者比如博客什么的定时更新之类的,都可以靠Quartz来完成.正如官网所说,小到独立应用大到大型电 ...

  8. javascript高级部分

    回顾 回顾: 整体: - HTML - CSS - JavaScript - 基本数据类型 - for,while.. - DOM - obj = document.getElementById('. ...

  9. python处理转义字符

    python2 #1. import HTMLParser HTMLParser.HTMLParser().unescape('Suzy & John') #2. from xml.sax.s ...

  10. Hbuilder ios证书申请

      最近负责app开发上线,一些心的总结 1.需要先用 苹果操作系统的证书管理  生成 .csr (多次使用) 2.进入开发者帐号 - 证书与配置c&p + App store and AD ...