LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 11-02-2017, 06:48 PM   #1
Duglas
Member
 
Registered: Mar 2009
Distribution: Debian
Posts: 69

Rep: Reputation: 2
No keyboard input after typing username and password in xdm.


In xdm I can type my username (visible) and my password (not visible).
Then my Desktop manager sets my background, and panel, and then opens urxvt terminal (thats ok). When I type in the urxvt window nothing appears, nor does the curser move. If I type a simple command "ls -l" nothing appears. I have tried entering text in other applications, firefox (search box), libreoffice, gvim, and xterm, no text appears. If I choose to launch a console instead of the window manager, I can login and enter commands normally.

I am running Debian 9.1 on a Lenovo Ideapad, and it has been running for months. I have run "apt update" and "apt upgrade", as root and watched many upgrades since installing.

I removed xdm and installed lightdm, but that did nothing to fix the problem.
 
Old 11-03-2017, 02:52 AM   #2
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,567
Blog Entries: 19

Rep: Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447
As neither your keyboard nor your mouse are working in X, the fault must lie in their driver xorg-xf86-evdev. Try reinstalling that.
 
Old 11-03-2017, 03:25 AM   #3
Duglas
Member
 
Registered: Mar 2009
Distribution: Debian
Posts: 69

Original Poster
Rep: Reputation: 2
Keyboard worked fine in xdm. Mouse still works fine in X, I can use it to open apps, and select icons, just cant type in the text boxes. Will reload the drivers.
 
Old 11-06-2017, 05:09 AM   #4
anisoptera
LQ Newbie
 
Registered: Oct 2017
Posts: 28

Rep: Reputation: 13
It doesn't seem like an XDM problem as you seem to have discovered. The console which XDM often runs on startup is usually an xconsole(1) instance.

That doesn't explain your other issues. I assume mouse/touchpad input works, just keyboard input is dead?

Would be useful to know what window manager / desktop this is and how you've configured it to start?
 
Old 11-07-2017, 03:43 AM   #5
Duglas
Member
 
Registered: Mar 2009
Distribution: Debian
Posts: 69

Original Poster
Rep: Reputation: 2
The laptop is a Lenovo Ideapad 100, that I loaded Debian 9 onto with a Netinst iso on a usb flashdrive.
The Window manager is Openbox, and there is no Desktop environment, but I have installed Lxpanel. All from the Debian mirror. The Openbox menu has grown with Pipe-menus that I have written in Bash. This computer has been running fairly well for almost a year with the only problems being the wireless card drops connections, and my wife uses Adobe flash player, that I update directly from the Adobe website.

Yesterday I formatted the hdd, and reinstalled from a new release of the Netinst iso. I now need to test this install.

I chose to reinstall because I had only one response, and that did not help. Thank you for your reply, I will wait for more responses while I test the new install.
 
Old 11-07-2017, 12:28 PM   #6
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by Duglas View Post
Thank you for your reply, I will wait for more responses while I test the new install.
i would prefer if you tell us if the new install has fixed the problem!
 
Old 11-09-2017, 04:00 PM   #7
Duglas
Member
 
Registered: Mar 2009
Distribution: Debian
Posts: 69

Original Poster
Rep: Reputation: 2
The new Install did not fix the problem, but it did help me find it. My wife prefers the mouse to the touchpad, so I wrote a snippet of code to kill the touchpad if the mouse is present. The problem promptly appeared on the first reboot after I had restored a backup of the ~.xsession file. Xinput provides a variable and an "if statement" is supposed to kill the touchpad, if the mouse is present, instead it killed the keyboard, because "xinput" changed the id of the mouse when it was plugged into a different port. Checking the mouse id and editing the code fixed the problem. This thread is now solved, thank you all.
 
  


Reply



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
XDM on CRUX: nowhere to enter username & password philthomson Linux - Desktop 1 06-29-2014 03:39 PM
keyboard input time is more for typing commands in linux san_77 Linux - Newbie 3 08-15-2010 11:13 PM
i need to create a expect script to input username and password anurupr Linux - Newbie 5 03-22-2010 04:48 AM
Is it possible to log in without typing username & password sean_zhang Linux - Newbie 6 06-24-2008 01:57 AM
ow to create script change a user's password? passwd expects input from keyboard.. Arodef Linux - General 1 03-02-2005 10:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 10:49 AM.

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