fix wayland compatibility, add dbus session test script

This commit is contained in:
chrys
2018-03-11 17:29:31 +01:00
parent 83b3e075f4
commit 5e7a7dc2ac
2 changed files with 21 additions and 1 deletions

View File

@ -104,7 +104,7 @@ class driver(screenDriver):
if screen == '':
self.env['runtime']['debug'].writeDebugOut('No TTY found for session:' + session[4],debug.debugLevel.ERROR)
return
if sessionType.upper() == 'X11':
if sessionType.upper() != 'TTY':
self.env['screen']['autoIgnoreScreens'].append(screen)
if screen == self.env['screen']['newTTY'] :
if self.env['general']['currUser'] != session[2]: