今天更新了 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了。

标签: Gentoo

添加新评论