!37 修复由于DISPLAY后端设置错误导致会话中的进程无法启动问题
From: @tangjie02 Reviewed-by: @liubuguiii Signed-off-by: @liubuguiii
This commit is contained in:
commit
b824104f7d
@ -0,0 +1,34 @@
|
||||
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
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
Name: kiran-session-manager
|
||||
Version: 2.5.0
|
||||
Release: 6
|
||||
Release: 7
|
||||
Summary: Session manager for KIRAN desktop environment
|
||||
|
||||
License: MulanPSL-2.0
|
||||
@ -9,6 +9,7 @@ Source0: %{name}-%{version}.tar.gz
|
||||
Patch1000: 0001-feature-lockscreen-Add-LockScreenWhenHibernate-and-L.patch
|
||||
Patch1001: 0001-feature-session-Add-always-show-exit-window-flag.patch
|
||||
Patch1002: 0001-Add-Type-Application-in-kiran-session-idlemonitor.de.patch
|
||||
Patch1003: 0001-fix-boot-Fix-fork-other-session-program-failed-by-ad.patch
|
||||
|
||||
|
||||
BuildRequires: cmake >= 3.2
|
||||
@ -88,6 +89,9 @@ fi
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jun 16 2023 tangjie02 <tangjie02@kylinsec.com.cn> - 2.5.0-7
|
||||
- KYOS-B: Fix fork other session program failed by adding GDK_BACKEND and QT_QPA_FLATFORM environment variables.
|
||||
|
||||
* Fri Jun 02 2023 huangjiawen <huangjiawen@kylinsec.com.cn> - 2.5.0-6
|
||||
- KYOS-F: Add Type=Application in kiran-session-idlemonitor.desktop.in
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user