Author Topic: TV fails to find user's Xauthority file  (Read 394 times)

egorks

  • Newbie
  • *
  • Posts: 1
TV fails to find user's Xauthority file
« on: November 02, 2016, 09:39:34 AM »
hi all,

opensuse 13.1, up to date. TV version is also latest one - 11.0.67687

after fresh system install i saw following errors (see code below) in the TV log which result in a message "cannot connect to partner" on the other machine.

my question is why TV does not try to grab user's Xauthority file? does it look for some env var to do that? of course /var/lib and /root files are not accessible with the user's ID... at the moment i cured it by making /var/lib file readable for user, but that's not the best solution...

do i have to set something up like export variable to make it work with local user auth file?

Code: [Select]
2016/11/02 13:19:42.918  1439 4140305216 S   Activating Router carrier
2016/11/02 13:19:42.918  1439 4140305216 S   Starting desktop process for ID XXXX in session 0
2016/11/02 13:19:42.918  1439 4140305216 S   CTerminalServer::getPathToApplicationExe: executable is /opt/teamviewer/tv_bin/TeamViewer_Desktop
2016/11/02 13:19:42.918  1439 4140305216 S   Filename for desktop process is /opt/teamviewer/tv_bin/TeamViewer_Desktop
2016/11/02 13:19:42.918  1439 4140305216 S   starting desktop in session XSession: 0 [SysSession 0 [type=1 tty=7 pseudotty=0 info=1 id=1 user=egor state=user active=1 reliable
=0]]
2016/11/02 13:19:42.918  1439 4140305216 S   TerminalServer: Starting desktop as user egor (503)
2016/11/02 13:19:42.930  1439 4140305216 S   XClient[:0]: Unable to open XAuthority file "/var/lib/kdm/AuthFiles/A:0-biwsBa" (err=13)
2016/11/02 13:19:42.936  1439 4140305216 S   XClient[:0]: Unable to open XAuthority file "/root/.xauthd7kvqw" (err=13)
2016/11/02 13:19:42.936  1439 4140305216 S!  XSession[0]: Unable to get XAuth
2016/11/02 13:19:42.936  1439 4140305216 S   XClient[:0]: Unable to open XAuthority file "" (err=2)
2016/11/02 13:19:42.936  1439 4140305216 S!  XSession[0]: XAuth information missing or incorrect, cannot open display, session aborted
2016/11/02 13:19:42.937  1439 4140305216 S!! TerminalServer: Missing prerequisites for starting Desktop!, Errorcode=2