FS#41398 - [xorg-server] doesn't load mouse keyboard (xorg-sesrver 1.16)

Attached to Project: Arch Linux
Opened by Stefan O. (hybrid) - Wednesday, 30 July 2014, 14:40 GMT
Last edited by Laurent Carlier (lordheavy) - Monday, 04 August 2014, 07:54 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Andreas Radke (AndyRTR)
Laurent Carlier (lordheavy)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:
After the upgrade to xorg-server 1.16 xorg ignores mouse and keyboard completely. Can't do anything, can't switch to tty either.
System doesn't freeze though, I can ssh into it and kill x. On tty both mouse and keyboard work.
Downgrading to xorg-server 1.15 and xf86-input-evdev-2.9.0-1 (since -2 conflicts with xorg-server<1.16) works as desired.
Multiple reports on the forums on this issue (https://bbs.archlinux.org/viewtopic.php?id=184971, https://bbs.archlinux.org/viewtopic.php?id=184969).

My mouse and keyboard are both regular usb devices, nothing special. If you need more information, please let me know.


Additional info:
* package version(s)
working configuration:
xorg-server-1.15.2-1
xf86-input-evdev-2.9.0-1
xorg-server-common-1.16.0-5

not working configuration
xorg-server-1.16.0-5
xf86-input-evdev-2.9.0-2

* config and/or log files etc.
Xorg.log is attached

Steps to reproduce:
Install xorg-server 1.16.0-5 and xf86-evdev 2.9.0-2.
This task depends upon

Closed by  Laurent Carlier (lordheavy)
Monday, 04 August 2014, 07:54 GMT
Reason for closing:  Not a bug
Additional comments about closing:  already covered by the news item and post-install message
Comment by Jan de Groot (JGC) - Thursday, 31 July 2014, 07:38 GMT
How is X started here? I see X running on vt7, from which vt is it started?
Comment by Stefan O. (hybrid) - Thursday, 31 July 2014, 16:01 GMT
I start x from a tty (usually tty1) with "startx -- vt7" with "exec startfluxbox" in my .xinitrc
Comment by Jan de Groot (JGC) - Thursday, 31 July 2014, 16:06 GMT
Leave out the "-- vt7" and you should be fine. Using your method breaks systemd-logind operation.
Comment by Rick Klement (tybalt89) - Thursday, 31 July 2014, 16:15 GMT
I had this problem. I changed my X startup script from

exec xinit /home/rick/.rwm -- :0 -ac -retro

to:

if [ -z "$XDG_VTNR" ]; then
exec xinit /home/rick/.rwm -- :0 -ac -retro
else
exec xinit /home/rick/.rwm -- :0 -ac -retro vt$XDG_VTNR
fi

(which I copied from /etc/X11/xinit/xserverrc )

and now it works fine.
Comment by Stefan O. (hybrid) - Thursday, 31 July 2014, 16:16 GMT
Well that leaves me with two questions:
a) How can I then spawn x on vt7? I deliberately want it there.
b) The others affected by that behaviour may not be starting x the way I did. So there may be more to this.
Comment by Gregpr Mückl (gmueckl) - Saturday, 02 August 2014, 00:01 GMT
Also affected by this.

When starting X from a text console leaves X with no input devices, although there are systemd-logind labeled messages from the X server (in its own format - WTF?) in the Xorg.log file enumerating the existing input devices correctly. X just does not initialize the actual drivers after this. No error messages either.

The situation is different when I start kdm at boot. This leaves a working X server and the input device drivers are initialized by X after they have been been mentioned in the systemd-logind labeled X server messagaes.

Please look into the "X as user"/systemd integration changes that were introduced into arch with xorg server 1.16. I strongly suspect these to be responsible, although I do not have the time to dig into this issue more. Maybe add the option to disable/revert those changes?
Comment by Angelo (epimenidecretese) - Sunday, 03 August 2014, 13:33 GMT
Me too I was affected by this (using lxde) and solved in the same way as tybalt89:

[angelo@utilite ~]$ cat .xstartupscript
if [ -z "$XDG_VTNR" ]; then
exec xinit /usr/bin/lxsession -- :0 -ac -retro
else
exec xinit /usr/bin/lxsession -- :0 -ac -retro vt$XDG_VTNR
fi

Loading...