From 30fc54988096fdea9b6703b9713c0805d233b324 Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Sat, 17 Oct 2020 00:29:53 +0200 Subject: [PATCH] Avoid 'Qt: Session management error' --- client/src/proxgui.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/client/src/proxgui.cpp b/client/src/proxgui.cpp index d5f82ffe9..cda746b9a 100644 --- a/client/src/proxgui.cpp +++ b/client/src/proxgui.cpp @@ -60,6 +60,7 @@ extern "C" void InitGraphics(int argc, char **argv, char *script_cmds_file, char if (getenv("DISPLAY") == NULL) return; #endif + unsetenv("SESSION_MANAGER"); main_loop_thread = new WorkerThread(script_cmds_file, script_cmd, stayInCommandLoop); gui = new ProxGuiQT(argc, argv, main_loop_thread); }