ramlife

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

今天更新了 xorg-server 之后, startx 就进不了 X了,但是可以用 sudo startx 进入 X,所以感觉很奇怪。
后来终于在 gentoo 官方论坛上面找到答案了。
https://forums.gentoo.org/viewtopic-t-1070942-postdays-0-postorder-asc-start-0.html
https://forums.gentoo.org/viewtopic-t-1078122-postdays-0-postorder-asc-start-0.html

原因是 xorg-server 更新到 1.20 版本之后,SUID 不是默认选中的。
Suid off, uses the wrapper (default install, which is probably what most would want, especially gnome/kde folks)
Suid on, does the old install-setuid

在 USE 里面增加 SUID,然后重新编译 xorg-server, 就一切正常,可以进入 X了。

posted on 2018-11-06 23:11  ramlife  阅读(784)  评论(0编辑  收藏  举报