Posted by amar
Photon

Ubuntu 16.04 + Teamviewer 12 Don't launching GUI in administrator user where as working with another normal user

 

I have Ubuntu 16.04.03 with Teamviewer 12.
On machine there are two users.

1) Normal User (TestUser) with limited access.
2) Administator User

Whever I am goint to connect from another machine via TV to Test user it is going to connect but once I logout from Test user and trying to login with Administator user we loss TV connection. and we found that this machine not launhing TV GUI.

Tried solutions :

1) [strng] FT_Start_Directories = "" - Not worked for me
2) cp /opt/teamviewer/tv_bin/script/teamviewerd.service /etc/init.d/teamviewerd
service teamviewerd start
update-rc.d teamviewerd defaults - Not worked for me

Logs : 

Start: 2018/03/22 05:30:27.903 (UTC-4:00)
Version: 12.0.76279
ID: 543083264
Loglevel: Info (100)
License: 10000
Server: master1.teamviewer.com
IC: 433913870
CPU: Intel(R) Core(TM) m5-6Y57 CPU @ 1.10GHz
CPU extensions: h9
OS: Lx Ubuntu 16.04.3 LT (32-bit)
IP:
MID: ld93dbeb68d324957a39c32c5be34dfc7:a434d9ce9753:b14c7875801e44669dd92b10f0a55f41
MIDv: 1
Proxy-Settings: Type=0 IP=: User=

