[SOLVED] mouse and keyboard don't work after startup
[SOLVED] mouse and keyboard don't work after startup
Hello,
I made a mistake with Xorg and since I can't use the keyboard or the mouse after Centos . My desktop environement is XFCE.
With GRUB, I launched a "rescue" shell, I tried the command : Xorg -configure
but it didn't fix my problem.
I made a mistake with Xorg and since I can't use the keyboard or the mouse after Centos . My desktop environement is XFCE.
With GRUB, I launched a "rescue" shell, I tried the command : Xorg -configure
but it didn't fix my problem.
Last edited by aminos on 2018/04/23 21:47:39, edited 1 time in total.
Re: mouse and keyboard don't work after startup
I found a way to prevent Xorg from launching. Now I am in mode text
when I launch "X -configure", I got this :
when I launch "X -configure", I got this :
Below, the content of /var/log/Xorg.0.logX.Org X Server 1.19.3
Release Date: 2017-03-15
X Protocol Version 11, Revision 0
Build Operating System: 3.10.0-693.17.1.el7.x86_64
Current Operating System: Linux lenovo 3.10.0-693.21.1.el7.x86_64 #1 SMP Wed Mar 7 19:03:37 UTC 2018 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.10.0-693.21.1.el7.x86_64 root=UUID=290c8360-d65d-49f5-8fd7-bd1ceb77b01d ro crashkernel=auto rhgb text
Build Date: 07 March 2018 01:39:22PM
Build ID: xorg-x11-server 1.19.3-11.el7_4.2
Current version of pixman: 0.34.0
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sat Apr 21 13:05:21 2018
List of video drivers:
intel
modesetting
(++) Using config file: "/root/xorg.conf.new"
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
Xorg detected your mouse at device /dev/input/mice.
Please check your config if the mouse is still not
operational, as by default Xorg tries to autodetect
the protocol.
Your xorg.conf file is /root/xorg.conf.new
To test the server, run 'X -config /root/xorg.conf.new'
(EE) Server terminated with error (2). Closing log file.
Code: Select all
[ 657.128]
X.Org X Server 1.19.3
Release Date: 2017-03-15
[ 657.128] X Protocol Version 11, Revision 0
[ 657.128] Build Operating System: 3.10.0-693.17.1.el7.x86_64
[ 657.128] Current Operating System: Linux lenovo 3.10.0-693.21.1.el7.x86_64 #1 SMP Wed Mar 7 19:03:37 UTC 2018 x86_64
[ 657.128] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.10.0-693.21.1.el7.x86_64 root=UUID=290c8360-d65d-49f5-8fd7-bd1ceb77b01d ro crashkernel=auto rhgb text
[ 657.128] Build Date: 07 March 2018 01:39:22PM
[ 657.128] Build ID: xorg-x11-server 1.19.3-11.el7_4.2
[ 657.128] Current version of pixman: 0.34.0
[ 657.128] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 657.128] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 657.128] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Apr 21 13:05:21 2018
[ 657.128] (II) Loader magic: 0x5641db808020
[ 657.128] (II) Module ABI versions:
[ 657.128] X.Org ANSI C Emulation: 0.4
[ 657.128] X.Org Video Driver: 23.0
[ 657.128] X.Org XInput driver : 24.1
[ 657.128] X.Org Server Extension : 10.0
[ 657.129] (II) xfree86: Adding drm device (/dev/dri/card1)
[ 657.955] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 657.973] (--) PCI:*(0:0:2:0) 8086:0416:17aa:3978 rev 6, Mem @ 0xd1000000/4194304, 0xc0000000/268435456, I/O @ 0x00005000/64, BIOS @ 0x????????/131072
[ 657.973] (--) PCI: (0:1:0:0) 10de:1392:17aa:3978 rev 162, Mem @ 0xd0000000/16777216, 0xa0000000/268435456, 0xb0000000/33554432, I/O @ 0x00004000/128, BIOS @ 0x????????/524288
[ 657.973] List of video drivers:
[ 657.973] intel
[ 657.973] modesetting
[ 657.973] (II) LoadModule: "intel"
[ 657.973] (II) Loading /usr/lib64/xorg/modules/drivers/intel_drv.so
[ 657.973] (II) Module intel: vendor="X.Org Foundation"
[ 657.973] compiled for 1.19.3, module version = 2.99.917
[ 657.973] Module class: X.Org Video Driver
[ 657.973] ABI class: X.Org Video Driver, version 23.0
[ 657.973] (II) LoadModule: "modesetting"
[ 657.973] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
[ 657.973] (II) Module modesetting: vendor="X.Org Foundation"
[ 657.973] compiled for 1.19.3, module version = 1.19.3
[ 657.973] Module class: X.Org Video Driver
[ 657.973] ABI class: X.Org Video Driver, version 23.0
[ 657.973] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[ 657.974] (II) intel: Driver for Intel(R) HD Graphics: 2000-6000
[ 657.974] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100, 6100
[ 657.974] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200, 6200, P6300
[ 657.974] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 657.988] (++) Using config file: "/root/xorg.conf.new"
[ 657.988] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 657.988] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 657.988] (==) ServerLayout "X.org Configured"
[ 657.988] (**) |-->Screen "Screen0" (0)
[ 657.988] (**) | |-->Monitor "Monitor0"
[ 657.988] (**) | |-->Device "Card0"
[ 657.988] (**) |-->Input Device "Mouse0"
[ 657.988] (**) |-->Input Device "Keyboard0"
[ 657.988] (==) Automatically adding devices
[ 657.988] (==) Automatically enabling devices
[ 657.988] (==) Automatically adding GPU devices
[ 657.988] (==) Automatically binding GPU devices
[ 657.988] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 657.988] (**) FontPath set to:
catalogue:/etc/X11/fontpath.d,
built-ins,
catalogue:/etc/X11/fontpath.d,
built-ins
[ 657.988] (**) ModulePath set to "/usr/lib64/xorg/modules"
[ 657.988] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[ 657.988] (WW) Disabling Mouse0
[ 657.988] (WW) Disabling Keyboard0
[ 657.988] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20161121
[ 657.997]
[ 657.997]
Xorg detected your mouse at device /dev/input/mice.
Please check your config if the mouse is still not
operational, as by default Xorg tries to autodetect
the protocol.
[ 657.997]
Your xorg.conf file is /root/xorg.conf.new
[ 657.997] To test the server, run 'X -config /root/xorg.conf.new'
[ 657.997] (EE) Server terminated with error (2). Closing log file.
Re: mouse and keyboard don't work after startup
Did you copy that to /etc/X11/xorg.conf? It won't be used as it is now as it's not the right filename.Your xorg.conf file is /root/xorg.conf.new
Also do you have xorg-x11-drv-evdev xorg-x11-drv-mouse and xorg-x11-drv-libinput installed?
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: mouse and keyboard don't work after startup
Before installing NVIDIA proprietary driver, I haven't a configuration file under /etc/X11, I created one with Xorg -configure and since my keyboard and mouse don't work . Now I uninstalled the driver and put back "nouveau".
I did that, now when I use startx, the GNOME desktop is showing but my keyboard and mouse still don't work ! Below the new X11 conf file I copied from /root : When, from a distant computer with SSH, I type : pkill x, I return to the console mode and keyboard is functionalDid you copy that to /etc/X11/xorg.conf? It won't be used as it is now as it's not the right filename.
Also do you have xorg-x11-drv-evdev xorg-x11-drv-mouse and xorg-x11-drv-libinput installed?
Code: Select all
[root@lenovo ~]# cat /etc/X11/xorg.conf
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
ModulePath "/usr/lib64/xorg/modules"
FontPath "catalogue:/etc/X11/fontpath.d"
FontPath "built-ins"
EndSection
Section "Module"
Load "glx"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
### <percent>: "<f>%"
### [arg]: arg optional
#Option "Accel" # [<bool>]
#Option "AccelMethod" # <str>
#Option "Backlight" # <str>
#Option "CustomEDID" # <str>
#Option "DRI" # <str>
#Option "Present" # [<bool>]
#Option "ColorKey" # <i>
#Option "VideoKey" # <i>
#Option "Tiling" # [<bool>]
#Option "LinearFramebuffer" # [<bool>]
#Option "HWRotation" # [<bool>]
#Option "VSync" # [<bool>]
#Option "PageFlip" # [<bool>]
#Option "SwapbuffersWait" # [<bool>]
#Option "TripleBuffer" # [<bool>]
#Option "XvPreferOverlay" # [<bool>]
#Option "HotPlug" # [<bool>]
#Option "ReprobeOutputs" # [<bool>]
#Option "XvMC" # [<bool>]
#Option "ZaphodHeads" # <str>
#Option "VirtualHeads" # <i>
#Option "TearFree" # [<bool>]
#Option "PerCrtcPixmaps" # [<bool>]
#Option "FallbackDebug" # [<bool>]
#Option "DebugFlushBatches" # [<bool>]
#Option "DebugFlushCaches" # [<bool>]
#Option "DebugWait" # [<bool>]
#Option "BufferCache" # [<bool>]
Identifier "Card0"
Driver "intel"
BusID "PCI:0:2:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
No, I didn't have, I installed them with yum.Also do you have xorg-x11-drv-evdev xorg-x11-drv-mouse and xorg-x11-drv-libinput installed?
Last edited by aminos on 2018/04/21 16:24:16, edited 2 times in total.
Re: mouse and keyboard don't work after startup
Code: Select all
Also do you have xorg-x11-drv-evdev xorg-x11-drv-mouse and xorg-x11-drv-libinput installed?
But I have some questions, I really want to know : what the heck just happened ? do this packages have been uninstalled ?
Before installing the nvidia driver and having problems with Xorg, I did install GNOME with yum but XFCE remained... now when I launch startx, it is GNOME who is showing up and not XFCE anymore... is it easy to switch between them ?
Anyway, thank you very much.
Re: mouse and keyboard don't work after startup
Now *this* I can answer!: You can multiple GUI's -- I must have at least 5 -- To change from one GUI to another when the login screen pops up (where you would sign into to your users account ) *either* towards the bottom of the page you might see something that looks like a gear, or some such thing OR in the upper LEFT hand corner you will see a flag and to the LEFT of that you will see something that reads Session, and you will see something that says something like KDE Plasma Workspace, GNOME, etc. Next to that you will see a DOWN Pointing Arrow. Click on that (Clicking on the "Gear" if that is what you have) will show you ALL the GUI's you have installed. To change from GNOME to "Xfce Session" select "Xfce Session" so it is highlighted then enter your secret sauce Password and hit Enter and be on your Merry Way.aminos wrote: it is GNOME who is showing up and not XFCE anymore... is it easy to switch between them ?
Anyway, thank you very much.
Re: mouse and keyboard don't work after startup
OK, Thank you.