diff options
-rw-r--r-- | tests/gsdtestcase.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/gsdtestcase.py b/tests/gsdtestcase.py index 81691b5a..31f65e92 100644 --- a/tests/gsdtestcase.py +++ b/tests/gsdtestcase.py @@ -170,7 +170,9 @@ class GSDTestCase(dbusmock.DBusTestCase): ''' start mutter ''' klass.mutter_log = open(os.path.join(klass.workdir, 'mutter.log'), 'wb') - klass.mutter = subprocess.Popen(['mutter'], + # See https://gitlab.gnome.org/GNOME/mutter/merge_requests/15 + os.environ['XDG_SESSION_TYPE'] = 'x11' + klass.mutter = subprocess.Popen(['mutter', '--x11'], stdout=klass.monitor_log, stderr=subprocess.STDOUT) |