2018/03/22 05:30:27.905 1136 4154451904 S NetWatchdog: LAN is now disconnected
2018/03/22 05:30:27.905 1136 4154451904 S NetWatchDogLinux: initialized network manager connection
2018/03/22 05:30:27.905 1136 4154451904 S RemoteSettingsMDRelationshipWatchDog: DEVICE ISN'T A MANAGED DEVICE
2018/03/22 05:30:27.905 1136 4029655872 S RemoteSettingsStore: Cleanup all policies.
2018/03/22 05:30:27.906 1136 4154451904 S RemoteSettingsStoreListener: Establish connection.
2018/03/22 05:30:27.906 1136 4029655872 S RemoteSettingsStore::LoadLastReceivedPolicies : Storage Entry Remote_Settings_TVClientSetting_Policy empty
2018/03/22 05:30:27.906 1136 4154451904 S Using IPC-Port 5939
2018/03/22 05:30:27.906 1136 4029655872 S RemoteSettingsMDRelationshipWatchDog: DEVICE ISN'T A MANAGED DEVICE
2018/03/22 05:30:27.906 1136 4154451904 S Updated sessions: [ 0 ] [ 1000000 L root ]
2018/03/22 05:30:27.906 1136 4154451904 S UpdateOnlineState newOnlineValue 0
2018/03/22 05:30:27.906 1136 4154451904 S Updated sessions: [ 0 ] [ 1000000 L root ]
2018/03/22 05:30:27.906 1136 4154451904 S UpdateOnlineState newOnlineValue 0
2018/03/22 05:30:27.906 1136 4154451904 S UpdateOnlineState newOnlineValue 0
2018/03/22 05:30:27.906 1136 4154451904 S UpdateResponseLinux: success 1 updated 0 rev 0
2018/03/22 05:30:27.907 1136 4004477760 S Using systemd-logind for suspend/resume monitoring
2018/03/22 05:30:27.964 1136 4110416704 S SystemdSessionInfo: New session SystemdSessionInfo [id=c1 user=lightdm state=greeter active=1 reliable=1 infoId=0] [path=/org/freedesktop/login1/session/c1 TTY= seat=seat0 display=:0 vtnr=7 owner=[SysUser_Lin: lightdm [uid=108, gid=114 home=/var/lib/lightdm gecos=Light Display Manager shell=/bin/false]] idle=0(0) active=1 type=x11 class=greeter state=opening timestamp=1521711027959457 service=lightdm-greeter defaultCG= leader=1173 audit=0 remote=0 rHost= rUser= killProc=0]
2018/03/22 05:30:27.964 1136 4110416704 S SysSessionInfoManager: assigned session 0 to info provider 'systemd'
2018/03/22 05:30:27.964 1136 4063226688 S XSession: 0 [SysSession 0 [type=1 tty=7 pseudotty=0 info=1 id=c1 user=lightdm state=greeter active=1 reliable=1]]
2018/03/22 05:30:27.964 1136 4063226688 S Updated sessions: [ 0 CL lightdm ] [ 1000000 L root ]
2018/03/22 05:30:27.964 1136 4063226688 S UpdateOnlineState newOnlineValue 1
2018/03/22 05:30:27.964 1136 4012870464 S TeamViewer is going online!
2018/03/22 05:30:27.964 1136 4122999616 S CKeepAliveClientClient::DoReconnectInternal: doing nothing, state = 0
2018/03/22 05:30:27.965 1136 4143958848 S Activating Router carrier
2018/03/22 05:30:27.967 1136 4152351552 S!!!CTcpConnectionBase[1]::HandleResolve(): Resolve failed, ping3.teamviewer.com, Error: asio.netdb:2
2018/03/22 05:30:27.967 1136 4152351552 S Activating Router carrier
2018/03/22 05:30:27.971 1136 4143958848 S!! HttpRequestImpl::CurlFinished(): curl request failed: Couldn't resolve host name (6), Could not resolve host: ping3.teamviewer.com
2018/03/22 05:30:27.971 1136 4143958848 S!! Port443Connection::ConnectInternal: failed with HTTP status code = 0
2018/03/22 05:30:27.971 1136 4143958848 S!! NetWatchdog: Port 443 proxy search failed! No working setting found.
2018/03/22 05:30:27.971 1136 4143958848 S Activating Router carrier
2018/03/22 05:30:27.974 1136 4122999616 S!! HttpRequestImpl::CurlFinished(): curl request failed: Couldn't resolve host name (6), Could not resolve host: ping3.teamviewer.com, Errorcode=2
2018/03/22 05:30:27.974 1136 4122999616 S!! NetWatchdog: Port 80 proxy search failed! No working setting found., Errorcode=2
2018/03/22 05:30:27.974 1136 4122999616 S! CKeepAliveClientClient::HandlePing(): ping failed
2018/03/22 05:30:27.975 1136 4122999616 S Activating Router carrier
2018/03/22 05:30:27.975 1136 4122999616 S CProcessCommandHandlerMasterConnect[4]::CreateMasterConnect(): master1.teamviewer.com:80, Connection 4, proxy=''
2018/03/22 05:30:27.977 1136 4143958848 S!! HttpRequestImpl::CurlFinished(): curl request failed: Couldn't resolve host name (6), Could not resolve host: master1.teamviewer.com
2018/03/22 05:30:27.977 1136 4143958848 S! CProcessCommandHandlerMasterConnect[4]::HandleMasterConnect(): MasterConnect to 0.0.0.0 failed
2018/03/22 05:30:27.978 1136 4143958848 S!! LookUpDNS failed for master1.teamviewer.com, socket error = -3, Errorcode=11
2018/03/22 05:30:27.978 1136 4143958848 S!!!Connect to Master master1.teamviewer.com / failed!, Errorcode=11
2018/03/22 05:30:27.978 1136 4143958848 S!! CMasterConnectorAsio::HandleMasterResponseLogin(): MasterConnect failed. ErrorCode=10, Errorcode=11
2018/03/22 05:30:30.975 1136 4110416704 S NetworkManager state changed from 'disconnected' to 'connecting'
2018/03/22 05:30:30.978 1136 4152351552 S Activating Router carrier
2018/03/22 05:30:30.978 1136 4133468992 S!!!CTcpConnectionBase[5]::HandleResolve(): Resolve failed, ping3.teamviewer.com, Error: asio.netdb:2
2018/03/22 05:30:30.978 1136 4133468992 S Activating Router carrier
2018/03/22 05:30:30.981 1136 4133468992 S!! HttpRequestImpl::CurlFinished(): curl request failed: Couldn't resolve host name (6), Could not resolve host: ping3.teamviewer.com
2018/03/22 05:30:30.981 1136 4133468992 S!! Port443Connection::ConnectInternal: failed with HTTP status code = 0
2018/03/22 05:30:30.981 1136 4133468992 S!! NetWatchdog: Port 443 proxy search failed! No working setting found.
2018/03/22 05:30:30.981 1136 4133468992 S Activating Router carrier
2018/03/22 05:30:30.993 1136 4133468992 S!! HttpRequestImpl::CurlFinished(): curl request failed: Couldn't resolve host name (6), Could not resolve host: ping3.teamviewer.com
2018/03/22 05:30:30.993 1136 4133468992 S!! NetWatchdog: Port 80 proxy search failed! No working setting found.
2018/03/22 05:30:30.993 1136 4133468992 S! CKeepAliveClientClient::HandlePing(): ping failed
2018/03/22 05:30:30.994 1136 4133468992 S Activating Router carrier
2018/03/22 05:30:30.994 1136 4133468992 S CProcessCommandHandlerMasterConnect[8]::CreateMasterConnect(): master11.teamviewer.com:80, Connection 8, proxy=''
2018/03/22 05:30:30.996 1136 4133468992 S!! HttpRequestImpl::CurlFinished(): curl request failed: Couldn't resolve host name (6), Could not resolve host: master11.teamviewer.com
2018/03/22 05:30:30.996 1136 4133468992 S! CProcessCommandHandlerMasterConnect[8]::HandleMasterConnect(): MasterConnect to 0.0.0.0 failed
2018/03/22 05:30:30.996 1136 4133468992 S!! LookUpDNS failed for master11.teamviewer.com, socket error = -3, Errorcode=11
2018/03/22 05:30:30.996 1136 4133468992 S!!!Connect to Master master11.teamviewer.com / failed!, Errorcode=11
2018/03/22 05:30:30.996 1136 4133468992 S!! CMasterConnectorAsio::HandleMasterResponseLogin(): MasterConnect failed. ErrorCode=10, Errorcode=11
2018/03/22 05:30:32.084 1136 4110416704 S NetworkManager state changed from 'connecting' to 'connected local'
2018/03/22 05:30:32.084 1136 4110416704 S NetWatchdog: LAN is now connected
2018/03/22 05:30:32.084 1136 4110416704 S NetWatchDogLinux: trying to start keep alive
2018/03/22 05:30:32.084 1136 4152351552 S CKeepAliveClientClient::HandleStartKeepAlive: doing nothing, state = 5
2018/03/22 05:30:32.091 1136 4110416704 S NetworkManager state changed from 'connected local' to 'connected global'
2018/03/22 05:30:32.091 1136 4110416704 S NetWatchdog: Internet is now connected
2018/03/22 05:30:32.091 1136 4110416704 S NetWatchDogLinux: trying to start keep alive
2018/03/22 05:30:32.091 1136 4143958848 S CKeepAliveClientClient::HandleStartKeepAlive: doing nothing, state = 5
2018/03/22 05:30:33.999 1136 4122999616 S Activating Router carrier
2018/03/22 05:30:34.270 1136 4133468992 S NetWatchdog: Ping successful! Port: 5938
2018/03/22 05:30:34.270 1136 4133468992 S CKeepAliveClientClient::HandlePing(): success
2018/03/22 05:30:34.270 1136 4133468992 S Activating Router carrier
2018/03/22 05:30:34.270 1136 4133468992 S CProcessCommandHandlerMasterConnect[10]::CreateMasterConnect(): master15.teamviewer.com:5938, Connection 10, proxy=''
2018/03/22 05:30:34.512 1136 4122999616 S CProcessCommandHandlerMasterConnect[10]::HandleMasterConnect(): Sending MasterCommand addonchannels=0&client=TV&f=Login&gw=1&gwlevel=431&hideonlinestatus=0&httpout=1&ic=433913870&id=543083264&iguid={c98bb9ad-03ca-4735-8e00-7689d27bba2c}&language=&licensetype=10000&mid=ld93dbeb68d324957a39c32c5be34dfc7:a434d9ce9753:b14c7875801e44669dd92b10f0a55f41&midf=16&midhistory=433913870_2648c2dd_61273d23017ec3d4|ld93dbeb68d324957a39c32c5be34dfc7:a434d9ce9753:b14c7875801e44669dd92b10f0a55f41&midv=1&noofactivekeepalive=0&os=Lx Ubuntu 16.04.3 LT&port443out=0&rhash={5e6dee81-08ab-5896-620c-fd2fe09ba4d4}&runtime=7&smidv=1&sro=0&supportedfeatures=669940701&tcpout=1&usednsnames=1&v=12.0.76279
2018/03/22 05:30:34.692 1136 4133468992 S CProcessCommandHandlerMasterConnect[10]::ReceivedMasterResponse(): Received MasterCommand OK_10000_-_2__server18805.teamviewer.com:5938_32158_1_-1_0.0.0.0__185.188.32.15_185.188.32.5_0_543083264_1_0_0_0_1943797625__server22707.teamviewer.com,server22808.teamviewer.com,server19609.teamviewer.com,server22610.teamviewer.com,server23605.teamviewer.com,server23710.teamviewer.com,server21807.teamviewer.com,server22505.teamviewer.com,server22410.teamviewer.com,server23003.teamviewer.com,server18605.teamviewer.com,server22203.teamviewer.com,server23405.teamviewer.com,server50505.teamviewer.com,server18807.teamviewer.com,server18805.teamviewer.com,NO-OSL-IBM-R003.teamviewer.com,server20609.teamviewer.com,DE-CGN-PLS-R016.teamviewer.com,DE-DUS-PLS-R019.teamviewer.com,server21902.teamviewer.com_ef/bc0g4AIdD_
2018/03/22 05:30:34.692 1136 4133468992 S! TcpCarrierBase[10]::SendCompleteQueue(): No Connections, Type_Tcp, Dir_Outgoing, Ending 0, SendQueue 1, CurrentSendQueue 0, SendCache 0
2018/03/22 05:30:34.693 1136 4133468992 S Updated sessions: [ 0 CL lightdm ] [ 1000000 L root ]
2018/03/22 05:30:34.693 1136 4133468992 S UpdateOnlineState newOnlineValue 1
2018/03/22 05:30:34.693 1136 4133468992 S! CKeepAliveClient::HandleLoginUserAnswer(): KeepAliveServer server18805.teamviewer.com:5938
2018/03/22 05:30:34.693 1136 4133468992 S Activating Router carrier
2018/03/22 05:30:34.693 1136 4133468992 S Carrier[10]::EndCarrierInternal(): ClientID: 0 SupportsEndSession: 0, SupportsCCmd2: 0, SessionType_MasterConnect, SendQueue: 0 (4 Bytes), CurrentSendQueue: 0 (0 Bytes), SendCache: 0 (0 Bytes)
2018/03/22 05:30:34.936 1136 4152351552 S KeepAliveSessionOutgoing::ConnectSuccessHandler(): KeepAliveConnect to server18805.teamviewer.com successful
2018/03/22 05:30:35.285 1136 4133468992 S KeepAliveSessionOutgoing::KeepAliveChannelInitialized(): KeepAliveConnection to server18805.teamviewer.com initialized
2018/03/22 05:30:35.285 1136 4133468992 S!! KeepAliveSession::KeepAliveChannelInitialized(): KeepAlive-Connection initialized with ID 496720182 (IP: 159.8.209.220), SendQueue 0 (0 Bytes), SendIndex 0, AckIndex 0, RemoteSessionID 11
2018/03/22 05:30:35.285 1136 4133468992 S! KeepAliveSession::SendCompleteQueue(): SendQueue: 0 (0 Bytes), RemoteSession 11 (ClientID 496720182), Time: 0 ms
2018/03/22 05:30:35.466 1136 4133468992 S TVRouterClock Schedule next request in 0 seconds
2018/03/22 05:30:35.467 1136 4133468992 S TVRouterClock Schedule next request in 0 seconds
2018/03/22 05:30:35.641 1136 4133468992 S TVRouterClock: received router time: 20180322T093036.036977
2018/03/22 05:30:35.641 1136 4133468992 S TVRouterClock Schedule next request in 43200 seconds
2018/03/22 05:30:36.400 1136 4143958848 S AsyncMessaging::UnregisterAtAsyncMessageProvider(): Unregister successful
2018/03/22 05:51:00.614 1136 4110416704 S systemd: skipping update of :0 (ID = c1) as session leader (pid = 1173) seems to be gone already
2018/03/22 05:51:00.622 1136 4110416704 S SystemdSessionInfo: New session SystemdSessionInfo [id=c2 user=administrator state=user active=1 reliable=1 infoId=1] [path=/org/freedesktop/login1/session/c2 TTY= seat=seat0 display=:0 vtnr=7 owner=[SysUser_Lin: administrator [uid=1000, gid=1000 home=/home/administrator gecos=administrator,,, shell=/bin/bash]] idle=0(0) active=1 type=x11 class=user state=opening timestamp=1521712260613758 service=lightdm defaultCG= leader=1734 audit=0 remote=0 rHost= rUser= killProc=0]
2018/03/22 05:51:00.623 1136 4110416704 S systemd: ActiveSession: activatedSessionId=c2 deactivatedSessionId=c1
2018/03/22 05:51:00.623 1136 4063226688 S XSession: 0 [SysSession 0 [type=1 tty=7 pseudotty=0 info=1 id=c2 user=administrator state=user active=1 reliable=1]]
2018/03/22 05:51:00.623 1136 4063226688 S Updated sessions: [ 0 C administrator ] [ 1000000 L root ]
2018/03/22 05:51:00.623 1136 4063226688 S UpdateOnlineState newOnlineValue 1
2018/03/22 05:51:00.623 1136 4110416704 S SystemdSessionInfo: Changed session SystemdSessionInfo [id=c1 user=lightdm state=greeter active=0 reliable=1 infoId=0] [path=/org/freedesktop/login1/session/c1 TTY= seat=seat0 display=:0 vtnr=7 owner=[SysUser_Lin: lightdm [uid=108, gid=114 home=/var/lib/lightdm gecos=Light Display Manager shell=/bin/false]] idle=0(0) active=0 type=x11 class=greeter state=closing timestamp=1521711027959457 service=lightdm-greeter defaultCG= leader=1173 audit=0 remote=0 rHost= rUser= killProc=0]
2018/03/22 05:51:00.629 1136 4004477760 S Session login for session 0
2018/03/22 05:51:00.629 1136 4004477760 S CTerminalServer::getPathToApplicationExe: executable is /opt/teamviewer/tv_bin/TeamViewer
2018/03/22 05:51:00.629 1136 4004477760 S CTerminalServer::StartGUIProcess() Filename for GUI process is /opt/teamviewer/tv_bin/TeamViewer
2018/03/22 05:51:00.629 1136 4004477760 S XClient[:0]: Unable to open XAuthority file "/var/run/lightdm/root/:0" (err=13)
2018/03/22 05:51:00.633 1136 4004477760 S XClient[:0]: Unable to open XAuthority file "/var/lib/lightdm/.Xauthority" (err=13)
2018/03/22 05:51:00.633 1136 4004477760 S! XSession[0]: Unable to get XAuth
2018/03/22 05:51:00.633 1136 4004477760 S XClient[:0]: Unable to open XAuthority file "" (err=2)
2018/03/22 05:51:00.633 1136 4004477760 S! XSession[0]: XAuth information missing or incorrect, cannot open display, session aborted
2018/03/22 05:51:01.639 1136 4004477760 S XSession[0]: Retrieved XAuth from home
2018/03/22 05:51:01.640 1136 4004477760 S XSession[0]: Retrieved XAuth from home
2018/03/22 05:51:01.641 1136 4004477760 S XSession[0]: Retrieved XAuth from home
2018/03/22 05:51:01.641 1136 4004477760 S Starting process "/opt/teamviewer/tv_bin/TeamViewer" as user administrator (1000)
2018/03/22 05:51:01.641 1136 4004477760 S Started process "/opt/teamviewer/tv_bin/TeamViewer" (pid = 1966) as user administrator (1000)
2018/03/22 05:51:01.641 1136 4004477760 S CTerminalServer::StartGUIProcess() Event 5 sent to GUI.
2018/03/22 05:51:01.651 1136 4110416704 S SystemdSessionInfo: New session SystemdSessionInfo [id=c3 user=administrator state=user active=1 reliable=1 infoId=2] [path=/org/freedesktop/login1/session/c3 TTY=??? seat= display= vtnr=4294967295 owner=[SysUser_Lin: administrator [uid=1000, gid=1000 home=/home/administrator gecos=administrator,,, shell=/bin/bash]] idle=0(0) active=1 type=tty class=user state=active timestamp=1521712261647271 service=su defaultCG= leader=1968 audit=0 remote=0 rHost= rUser=root killProc=0]
2018/03/22 05:51:05.869 1136 4122999616 S CAcceptServer::HandleAccept: new connection from 127.0.0.1:38315
2018/03/22 05:51:05.914 1136 4152351552 S Updated sessions: [ 0 C administrator ] [ 1000000 L root ]
2018/03/22 05:51:05.914 1136 4152351552 S UpdateOnlineState newOnlineValue 1
2018/03/22 05:51:05.914 1136 4152351552 S TerminalServer: ProcessConnected type 2 PID 1966
2018/03/22 05:51:05.914 1136 4152351552 S SysSessionInfoManager: updating session information for session 0 from GUI
2018/03/22 05:51:05.915 1136 4152351552 S Updated sessions: [ 0 C administrator ] [ 1000000 L root ]
2018/03/22 05:51:05.915 1136 4152351552 S UpdateOnlineState newOnlineValue 1
2018/03/22 05:51:05.919 1136 4063226688 S XSession: 0 [SysSession 0 [type=1 tty=7 pseudotty=0 info=1 id=c2 user=administrator state=user active=1 reliable=1]]
2018/03/22 05:51:05.919 1136 4063226688 S Updated sessions: [ 0 C administrator ] [ 1000000 L root ]
2018/03/22 05:51:05.919 1136 4063226688 S UpdateOnlineState newOnlineValue 1
2018/03/22 05:51:05.974 1136 4143958848 S CInterProcessNetwork::SetDyngateIDforSession() id=543083264 session=0 ptype=2
2018/03/22 05:51:05.974 1136 4143958848 S UpdateOnlineState newOnlineValue 1
2018/03/22 05:51:05.104 8 21 GX0 Logger started.
2018/03/22 05:51:05.118 8 21 GX0 StringCompare locale: English_United States.1252
2018/03/22 05:51:05.469 8 21 GX0!! SetProcessStartupOptions(): SetProcessDEPPolicy() failed! LE=120
2018/03/22 05:51:05.506 8 21 GX0 TVW X ErrorHandler org 7e838b17, def 7e6ba0d0 cur 7dc9d3eb
2018/03/22 05:51:05.543 8 21 GX0 Wine: Wine DLL initialized
2018/03/22 05:51:05.543 8 21 GX0 Wine: wine-1.6

