代码拉取完成,页面将自动刷新
From 0b2176a539338466dda802b06fcd7589d51ceef5 Mon Sep 17 00:00:00 2001
From: tangjie02 <tangjie02@kylinos.com.cn>
Date: Thu, 7 May 2020 00:06:50 +0800
Subject: [PATCH 3/3] fix(libegg): caja not register for root in MATE desktop
before session manager timeout
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
- 修复caja在root登录时未向mate-session-manager进行注册导致mate-session-manager长时间等待(30秒)的问题
Signed-off-by: tangjie02 <tangjie02@kylinos.com.cn>
---
libegg/eggsmclient.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libegg/eggsmclient.c b/libegg/eggsmclient.c
index 3113e6b..f8c35e1 100644
--- a/libegg/eggsmclient.c
+++ b/libegg/eggsmclient.c
@@ -368,7 +368,7 @@ egg_sm_client_get (void)
as egg_sm_client_set_mode must be called prior to start of main loop
to stop caja restart but this is diffcult in GtkApplication */
- if (geteuid () == 0 || !(running_in_mate () || running_in_kiran ())){
+ if (!(running_in_mate () || running_in_kiran ())){
global_client = g_object_new (EGG_TYPE_SM_CLIENT, NULL);
}
}
--
2.33.0
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。