我在学校有一台 CentOS 7 的虚拟机,但我需要在家工作。
因此,我按照教程安装 Gnome 和其他工具来创建 VNC 服务器,所有这些都是为了安装 TeamViewer。
然后,我安装了 TeamViewer 11,但当我打开它时,它显示了著名的消息:
Not ready, Please check your connection
我尝试输入代理设置,但它不保存更改,因此我必须编辑该global.conf
文件。我知道代理在系统中运行良好,因为我可以导航;我什至可以 ping 到 178.77.120.1 并且它有效。
但问题仍然存在。然后,在网上搜索,我发现可以将 SELinux 配置更改为宽容。我在另一个虚拟机中执行此操作并且有效,但在我的计算机中不起作用。它有一个葡萄酒问题。我尝试使用以下方法修复它:
# setsebool -P mmap_low_allowed 1
但这行不通。
另一种解决方案是添加到mdns4
主机中/etc/nsswitch.conf
,但它不起作用。
所以我决定卸载,使用:
rpm -qa | grep teamviewer
rpm -e <output-from-rpm-qa>
但是当我再次安装 TeamViewer 时,它加载了代理设置,所以我认为它没有完全删除。
这是今天的日志
Start: 2016/09/08 08:37:06.584 (UTC-5:00)
Version: 11.0.57095
ID: 0
Loglevel: LogAll (0)
License: 0
Server: master14.teamviewer.com
IC: 0
CPU: x86 Family 6 Model 45 Stepping 7, GenuineIntel
CPU extensions: p8
OS: Lx CentOS 7 (Core) (32-bit)
IP: xx.xx.xxx.xxx
Proxy-Settings: Type=0 IP= User=
AppPath: C:\TeamViewer\TeamViewer.exe
UserAccount: root
2016/09/08 08:37:06.588 8 29 GX2 AutoLogin::Login: enabled: 0
2016/09/08 08:37:06.803 8 29 GX2 CMain::LoadResourceDLLs(): No custom resource dll found
2016/09/08 08:37:06.805 8 29 GX2 Win32_GUI::FontReallyExists: 'Segoe UI' found 0 matches.
2016/09/08 08:37:06.805 8 29 GX2 Win32_GUI::FontReallyExists: 'Liberation Sans' found 4 matches.
2016/09/08 08:37:06.814 8 29 GX2 InterProcessBase::StartTcpCommunicationInternal(): setting m_NetworkConnector to new TCP connector
2016/09/08 08:37:06.814 8 29 GX2 Opening local TCP connection to 127.0.0.1:5942
2016/09/08 08:37:06.815 8 29 GX2 Local TCP connection established
2016/09/08 08:37:06.815 8 29 GX2 Process ID: L 32511 / W 8
2016/09/08 08:37:06.902 8 29 GX2 SettingsIPCReception receive a SYNCHRONISE Settings command : UserSettings
2016/09/08 08:37:06.904 8 29 GX2 Received Control_InitIPC_Response processtype=1
2016/09/08 08:37:06.904 8 29 GX2 Received Control_InitIPC_Response runningProcesses=3
2016/09/08 08:37:06.904 8 29 GX2 Control_InitIPC_Response: all processes 3 completely initialized
2016/09/08 08:37:06.940 8 29 GX2!! ProxySearch.GetProxiesFromPAC: WinHttpGetProxyForUrl(WPAD) failed for URL 'http://www.teamviewer.com/' with error 12166, Errorcode=12166
2016/09/08 08:37:06.944 8 29 GX2!! ProxySearch.GetProxiesFromPAC: WinHttpGetProxyForUrl(WPAD) failed for URL 'https://www.teamviewer.com:443/' with error 12166, Errorcode=12166
2016/09/08 08:37:06.944 8 29 GX2 ProxySearch: found WinHTTP proxy: http//10.20.4.15:3128
2016/09/08 08:37:06.946 32646 4091542336 QX2 SessionBusWatcher: suitable bus found with address "unix:abstract=/tmp/dbus-LumdutjnU5,guid=8c230a14389528c505b45eeb57d008e6"
2016/09/08 08:37:07.070 8 9 GX2!! GetSimpleDisplayCertNameFromFile: File 'C:\TeamViewer\tv_w32.dll' does not exist., Errorcode=2
2016/09/08 08:37:07.070 8 9 GX2!! VerifyTeamViewerSignature() : WinVerifyTrust failed, result=2, Errorcode=2
2016/09/08 08:37:07.070 8 9 GX2!! MachineHooks: Library not found, Errorcode=2
2016/09/08 08:37:07.074 8 9 GX2 MachineID m=0 - 1
2016/09/08 08:37:07.077 8 9 GX2 TVUpdate::Init() Version-URL: download.teamviewer.com/download/update/ Update-URL: download.teamviewer.com/download/update/
2016/09/08 08:37:07.077 8 9 GX2 TVUpdate::Init() Preview Channel Number : 1
2016/09/08 08:37:07.165 8 9 GX2!! TVW Wine: SetWindowManagerClassHint: No such window, Errorcode=120
2016/09/08 08:37:07.195 8 9 GX2!! TVW Wine: SetWindowManagerClassHint: No such window
2016/09/08 08:37:07.199 8 9 GX2!! TVW Wine: SetWindowManagerClassHint: No such window
2016/09/08 08:37:07.218 8 9 GX2 ManagerHolderStateMachine: Switching from None to NotReady
2016/09/08 08:37:07.219 8 21 GX2 ChatManager::ChatManager: created
2016/09/08 08:37:07.219 8 21 GX2 ChatManager::Factory: ChatManager created
2016/09/08 08:37:07.219 8 21 GX2 IncomingBetterChatCommandHandler::IncomingBetterChatCommandHandler: created
2016/09/08 08:37:07.219 8 21 GX2 IncomingChatCommandRegistration::Start: registering for ready state properties
2016/09/08 08:37:07.220 8 9 GX2!! DragDropRegistration: could not register window, HR=80040155
2016/09/08 08:37:07.222 8 9 GX2!! BuddyWindow.LoadWindowPosUnscaled: bad lexical cast
2016/09/08 08:37:07.227 8 9 GX2 AccountLoginGUI::CreateLoginKey(): [OnlineState] System is set to Visible.
2016/09/08 08:37:07.234 8 9 GX2!! TVW Wine: SetWindowManagerClassHint: No such window, Errorcode=120
2016/09/08 08:37:07.272 8 9 GX2 CMainWindow::ShouldShowDynamicPassword(): dynPw=1 allowIncoming=1 id=0 ka=0 lanAllowed=0 lanOnly=0 networkState=1 showDynPwd=0
2016/09/08 08:37:07.278 8 9 GX2!! ServerControl: RegisterPowerSettingNotification failed with error 0
2016/09/08 08:37:07.323 32645 139768218244864 gX2 PulseAudio: Connected to server 'unix:/run/user/0/pulse/native' (protocol version 30, library version 6.0.0
2016/09/08 08:37:07.324 32645 139768311990016 gX2 PulseAudio: Connection established
2016/09/08 08:37:07.456 8 33 GX2!! WineMixer: Unable to initialise mixer -1 -1
2016/09/08 08:37:07.456 32645 139768218244864 gX2 PulseAudio: Exit main loop (0), err=-2
2016/09/08 08:37:36.780 8 9 GX2 CMainWindow::InitCloseTV(): Prepare to close TeamViewer
2016/09/08 08:37:36.780 8 9 GX2!! ServerControl: UnregisterPowerSettingNotification failed with error 0
2016/09/08 08:37:36.781 8 9 GX2!! TVW Wine: SetWindowManagerClassHint: No such window
2016/09/08 08:37:36.785 8 9 GX2 Chat::Stop: Stopping chat
2016/09/08 08:37:36.785 8 9 GX2 Chat::Stop: Cancelling of Start
2016/09/08 08:37:36.786 8 9 GX2 ChatManager::UnregisterIncomingCommandRegistration: destroying incomingCommandRegistration
2016/09/08 08:37:36.786 8 9 GX2 IncomingChatCommandRegistration::Stop: disconnecting ready state properties
2016/09/08 08:37:36.787 8 9 GX2 ChatManager::Close
2016/09/08 08:37:36.787 8 9 GX2 ChatManager::UnregisterIncomingCommandRegistration: destroying incomingCommandRegistration
2016/09/08 08:37:36.787 8 9 GX2 ChatManager::ClearAccountChat: clearPersistently = 0
2016/09/08 08:37:36.788 8 9 GX2 ChatManager::ClearNonAccountChat
2016/09/08 08:37:36.789 8 9 GX2 ChatManager::~ChatManager: destroyed
2016/09/08 08:37:36.789 8 9 GX2 IncomingBetterChatCommandHandler::IncomingBetterChatCommandHandler: destroyed
2016/09/08 08:37:36.789 8 9 GX2!! MainWindow.OnDestroy: WTSUnRegisterSessionNotification failed with error 0
2016/09/08 08:37:36.792 8 9 GX2 CMainWindow::OnDestroy(): Closing TeamViewer
2016/09/08 08:37:36.907 32645 139768235030272 gX2 XClipboard: Shutting down event loop
2016/09/08 08:37:36.955 32645 139768525608768 gX2 TVGuiSlave.64: Terminated
2016/09/08 08:37:37.008 8 9 GX2!! ConfigurationHub::HandleRegistrationResponse(): registering for feature 1 failed with error 2
2016/09/08 08:37:37.008 8 9 GX2!! ConfigurationHub::HandleRegistrationResponse(): registering for feature 1 failed with error 2
2016/09/08 08:37:37.009 5552 4147260224 S CInterProcessNetwork: Received DisconnectIPC from processID 32511 (ProcessType: 2 in Session 2) with reason 1
2016/09/08 08:37:37.009 5552 4147260224 S Process 32511 in session 2 has terminated
2016/09/08 08:37:37.009 5552 4147260224 S TerminalServer::ProcessTerminated_Finalize: process 32511 terminated
2016/09/08 08:37:37.009 5552 4147260224 S SysSessionInfoManager: updating session information for session 2 from GUI
2016/09/08 08:37:37.009 5552 4094196544 S XSession: 2 [SysSession 2 [type=1 tty=4294967295 pseudotty=1 info=1 id= user=root state=unknown active=0 reliable=0]]
2016/09/08 08:37:37.009 5552 4094196544 S Updated sessions: [ 1 ] [ 2 root ] [ 9 ]
2016/09/08 08:37:37.009 5552 4094196544 S UpdateOnlineState m_ManualStop
2016/09/08 08:37:37.010 8 22 GX2 CTcpProcessConnector::HandleRead(): Socket gracefully closed (PID=5552)
2016/09/08 08:37:37.010 8 22 GX2 CTcpProcessConnector::CloseConnection(): PID=5552
2016/09/08 08:37:37.010 8 22 GX2! InterProcessBase::EventFunctionInternal(): IPC-Connection Closed
2016/09/08 08:37:37.010 8 22 GX2 CTcpProcessConnector::CloseConnection(): PID=5552
2016/09/08 08:37:37.010 8 22 GX2 CTcpProcessConnector::CloseConnection(): Shutdown socket returned error 10058: Unknown error
2016/09/08 08:37:37.010 5552 4147260224 S CTcpProcessConnector::HandleRead(): Socket gracefully closed (PID=32511)
2016/09/08 08:37:37.010 5552 4147260224 S CTcpProcessConnector::CloseConnection(): PID=32511
2016/09/08 08:37:37.010 5552 4147260224 S CInterProcessNetwork::NewInterProcessDataAvailable(): ConnectionClosed session=2 ptype=2
2016/09/08 08:37:37.010 5552 4147260224 S UpdateOnlineState m_ManualStop
2016/09/08 08:37:37.010 5552 4147260224 S CTcpProcessConnector::CloseConnection(): Shutdown socket returned error 107: Transport endpoint is not connected
2016/09/08 08:37:37.011 8 22 GX2!! CTcpProcessConnector::CloseConnection(): Shutdown socket returned error 10009: Unknown error, Errorcode=317
2016/09/08 08:37:37.012 8 9 GX2 interprocessbase::SecureNetwork destroyed
2016/09/08 08:37:37.013 8 9 GX2 TVW Terminating GUI slave
2016/09/08 08:37:37.013 8 9 GX2 Wine: Wine DLL freed
2016/09/08 08:37:37.015 32646 4113962752 QX2 TVGuiDelegate: Terminated
答案1
在linux中,您可以使用代理链强制所有进程使用代理,只需检查:
proxychains - 一种工具,强制任何给定应用程序建立的任何 TCP 连接遵循代理(如 TOR 或任何其他 SOCKS4、SOCKS5 或 HTTP(S) 代理)。支持的身份验证类型:对于 SOCKS4/5,“用户/密码”;对于 HTTP,“基本”。
答案2
好吧,看到我的 teamviewer 公钥有问题,甚至下载丢失的公钥也没有解决方案。
唯一有效的方法是下载 tar.xz 并以便携式方式运行 teamviewer。
答案3
就我而言(ubuntu 16.04),我只需重新启动teamviewerd
服务,然后 teamviewer GUI 重新启动并处于“准备连接”状态。