Bug 472660
Summary: | No keyboard if X11 started by "startx" | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Thomas Schweikle <tschweikle> | ||||||||
Component: | xorg-x11-server | Assignee: | Peter Hutterer <peter.hutterer> | ||||||||
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||
Severity: | high | Docs Contact: | |||||||||
Priority: | medium | ||||||||||
Version: | rawhide | CC: | behdad, ivazqueznet, mcepl, xgl-maint | ||||||||
Target Milestone: | --- | ||||||||||
Target Release: | --- | ||||||||||
Hardware: | All | ||||||||||
OS: | Linux | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||
Doc Text: |
Fedora release 10 (Cambridge)
|
Story Points: | --- | ||||||||
Clone Of: | Environment: | ||||||||||
Last Closed: | 2008-11-25 03:42:25 UTC | Type: | --- | ||||||||
Regression: | --- | Mount Type: | --- | ||||||||
Documentation: | --- | CRM: | |||||||||
Verified Versions: | Category: | --- | |||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||
Embargoed: | |||||||||||
Attachments: |
|
Description
Thomas Schweikle
2008-11-23 02:59:31 UTC
Please attach /etc/X11/xorg.conf, /var/log/Xorg.0.log, and the output of lshal so that we can use them to help diagnose the issue. Created attachment 324450 [details]
/etc/X11/xorg.conf
Created attachment 324451 [details]
/var/log/Xorg.0.log
Created attachment 324452 [details]
lshal > lahal.txt 2>&1
Looks a lot like this problem is related to init only going to level 2 not 3 as given in inittab: [root@sapelli ~]# cat /etc/inittab # inittab is only used by upstart for the default runlevel. # # ADDING OTHER CONFIGURATION HERE WILL HAVE NO EFFECT ON YOUR SYSTEM. # # System initialization is started by /etc/event.d/rcS # # Individual runlevels are started by /etc/event.d/rc[0-6] # # Ctrl-Alt-Delete is handled by /etc/event.d/control-alt-delete # # Terminal gettys (tty[1-6]) are handled by /etc/event.d/tty[1-6] and # /etc/event.d/serial # # For information on how to write upstart event handlers, or how # upstart works, see init(8), initctl(8), and events(5). # # Default runlevel. The runlevels used are: # 0 - halt (Do NOT set initdefault to this) # 1 - Single user mode # 2 - Multiuser, without NFS (The same as 3, if you do not have networking) # 3 - Full multiuser mode # 4 - unused # 5 - X11 # 6 - reboot (Do NOT set initdefault to this) # id:3:initdefault: If I advice init to go to level 3 makes all errors and problems disapear! Interesting. What do /proc/cmdline and /boot/grub/grub.conf contain? from Xorg.0.log:
> (WW) AllowEmptyInput is on, devices using drivers 'kbd' or 'mouse' will be \
> disabled.
> (WW) Disabling VMware Keyboard
Insert into ServerLayout (or if you have ServerFlags) section line:
Option "AllowEmptyInput" "off"
and/or try to add lines
Option "AutoAddDevices" "off"
Option "AutoEnableDevices" "off"
What happens?
Adding Option "AllowEmptyInput" "off" to ServerLayout makes the whole thing work, regardless of messagebus started or not. Adding Option "AutoAddDevices" "off" Option "AutoEnableDevices" "off" does not have any effect at all. Without Option "AllowEmptyInput" "off" Seems only Option "AllowEmptyInput" "off" fixes the problem not recognizing any keyboard without messagebus started. Without AllowEmptyInput "off", the server relies on HAL for the device list. You don't seem to be running the HAL daemon, hence you never get any devices. You either need to leave AllowEmptyInput "off" in the server layout section or you need to start the HAL daemon before starting X. Closing as NOTABUG, this is a configuration issue. |