Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 670200 - xorg-server / startx permission errors
Summary: xorg-server / startx permission errors
Status: RESOLVED DUPLICATE of bug 669648
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-03 13:42 UTC by brho
Modified: 2018-11-03 16:26 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description brho 2018-11-03 13:42:36 UTC
After a recent upgrade, startx failed.  The root cause appears to be permissions.

I'm running:
- x11-base/xorg-server-1.20.3
- x11-drivers/nvidia-drivers-410.73

The first problem was due to not being in the tty group.  I don't have the error message anymore, but it was something related to permissions and tty.  I added myself to the tty group.  That was probably just a bad groups setting for me.


The next problem was:

[   763.417] (EE) Fatal server error:
[   763.418] (EE) xf86OpenConsole: Cannot open virtual console 7 (Permission denied)
[   763.418] (EE) 
[   763.419] (EE) 

That was because /dev/tty7 wasn't readable: crw--w---- 1 root tty.  I chmodded that g+r.  I added a local udev rule, but are those TTYs supposed to be rw?


The final problem was that various input devices were unusable.  I needed to add myself to the input group.


Anyway, the groups stuff sounds like an old installation issue, but the tty permissions/udev rule might need looked at.
Comment 1 Andreas Sturmlechner gentoo-dev 2018-11-03 16:26:55 UTC

*** This bug has been marked as a duplicate of bug 669648 ***