LinuxQuestions.org
Register a domain and help support LQ
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-2006, 06:14 AM   #1
walterbyrd
Member
 
Registered: Apr 2004
Posts: 565

Rep: Reputation: 30
I always have to startx twice for my mouse to work


I am using debian testing, a usb mouse, gnome. I was using xfce4, but was having the same problem. Only with gnome it's worse because gnome takes longer to start, and I have to rm /tmp/.X0-lock.

I boot up, and my mouse pointer is frozen. I ctrl-alt-f1, rm /tmp/.X0-lock, and startx; then my system comes up, and my mouse is fine.
 
Old 11-02-2006, 10:34 AM   #2
PMorph
Member
 
Registered: Sep 2003
Distribution: Debian
Posts: 213

Rep: Reputation: 31
Just guessing, but maybe there is a driver module that doesn't get loaded at the first run?
You could try and find out (lsmod) the mouse related modules that are loaded while it is working, then put those that look promising in /etc/modules (to get them loaded at system startup).
 
Old 11-02-2006, 11:44 AM   #3
walterbyrd
Member
 
Registered: Apr 2004
Posts: 565

Original Poster
Rep: Reputation: 30
Thanks. Should I look for mouse related modules, or USB related modules?
 
Old 11-02-2006, 02:49 PM   #4
PMorph
Member
 
Registered: Sep 2003
Distribution: Debian
Posts: 213

Rep: Reputation: 31
I'd write down all the differences between the lsmod listings prior the first and after the second X start, then restart to console, modprobe all the modules manually, then start X.

If it works right away, ok. Then its just the matter of finding the meaningful module(s) and putting it/them to /etc/modules. If it doesn't work.. well, time to think about something else
 
Old 11-06-2006, 05:37 AM   #5
walterbyrd
Member
 
Registered: Apr 2004
Posts: 565

Original Poster
Rep: Reputation: 30
I found two mounse related modules: psmouse and mousedev. There was already an entry for psmouse in /etc/modules, so I added mousedev, but it didn't make any difference.
 
  


Reply


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
Slackware 10.2 Mouse and startx errors kruptos Linux - Newbie 1 03-04-2006 10:40 PM
Keep having to run startx twice for it to find the mouse Khang Linux - Software 2 10-23-2004 09:19 PM
No keyboard/mouse after startx Scruff Linux - Hardware 1 06-06-2004 09:55 PM
Problems with mouse when using startx diamondstyle Linux - Newbie 5 05-05-2004 07:35 AM
monitor/mouse trouble startx centr0 Slackware - Installation 1 04-16-2004 03:07 PM


All times are GMT -5. The time now is 07:27 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration