On 2018-11-03 14:01, Alan Mackenzie <[email protected]> wrote:
> Hello, Gentoo.
>
> HEADS UP!!!
>
> If you start your X server from the command line with, e.g. startx, you
> now need to set the new(?) suid USE flag for the xorg-server package.
>
> This flag causes the binary to be installed with the setuid file flag,
> which causes it to run as root.
>
> The developers, in this instance, failed to raise the ebuild's version
> number from 1.20.3 when making this change, and also didn't notify users
> by a NEWS item, that I can see.
>
> The matter was fairly intensively discussed in bug #669648 in Gentoo's
> bugzilla.
>
> So - if you get a permissions error whilst trying to start X, setting
> the suid USE flag may well be the solution.
>
> -- 
> Alan Mackenzie (Nuremberg, Germany).

I got the same problem yesterday.

My setup was startx + StumpWM.

I got "setblabla error: cannot open /dev/tty0 (permission denied)".

A possible solution without changing anything unnecessary is to run
startx as "startx -- vt1".

No need to change permission/ownership of anything.
It is just required that the user is in "video" group. No "tty" or
"input" needed.

I presume it is because your user does not have access to TTY other than
its login TTY. So if you log in by "tty1", just start X in "vt1".

Hope that helps somehow.

Danny

Reply via email to