[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#801401: cannot start X from the console command line



So, whatever TTY you are logged in on gets 600 perms, while the others
get 620 (write on group).

If I manually change that TTY from 600 to 620, that clears out the
(EE) xf86OpenConsole: Cannot open /dev/ttyX error

But it doesn't let it run (from xinit or startx). However it does run
from root. Cranking xorg log verbosity up and comparing, the only
relevant error seems to be "xf86EnableIOPorts: failed to set IOPL for
I/O (Operation not permitted)"

I think these permission errors are stemming from this Xorg not
running as root (it is not suid, and /usr/bin/X is no longer a suid
wrapper to Xorg, but a simple symlink to it). To not run as root, it
makes use of logind. I don't know if this bug then is truly on Xorg,
or if it is on the logind side of the fence or what. So far I haven't
found enough info to run tests on what logind is doing.


Thanks,
Kelly Clowers


Reply to: