我已经花了几个小时尝试安装 Teamviewer。我按照他们网站上的说明操作,但总是会遇到一些障碍。
- 安装Teamviewer 13的情况,安装完之后打不开。
- 在安装 Teamviewer 12 的情况下,它会打开并加载,但它抱怨无法连接到 Teamviewer 服务器,并且我需要输入代理信息。我甚至不使用代理!
我不真的需要teamviewer,但它对于远程管理我的网络服务器非常有帮助。如果我能让它工作那就太棒了!提前谢谢您!
以下是输出systemctl status teamviewerd.service
● teamviewerd.service - TeamViewer remote control daemon
Loaded: loaded (/etc/systemd/system/teamviewerd.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2018-01-02 11:46:26 CST; 18min ago
Process: 25832 ExecStart=/opt/teamviewer/tv_bin/teamviewerd -d (code=exited, status=0/SUCCESS)
Main PID: 25834 (teamviewerd)
CGroup: /system.slice/teamviewerd.service
└─25834 /opt/teamviewer/tv_bin/teamviewerd -d
Jan 02 11:46:26 OPTI-ACCESSBOX systemd[1]: Starting TeamViewer remote control daemon...
Jan 02 11:46:26 OPTI-ACCESSBOX systemd[1]: Started TeamViewer remote control daemon.
的输出killall TeamViewer
;/opt/teamviewer/tv_bin/teamviewer
Init...
CheckCPU: SSE2 support: yes
Checking setup...
Launching TeamViewer ...
Launching TeamViewer GUI ...
输出lscpu | grep "sse2\|Model name"
Model name: AMD Athlon(tm) 64 Processor 3500+
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow rep_good nopl extd_apicid pni cx16 lahf_lm svm extapic cr8_legacy 3dnowprefetch vmmcall
输出tail -f ~/.local/share/teamviewer13/logfiles/*.log
==> /home/ladmin/.local/share/teamviewer13/logfiles/startup.log <==
Init...
TeamViewer: 13.0.6634 - DEB
Profile: /home/ladmin ()
Desktop: DS: '' XDG: 'MATE'
XServer TTY: none
ok (info)
CheckCPU: SSE2 support: yes
ok (profile)
tail: /home/ladmin/.local/share/teamviewer13/logfiles/gui.log: file truncated
==> /home/ladmin/.local/share/teamviewer13/logfiles/gui.log <==
QXcbConnection: Failed to initialize XRandr
Qt: XKEYBOARD extension not present on the X server.
==> /home/ladmin/.local/share/teamviewer13/logfiles/TeamViewer13_Logfile.log <==
2018/01/02 14:08:55.932 29031 140552580746432 GX10 Logger started.
2018/01/02 14:08:55.942 29031 140552580746432 GX10 Found 0 core dump files ...
2018/01/02 14:08:55.946 29031 140552580746432 GX10 systemd: logind service available
2018/01/02 14:08:55.954 29031 140552580746432 GX10 systemd: New seat seat0 [path=/org/freedesktop/login1/seat/seat0, activeSession='c9', canGraphical=1, canTTY=1, canMultiSession=1]
2018/01/02 14:08:55.958 29031 140552580746432 GX10 LogindSessionInfo: New session LogindSessionInfo [id=c13 user=ladmin state=user active=1 reliable=1 infoId=3428698831] [path=/org/freedesktop/login1/session/c13 TTY= seat= display=:10 vtnr=4294967295 owner=[SysUser: ladmin [uid=1000, gid=1000 home=/home/ladmin gecos=ladmin,,, shell=/bin/bash]] idle=0(0) active=1 type=x11 class=user state=closing timestamp=1514923671161558 service=xrdp-sesman defaultCG= leader=28698 audit=0 remote=0 rHost= rUser= killProc=0]
2018/01/02 14:08:55.962 29031 140552580746432 GX10 LogindSessionInfo: New session LogindSessionInfo [id=c9 user=ladmin state=user active=1 reliable=1 infoId=1343005331] [path=/org/freedesktop/login1/session/c9 TTY= seat=seat0 display=:0 vtnr=7 owner=[SysUser: ladmin [uid=1000, gid=1000 home=/home/ladmin gecos=ladmin,,, shell=/bin/bash]] idle=1(1514916332379260) active=1 type=x11 class=user state=active timestamp=1514914334520575 service=lightdm defaultCG= leader=3354 audit=0 remote=0 rHost= rUser= killProc=0]
2018/01/02 14:08:55.966 29031 140552580746432 GX10 LogindSessionInfo: New session LogindSessionInfo [id=c12 user=ladmin state=user active=1 reliable=1 infoId=3143301721] [path=/org/freedesktop/login1/session/c12 TTY= seat= display=:10 vtnr=4294967295 owner=[SysUser: ladmin [uid=1000, gid=1000 home=/home/ladmin gecos=ladmin,,, shell=/bin/bash]] idle=0(0) active=1 type=x11 class=user state=closing timestamp=1514923172226496 service=xrdp-sesman defaultCG= leader=27930 audit=0 remote=0 rHost= rUser= killProc=0]
2018/01/02 14:08:55.978 29031 140552580746432 GX10 SysSessionInfoManager: observing sessions from logind is marked as reliable
2018/01/02 14:08:55.978 29031 140552580746432 GX10 SysSessionInfoManager: Session Information provided by VT [priority: 2]
2018/01/02 14:08:55.978 29031 140552580746432 GX10! FrameBuffer: Cannot access /dev/fb0, frame buffer support unavailable
2018/01/02 14:08:55.987 29031 140552580746432 GX10 SysSessionInfoManager: own session cache set to '3428698831'
2018/01/02 14:08:55.987 29031 140552580746432 GX10 Running on Qt 5.5.1
2018/01/02 14:08:56.281 29031 140552580746432 GX10 GuiMain SM fallback: symbol not found
2018/01/02 14:08:56.282 29031 140552580746432 GX10 Initialised XRandR extension 1.1 (base=95 error=0)
2018/01/02 14:08:56.286 29031 140552580746432 GX10!! TL: ID 147 not found, Errorcode=11
2018/01/02 14:08:56.286 29031 140552580746432 GX10 : 1920x1080 (60 Hz)
2018/01/02 14:08:58.300 29031 140552580746432 GX10 Cannot acquire lock for "/home/ladmin/.local/share/teamviewer13/logfiles/gui.lock", reason: locked by other process (28561)
2018/01/02 14:08:58.324 29031 140552580746432 GX10 Shutting down System DBus
输出lspci | grep -i "VGA\|video"
00:05.0 VGA compatible controller: NVIDIA Corporation C51 [GeForce 6150 LE] (rev a2)
(这只是集成显卡。没有专用卡。但是,我确实有一个可以在需要时使用的卡。)
输出xrdnr -q
SZ: Pixels Physical Refresh
*0 1920 x 1080 ( 508mm x 286mm ) *60
Current rotation - normal
Current reflection - none
Rotations possible - normal
Reflections possible - none
输出lspci -k | grep -i "VGA\|video" -A3
00:05.0 VGA compatible controller: NVIDIA Corporation C51 [GeForce 6150 LE] (rev a2)
Subsystem: Dell C51 [GeForce 6150 LE]
Kernel driver in use: nouveau
Kernel modules: nvidiafb, nouveau
噩梦还在继续…… 我安装了正确的视频驱动程序,以便在服务器端安装 Teamviewer。但是,它可以打开,但没有 GUI,只有边框。因此,我去了电视正在运行的计算机,比较日志。但是,它所做的与服务器所做的完全相同。因此,我在两者上运行了日志,以查看发生了什么。但是,我不太明白它试图告诉我什么。注意:即使正确安装了驱动程序,它们仍然有 FrameBuffer 问题。以下是我的想法:
Xlib: extension "NV-GLX" missing on display ":10.0"
(两台机器上都是如此。)QSGContext::initialize: depth buffer support missing, expect rendering errors QSGContext::initialize: stencil buffer support missing, expect rendering errors [xcb] Too much data requested from _XRead [xcb] This is most likely caused by a broken X extension library [xcb] Aborting, sorry about that. TeamViewer: ../../src/xcb_io.c:736: _XRead: Assertion '!xcb_xlib_too_much_data_requested' failed.'
(两台机器上也是如此。)2018/01/02 18:11:34.218 2438 140078491348224 GX10!!!XFixes extension not found, Errorcode=11
(这似乎只出现在它正在工作的机器上)
编辑:我刚刚意识到我不需要安装服务器端的teamviewer,因为我可以使用Remmina和Xrdp。但目前我还没有在非服务器端使用teamviewer。
答案1
看来你做错了什么。
下载官方的 deb 包
cd ~/Downloads wget https://download.teamviewer.com/download/linux/teamviewer_amd64.deb
使用
gdebi
(sudo apt-get install gdebi
)安装sudo gdebi-gtk ~/Downloads/teamviewer_*.deb
或
apt-get
sudo apt-get install ~/Downloads/teamviewer_*.deb
从以下位置启动 TeamViewer应用程序|互联网|TeamViewer 13,接受许可并使用它。
设置 TeamViewer 自动启动更多菜单,选项,一般的标签,检查使用系统启动 TeamViewer并设置无人值守访问的密码安全选项卡,点击好的。
检查 teamviewerd 服务的状态(应该是
Active: active (running)
):systemctl status teamviewerd.service
笔记:
- 可以从终端启动 TeamViewer
/opt/teamviewer/tv_bin/script/teamviewer
- TeamViewer GUI 可能会被终止
killall TeamViewer
- TeamViewer 期望 CPU 支持 SSE2(
CheckCPU: SSE2 support: yes
在其输出中) - 日志文件位于
~/.local/share/teamviewer13/logfiles
,可以使用以下方式查看tail -f ~/.local/share/teamviewer13/logfiles/*.log
- 可以使用 清除配置文件
rm -rf ~/.local/share/teamviewer13 ~/.config/teamviewer
。 - 日志分析显示问题出在 xrandr(参见
QXcbConnection: Failed to initialize XRandr
)和 framebuffer(参见GX10! FrameBuffer: Cannot access /dev/fb0, frame buffer support unavailable line
)。这些问题已通过从 切换到 来解决。新到NVIDIA-304。
答案2
目前,由于我最终使用了 Chrome 远程桌面,因此它基本上是一个无声点,因为它几乎不需要任何安装,除了一个在两台 Linux 机器上完美安装的主机程序。但是,如果出于某种原因,你仍然下定决心,或者想要挑战解决我的“TeamViewer 噩梦”,那就请随意吧。:DI 仍然会给出任何命令输出,如果你需要的话。感谢你们所有人的帮助!