Dear misc@ readers, I'd like to make a follow-up of an old thread [0], in the hope that someone clarify the situation.
I normally log in X through xdm (xenodm from some weeks now) and, once there, the ownership of /dev/drm0 is changed to my user, as expected: [just22@poseidon]-[~]> ll /dev/drm0 crw------- 1 just22 wheel 87, 0 Mar 20 08:17 /dev/drm0 But, if I switch from X to ttyC0 (Ctrl-Alt-F1), log in there and then log out, the ownership is reset: [just22@poseidon]-[~]> ll /dev/drm0 crw------- 1 root wheel 87, 0 Mar 20 08:17 /dev/drm0 (this behavior seems consistent with the content of /etc/fbtab, meaning that if I do the same sequence of operations from a different virtual terminal, ttyC1 for example, /dev/drm0 ownership is left untouched). Of cource, when I switch back in X, I'm no more able to get access to drm device, losing hardware acceleration for applications using it and continuosly receiving the following error message: libGL error: failed to open drm device: Permission denied The only way to restore the correct condition is to logout/login (or restart xenodm service). I temporarely worked around the problem inhibiting the login from ttyC0 (and so reserving it as a kind of "virtual console" for kernel messages), but I'd like to hear your thoughts on this: is it the expected/desired behavior or should it be fixed? All the best [0]: http://marc.info/?l=openbsd-misc&m=145125527304834&w=2 -- Alessandro DE LAURENZIS [mailto:jus...@atlantide.t28.net] LinkedIn: http://it.linkedin.com/in/delaurenzis