Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-03-2009, 01:12 PM   #1
Registered: Jul 2004
Location: USA
Distribution: Fedora 9, LFS 6.3, Unbuntu 8.04, Slax 6.0.7
Posts: 145

Rep: Reputation: 15
Disable Keyboard and Mouse in Xorg on boot

Is there a way to disable the keyboard and mouse input on Xorg? I want to remove the keyboard and mouse input at the very start. i don't need to activate ever again on the computer in question since it is going to be a server of sorts with remote access. Is there a way to make sure a keyboard and mouse can not be used on the computer.

Old 06-03-2009, 02:28 PM   #2
Registered: Mar 2006
Location: Czech Republic
Distribution: Gentoo, Chakra
Posts: 982
Blog Entries: 14

Rep: Reputation: 135Reputation: 135
If you want to completely block input devices, you can blacklist the psmouse and all HID (or USB) related modules. A barbaric solution would be to disable HAL and start X (which now gets its input configuration from HAL), not sure if that would be 100% functional. This can be simplified by disabling hotplugging in X.
Old 06-03-2009, 02:35 PM   #3
LQ Guru
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,513

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
You could comment out the input device sections in '/etc/X11/xorg.conf'. I don't understand why a headless server box would even be running X. You can disable running X, if that would be a better solution.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Disable PS/2 Keyboard and Mouse in Xorg FLLinux Linux - Hardware 2 06-11-2009 07:56 AM
Xorg seems not to grab mouse or keyboard Oxagast Linux - Software 1 10-15-2008 01:24 PM
VNC: disable physical mouse/keyboard asymptote Linux - Networking 12 07-17-2008 10:00 AM
How to disable and re-enable mouse and keyboard input? weijie90 Linux - Hardware 2 08-12-2007 07:17 PM
How to disable the little marble that is used as a mouse on a laptop keyboard? MrPacane Linux - Laptop and Netbook 4 05-25-2006 01:05 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:21 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration