Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#41568 - [xorg-server] Since "rootless X" user switching makes X unusable

Attached to Project: Arch Linux
Opened by Armin Hahn (flittermice) - Friday, 15 August 2014, 08:10 GMT
Last edited by Jan de Groot (JGC) - Wednesday, 08 April 2015, 14:10 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Jan de Groot (JGC)
Andreas Radke (AndyRTR)
Laurent Carlier (lordheavy)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Ever since the driver has been updated to support "rootless X" user switching is making troubles for me.
To be exact it works once, when I switch from user A to B, but when I want to go back to user A (by using Ctrl-Alt-Fx or by using the display manager) the X server stops working. Not even the VTs are usable anymore, I have to log in via SSH. But then again, restarting gdm doesn't help, I have to reboot my computer.

These log lines seem to show the problem:
(EE) intel(0): [drm] failed to set drm interface version: Permission denied [13].
(EE) intel(0): Failed to claim DRM device.

Is it possible to go back to the old behaviour until this is fixed?

Additional info:
* Arch Linux with Gnome Shell
* xorg-server 1.16.0-6
* xf86-video-intel 2.99.914-4

Steps to reproduce:
Do a user switch by using Ctrl-Alt-Fx or by using the display manager.
This task depends upon

Closed by  Jan de Groot (JGC)
Wednesday, 08 April 2015, 14:10 GMT
Reason for closing:  Fixed
Comment by Chris Berkhout (chrisberkhout) - Tuesday, 19 August 2014, 14:58 GMT
I am having this issue, as described above except I'm not getting the DRM error in my logs.
Comment by Armin Hahn (flittermice) - Wednesday, 20 August 2014, 06:36 GMT
If I stay on the same VT by logging off user A and logging in user B I can do this as often as I like without having problems.
Comment by Chris Berkhout (chrisberkhout) - Wednesday, 20 August 2014, 07:26 GMT
Me too. The problem is staying logged in, switching to another user and then going back.
Comment by Andreas Radke (AndyRTR) - Sunday, 12 October 2014, 08:59 GMT
How's behavior with latest LTS kernel and 3.17 currently in testing?
Comment by Armin Hahn (flittermice) - Monday, 13 October 2014, 18:51 GMT
@Andreas, I now tested this:
- LTS kernel (3.14.?): same behaviour

- Testing kernel (3.17.0-2): It's getting better, though it's still not perfect.
There seens to be a gdm problem then, because after switching twice (by "Benutzer wechseln"/"Switch user") the gdm welcome screen becomes unusable (blank grey), one cannot choose users anymore. But at least it's still possible to switch screens with Ctrl-Alt-F1, Ctrl-Alt-F2, etc.
I then tested to log out every user. Result was that only the unusable blank gdm welcome screen was left. But different than before I could at least go to a console VT, restart gdm and write this report :-)
Comment by Chris Berkhout (chrisberkhout) - Tuesday, 16 December 2014, 08:36 GMT
This problem is now resolved for me.
I believe it was the recent update including:

Thu 11 Dec 2014 01:44:48 AEDT ./xorg-server-1.16.2.901-1-x86_64.pkg.tar.xz
Thu 11 Dec 2014 01:44:48 AEDT ./xorg-server-common-1.16.2.901-1-x86_64.pkg.tar.xz

But it may have been an earlier one with:

Sat 22 Nov 2014 21:29:00 AEDT ./gdm-3.14.1-2-x86_64.pkg.tar.xz
Sat 22 Nov 2014 21:29:00 AEDT ./libgdm-3.14.1-2-x86_64.pkg.tar.xz

Or even something else.

Loading...