diff --git a/src/fenrir/screenDriver/vcsaDriver.py b/src/fenrir/screenDriver/vcsaDriver.py index bfb5f3a5..5c43f884 100644 --- a/src/fenrir/screenDriver/vcsaDriver.py +++ b/src/fenrir/screenDriver/vcsaDriver.py @@ -79,6 +79,9 @@ class driver(): sessionType = inf.Get('org.freedesktop.login1.Session', 'Type') screen = str(inf.Get('org.freedesktop.login1.Session', 'TTY')) screen = screen[screen.upper().find('TTY') + 3:] + if screen == '': + screen = str(inf.Get('org.freedesktop.login1.Session', 'VTNR')) + screen = screen[screen.upper().find('VC') + 2:] if sessionType.upper() == 'X11': self.env['screenData']['autoIgnoreScreens'].append(screen) if screen == self.env['screenData']['newTTY'] :