126 Star 0 Fork 8

src-openEuler/xorg-x11-xinit

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
xinit-1.3.4-set-XORG_RUN_AS_USER_OK.patch 500 Bytes
一键复制 编辑 原始数据 按行查看 历史
douyan 提交于 2020-07-30 14:13 +08:00 . add Xsession Xresource .etc
diff -up xinit-1.3.4/startx.cpp~ xinit-1.3.4/startx.cpp
--- xinit-1.3.4/startx.cpp~ 2015-03-18 12:13:11.000000000 +0100
+++ xinit-1.3.4/startx.cpp 2015-03-18 12:49:49.445624223 +0100
@@ -140,8 +140,10 @@
have_vtarg="yes"
fi
done
-if [ "$have_vtarg" = "no" ]; then
+if [ "$have_vtarg" = "no" -a x"$vtarg" != x ]; then
serverargs="$serverargs $vtarg"
+ XCOMM Fedora specific mod to make X run as non root
+ export XORG_RUN_AS_USER_OK=1
fi
XCOMM if no display, use default
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/xorg-x11-xinit.git
git@gitee.com:src-openeuler/xorg-x11-xinit.git
src-openeuler
xorg-x11-xinit
xorg-x11-xinit
master

搜索帮助