On 10/30/2015 02:33 PM, to...@tuxteam.de wrote:
> On Fri, Oct 30, 2015 at 01:57:41PM +0100, Flo wrote:
>> Hi all,
> 
>> I upgraded my Debian testing system.
> 
>> The keyboard is working at the console. But when I enter startx and X is
>> running neither the keyboard nor the mouse works.
> 
> Hm. Are they USB devices? If yes: what happens when you unplug and re-plug
> them (while X is up, as non-root user)?
> 

For me the log looks normal (/var/log/syslog):
Oct 30 15:31:39 arvak kernel: [ 7191.742296] usb 3-1.6: USB disconnect,
device number 3
Oct 30 15:31:39 arvak acpid: input device has been disconnected, fd 4
Oct 30 15:31:39 arvak acpid: input device has been disconnected, fd 5
Oct 30 15:31:43 arvak kernel: [ 7196.481955] usb 3-1.6: new low-speed
USB device number 4 using ehci-pci
Oct 30 15:31:43 arvak kernel: [ 7196.583898] usb 3-1.6: New USB device
found, idVendor=0a81, idProduct=0205
Oct 30 15:31:43 arvak kernel: [ 7196.583903] usb 3-1.6: New USB device
strings: Mfr=1, Product=2, SerialNumber=0
Oct 30 15:31:43 arvak kernel: [ 7196.583905] usb 3-1.6: Product: PS2 to
USB Converter
Oct 30 15:31:43 arvak kernel: [ 7196.583908] usb 3-1.6: Manufacturer: CHESEN
Oct 30 15:31:43 arvak kernel: [ 7196.591103] input: CHESEN PS2 to USB
Converter as
/devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.0/0003:0A81:0205.0003/input/input17
Oct 30 15:31:44 arvak kernel: [ 7196.646343] hid-generic
0003:0A81:0205.0003: input,hidraw0: USB HID v1.10 Keyboard [CHESEN PS2
to USB Converter] on usb-0000:00:1a.0-1.6/input0
Oct 30 15:31:44 arvak kernel: [ 7196.654294] input: CHESEN PS2 to USB
Converter as
/devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.1/0003:0A81:0205.0004/input/input18
Oct 30 15:31:44 arvak kernel: [ 7196.710339] hid-generic
0003:0A81:0205.0004: input,hidraw1: USB HID v1.10 Mouse [CHESEN PS2 to
USB Converter] on usb-0000:00:1a.0-1.6/input1

I am using the old PS2 keyboard&mouse and the converter as you can see.
But, of course, I tried a native USB keyboard as well.

>> I found out that when I startx as root keyboard&mouse is working.
> 
>> The Xorg.0.log is only updated when I run X as root.
> 
> Sysvinit or systemd? As which user is X running?
> 
> (under systemd it reportedly doesn't run as root, under sysvinit it has
> to).
> 

The process with PID 1 is called init, therefore, I think I am still
using sysvinit. I thought there was already a migration to systemd but
appearently it wasn't.

User: I log in at the console as regular user. And this regular user
invokes 'startx'.

$ ps auxw | grep Xorg
username       8566  0.0  0.3 245992 25544 tty1     Sl   15:19   0:00
/usr/lib/xorg/Xorg -nolisten tcp :0 vt1 -keeptty -auth
/tmp/serverauth.Gi5TPbXzpf

Thank you very much.

Regards,
Flo.

Reply via email to