Ubuntu14.04 使用命令列方式安裝teamviewer
Ubuntu14.04 命令列方式安裝teamviewer
1,安裝i386庫
sudo apt-get install libc6:i386 libgcc1: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
3,安裝teamviewer i386
sudo dpkg -i teamviewer_i386.deb
一般這一步會報錯,因為缺少dependencies,安裝一下依賴項。
sudo apt-get update
sudo apt-get
install -f
這樣teamviewer就安裝結束,如果找不到就再安裝一下:
sudo dpkg -i teamviewer_i386.deb
4,停止teamview
sudo teamviewer –daemon stop
5,修改配置檔案
cd /opt/teamviewer/config/
ll
sudo vim global.conf
新增一下內容
[int32] EulaAccepted = 1
[int32] EulaAcceptedRevision = 6
儲存退出
wq
修改檔案後檢視一下修改的檔案
cat global.conf
確認新增儲存了之後啟動teamviewer
6,啟動teamviewer
sudo teamviewer –daemon start
7,設定密碼
sudo teamviewer –passwd ****
8,獲取Teamviewer ID
teamviewer –info print id
Teamviewer打不開解決方法:
sudo ln -s /opt/teamviewer9/tv_bin/teamviewerd /etc/init.d/teamviewerd
sudo update-rc.d teamviewerd defaults
(http://www.deepthought.ws/linux/fix-teamviewer-initctl-start-on-ubuntu/)
遠端後不顯示桌面解決方法:
(http://jingyan.baidu.com/article/9c69d48fb9fd7b13c8024e6b.html)
sudo apt-get update
sudo apt-get install openssh-server
sudo ps -e |grep ssh
sudo service ssh start
sudo vim /etc/ssh/sshd_config
【把配置檔案中的”PermitRootLogin without-password”加一個”#”號,把它註釋掉–>再增加一句”PermitRootLogin yes”–>儲存,修改成功。】