红联Linux门户
Linux帮助

teamview linux命令行安装参数

发布时间:2015-11-23 10:28:58来源:linux网站作者:gsls200808

说明:本文只提供简要的安装教程可命令行参数,实际运行中无法获取到TeamView的ID。


一、ubuntu Server版

1.创建下载目录

mkdir ~/downloads/ 
cd ~/downloads/ 


2.下载

下载地址:https://www.teamviewer.com/zhCN/download/linux.aspx


3.安装deb软件包

dpkg -i teamviewer_i386.deb 

如果出现依赖问题,使用apt-get install -f解决依赖

如果出现xdg-desktop-menu: No writable system menu directory found.
创建桌面系统失败,因为服务器没有桌面,不用管


4.运行
默认安装路径
/opt/teamviewer/
运行
cd /opt/teamviewer/tv_bin 
teamviewer --setup console #设置启动方式为控制台启动 
teamviewer --daemon restart  #重启teamview服务 
teamviewer --info #查看teamview信息 
teamviewer --passwd [PASSWD]   #设置密码 
teamviewer --help  #查看帮助 

但是查看信息的时候始终无法获取到TeamView的ID,不知道哪里的问题


5.帮助信息
root@ubuntu:/opt/teamviewer/tv_bin# ./TeamViewer -help 
TeamViewer                           11.0.50678  (DEB)  
teamviewer                           Start TeamViewer user interface (if not running). 
teamviewer help                      Print this help screen. 
teamviewer version                   Print version information. 
teamviewer info                      Print version, status, id. 
teamviewer ziplog                    Create a zip containing all teamviewer logs (useful when contacting support). 
teamviewer license [show|accept]     Interactively agree or show/agree to End User License Agreement. 
teamviewer setup                     Configure headless modes (non-gui/console or xvfb) 
teamviewer passwd [PASSWD]           Set a password (useful when installing remote (ssh). 
teamviewer daemon status             Show current status of the TeamViewer daemon. 
teamviewer daemon start              Start             TeamViewer daemon. 
teamviewer daemon stop               Stop              TeamViewer daemon. 
teamviewer daemon restart            Stop/Start        TeamViewer daemon. 
teamviewer daemon disable            Disable   TeamViewer daemon - don't start daemon on system startup. 
teamviewer daemon enable             Enable            TeamViewer daemon - start daemon on system startup (default). 
teamviewer virtual-desktop setup     Interactive setup for Xvfb headless mode. 
teamviewer virtual-desktop set [enabled=yes|no] [user=USERNAME] [resolution=1024x768x24] [gracetime=unlimited|seconds] 
Setup Xvfb headless mode. 
teamviewer virtual-desktop show      Show Xvfb headless configuration. 
teamviewer vd [setup|set|show]       Alias for "teamviewer virtual-desktop". 
root@ubuntu:/opt/teamviewer/tv_bin# 


6.删除软件包
dpkg -l|grep teamviewer  #用关键字查找软件包名 
dpkg -r -P teamviewer.deb #删除查找到软件包名 


二、CentOS版

1.创建下载目录
mkdir ~/downloads/ 
cd ~/downloads/ 


2.下载

下载地址:https://www.teamviewer.com/zhCN/download/linux.aspx


3.安装deb软件包
yum install teamviewer.i686.rpm 

或者

rpm -i teamviewer.i686.rpm 


4.运行
默认安装路径
/opt/teamviewer/
运行
cd /opt/teamviewer/tv_bin 
teamviewer --setup console #设置启动方式为控制台启动 
teamviewer --daemon restart  #重启teamview服务 
teamviewer --info #查看teamview信息 
teamviewer --passwd [PASSWD]   #设置密码 
teamviewer --help  #查看帮助 

但是查看信息的时候始终无法获取到TeamView的ID,不知道哪里的问题


5.帮助信息
root@centos:/opt/teamviewer/tv_bin# ./TeamViewer -help 
TeamViewer                           11.0.50678  (RPM) 
teamviewer                           Start TeamViewer user interface (if not running). 
teamviewer help                      Print this help screen. 
teamviewer version                   Print version information. 
teamviewer info                      Print version, status, id. 
teamviewer ziplog                    Create a zip containing all teamviewer logs (useful when contacting support). 
teamviewer license [show|accept]     Interactively agree or show/agree to End User License Agreement. 
teamviewer setup                     Configure headless modes (non-gui/console or xvfb) 
teamviewer passwd [PASSWD]           Set a password (useful when installing remote (ssh). 
teamviewer daemon status             Show current status of the TeamViewer daemon. 
teamviewer daemon start              Start             TeamViewer daemon. 
teamviewer daemon stop               Stop              TeamViewer daemon. 
teamviewer daemon restart            Stop/Start        TeamViewer daemon. 
teamviewer daemon disable            Disable   TeamViewer daemon - don't start daemon on system startup. 
teamviewer daemon enable             Enable            TeamViewer daemon - start daemon on system startup (default). 
teamviewer virtual-desktop setup     Interactive setup for Xvfb headless mode. 
teamviewer virtual-desktop set [enabled=yes|no] [user=USERNAME] [resolution=1024x768x24] [gracetime=unlimited|seconds]
Setup Xvfb headless mode. 
teamviewer virtual-desktop show      Show Xvfb headless configuration. 
teamviewer vd [setup|set|show]       Alias for "teamviewer virtual-desktop". 
root@centos:/opt/teamviewer/tv_bin# 


6.删除软件包

rpm -q teamviewer  #用关键字查找软件包名 
rpm -e teamviewer-11.0.50678-0.i686 #删除查找到软件包名


Ubuntu 15.10中如何安装TeamViewer 10:http://www.linuxdiyf.com/linux/15543.html

ubuntu下禁止TeamViewer开机自启分析:http://www.linuxdiyf.com/linux/14668.html

Teamviewer在Linux下无法启动?:http://www.linuxdiyf.com/linux/12934.html

Teamviewer 5在Fedora 14中使用:http://www.linuxdiyf.com/linux/6064.html

Ubuntu配置远程访问的XRDP协议和Teamviewer软件:http://www.linuxdiyf.com/linux/3748.html