FS#44285 - [xorg-xinit] keyboard and mouse do not work after startxfce4

Attached to Project: Arch Linux
Opened by Larry Johnson (keepitsimpleengineer) - Saturday, 21 March 2015, 13:29 GMT
Last edited by Andreas Radke (AndyRTR) - Tuesday, 24 March 2015, 17:58 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Andreas Radke (AndyRTR)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description: after boot…
USB mouse unresponsive
USB keyboard unresponsive, NumPad indicator unlit(normally lit)

Additional info:
* package version(s)
xorg-xinit 1.3.4-2
* config and/or log files etc.
[root@KISE-005 log]# cat pacman.log | grep 2015-03-21 | grep xorg-xinit
[2015-03-21 05:27] [ALPM] upgraded xorg-xinit (1.3.4-1 -> 1.3.4-2)
[2015-03-21 05:52] [PACMAN] Running 'pacman -U /var/cache/pacman/pkg/xorg-xinit-1.3.4-1-x86_64.pkg.tar.xz'
[2015-03-21 05:52] [ALPM] downgraded xorg-xinit (1.3.4-2 -> 1.3.4-1)

Steps to reproduce:
•update x86_64 system
•reboot
Note: USB keyboard works in console until startxfce4 command


Steps to recover:
•log in remotely
•downgrade xorg-xinit (1.3.4-2 -> 1.3.4-1)
•reboot

[--ljohnson{06:13:41}~]$ uname -a
Linux KISE-005 3.19.2-1-ck #1 SMP PREEMPT Wed Mar 18 16:13:14 EDT 2015 x86_64 GNU/Linux

Attached: Xorg.0.log from failed and successful boot
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Tuesday, 24 March 2015, 17:58 GMT
Reason for closing:  Fixed
Comment by Larry Johnson (keepitsimpleengineer) - Saturday, 21 March 2015, 14:51 GMT
Journal from failed X
Comment by Larry Johnson (keepitsimpleengineer) - Saturday, 21 March 2015, 17:12 GMT
Journal from failed X
Comment by Andreas Radke (AndyRTR) - Saturday, 21 March 2015, 20:14 GMT
Do you have a custom ~/.xinitrc or ~/.xsession? The major change was the remove of the user skeleton files and a small change in xserverrc.
Comment by Larry Johnson (keepitsimpleengineer) - Saturday, 21 March 2015, 22:22 GMT
Don't know that they are customized or not, attached.

I boot into console, then use startxfce4 to start X11...
Comment by Larry Johnson (keepitsimpleengineer) - Saturday, 21 March 2015, 23:17 GMT
On my laptop i686 xfce4, the new xorg-xinit was not a problem. The ~/.xinitrc is identical to the x86_64 file, and there is no ~/.xsession file. The laptop boots directly in the X server.
Comment by AK (Andreaskem) - Sunday, 22 March 2015, 08:52 GMT
Why is there a lot of output from KDE stuff and nothing from XFCE?

(edit: maybe there is a .xsession-errors file in your home directory you could provide?)
Comment by Larry Johnson (keepitsimpleengineer) - Sunday, 22 March 2015, 15:29 GMT
They are a little old..?
[--ljohnson{08:26:58}~]$ ls -la | grep xsession
-rw-r--r-- 1 ljohnson users 100 Feb 3 2012 .xsession
-rw------- 1 ljohnson users 7416 Aug 7 2012 .xsession-errors
-rw------- 1 ljohnson users 2821 Jun 26 2012 .xsession-errors.old
Comment by AK (Andreaskem) - Sunday, 22 March 2015, 15:53 GMT
Okay, a shot in the dark here:

startxfce4 seems to be a script that runs xinit directly:
http://manpages.ubuntu.com/manpages/hardy/man1/startxfce4.1.html

The -2 revision of xorg-xinit dropped a config file since startx already provides the proper command line arguments to xinit:
https://bugs.archlinux.org/task/42193

Maybe startxfce4 does not pass the correct vt$XDG_VTNR parameter to xinit and therefore fails to start?

What happens if you just execute startx?
Comment by Larry Johnson (keepitsimpleengineer) - Sunday, 22 March 2015, 16:28 GMT
So I did the following…
•upgraded xorg-xinit
•rebooted
•used startx vice startxfce4
•X server ran with operative mouse & keyboard
•logged out
•started Xserver with startxfce4
•keyboard & mouse inoperative

attached Xorg.0.log for startx Xserver start
Comment by Evangelos Foutras (foutrelis) - Tuesday, 24 March 2015, 08:39 GMT
I've uploaded xfce4-session 4.12.1-2 which patches startxfce4 to pass the VT number to xinit.

Please confirm that the issue is fixed with the above package (and xorg-xinit 1.3.4-2).
Comment by Larry Johnson (keepitsimpleengineer) - Tuesday, 24 March 2015, 16:07 GMT
Successfully startes X server using 'startxfce4'
…Thanks

Loading...