35 lines
1.1 KiB
Diff
35 lines
1.1 KiB
Diff
From 18165b636a6a2fc083b2139f0cfc71d1dac8f221 Mon Sep 17 00:00:00 2001
|
|
From: tangjie02 <tangjie02@kylinsec.com.cn>
|
|
Date: Fri, 16 Jun 2023 15:34:21 +0800
|
|
Subject: [PATCH] fix(boot): Fix fork other session program failed by adding
|
|
GDK_BACKEND and QT_QPA_FLATFORM environment variables.
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
- 修复由于DISPLAY后端设置错误导致会话中的进程无法启动问题
|
|
|
|
Relates #I7C89D
|
|
|
|
Signed-off-by: tangjie02 <tangjie02@kylinsec.com.cn>
|
|
---
|
|
data/kiran-session-wayland.in | 5 ++++-
|
|
1 file changed, 4 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/data/kiran-session-wayland.in b/data/kiran-session-wayland.in
|
|
index 4bd1de9..1ffb0b1 100644
|
|
--- a/data/kiran-session-wayland.in
|
|
+++ b/data/kiran-session-wayland.in
|
|
@@ -1,3 +1,6 @@
|
|
#!/bin/sh
|
|
|
|
-exec @CMAKE_INSTALL_FULL_BINDIR@/kiran-session-manager --session-type=kiran-wayland
|
|
\ No newline at end of file
|
|
+export GDK_BACKEND=x11
|
|
+export QT_QPA_PLATFORM=xcb
|
|
+
|
|
+exec @CMAKE_INSTALL_FULL_BINDIR@/kiran-session-manager --session-type=kiran-wayland
|
|
--
|
|
2.36.1
|
|
|