2018/03/22 05:51:05.544 8 21 GX0 TVW SID0: SpawnSlave: pid 0
2018/03/22 05:51:05.544 8 21 GX0 TVW SID0: SpawnSlave: loading TVGuiSlave.64
2018/03/22 05:51:05.559 8 21 GX0 TVW ObserveFork: OK
2018/03/22 05:51:05.559 8 21 GX0 Wine: Spawned slave process with type 0
2018/03/22 05:51:05.560 8 21 GX0 TVW SID1: SpawnSlave: pid 0
2018/03/22 05:51:05.560 8 21 GX0 TVW SID1: SpawnSlave: loading TVGuiDelegate
2018/03/22 05:51:05.584 8 21 GX0 TVW ObserveFork: OK
2018/03/22 05:51:05.584 8 21 GX0 Wine: Spawned slave process with type 1
2018/03/22 05:51:05.584 8 21 GX0 Starting GUI master for slave type 0
2018/03/22 05:51:05.675 8 21 GX0 Slave connected to GUI master
2018/03/22 05:51:05.675 8 21 GX0 Starting GUI master for slave type 1
2018/03/22 05:51:05.690 8 21 GX0 Slave connected to GUI master
2018/03/22 05:51:05.744 8 21 GX0 Monitors: X11 Windowing System, \\.\DISPLAY1, 1360x768 (0,0), flags=21, dpi=96
2018/03/22 05:51:05.823 8 21 GX0 CMain::LoadResourceDLLs(): No custom resource dll found
2018/03/22 05:51:05.823 8 21 GX0 InterProcessBase::SecureNetwork created
2018/03/22 05:51:05.842 8 21 GX0 AutoLogin::Login: enabled: 1