diff options
Diffstat (limited to 'tests/src/test-qt-greeter.cpp')
-rw-r--r-- | tests/src/test-qt-greeter.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/src/test-qt-greeter.cpp b/tests/src/test-qt-greeter.cpp index 49b42e08..1019a6ab 100644 --- a/tests/src/test-qt-greeter.cpp +++ b/tests/src/test-qt-greeter.cpp @@ -68,6 +68,11 @@ request_cb (const gchar *request) greeter->authenticateAsGuest (); g_free (r); + r = g_strdup_printf ("GREETER %s AUTHENTICATE-REMOTE SESSION=", getenv ("DISPLAY")); + if (g_str_has_prefix (request, r)) + greeter->authenticateRemote (request + strlen (r), NULL); + g_free (r); + r = g_strdup_printf ("GREETER %s RESPOND TEXT=\"", getenv ("DISPLAY")); if (g_str_has_prefix (request, r)) { |