You are not logged in.

#1 2010-09-21 11:20:43

badt18
Member
Registered: 2010-09-21
Posts: 22

Startx No Keyboard or Mouse HELP!

i just install my first arch linux install 2day and all was so well until i tired stalling startx


the audio drivers and videos driver all work fine but when i startx i cant use my keyboard or mouse (and no X)


i have installed hal and thats running also xf86-input-evdev installed

i tried google and it says to edit the /etc/X11/xorg.conf file but there isnt 1 there insted there is xorg.conf.d folder with some 10-name.conf


any help will be great thanx

Offline

#2 2010-09-21 11:28:57

Fruity
Member
Registered: 2009-12-16
Posts: 198

Re: Startx No Keyboard or Mouse HELP!

pacman -S xf86-input-mouse xf86-input-keyboard

evdev package is for device hotplugging

Offline

#3 2010-09-21 12:10:07

badt18
Member
Registered: 2010-09-21
Posts: 22

Re: Startx No Keyboard or Mouse HELP!

Yeah already done that still nothing.


Wouldn't be cause its 64x bit

Last edited by badt18 (2010-09-21 12:10:37)

Offline

#4 2010-09-21 12:15:42

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Startx No Keyboard or Mouse HELP!

Add

Section "ServerFlags"
     Option "AllowEmptyInput" "no"
EndSection

to your xorg.conf (you can create one yourself or e.g. use 'nvidia-xconfig' if your run an nvidia card).

If that doesn't work. post some logs.

Last edited by karol (2010-09-21 12:27:16)

Offline

#5 2010-09-21 12:57:07

badt18
Member
Registered: 2010-09-21
Posts: 22

Re: Startx No Keyboard or Mouse HELP!

i made the file xorg.conf and added

Section "ServerFlags"
     Option "AllowEmptyInput" "false"
EndSection

and still nothing what logs do i add eg where r they

Offline

#6 2010-09-21 12:59:57

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Startx No Keyboard or Mouse HELP!

The logs are in /var/log - post /var/log/Xorg.0.log and use [code ] tags https://bbs.archlinux.org/help.php#bbcode or use http://pastebin.com/

Offline

#7 2010-09-23 14:13:55

badt18
Member
Registered: 2010-09-21
Posts: 22

Re: Startx No Keyboard or Mouse HELP!

Both logs are empty

Xorg.0 and Xorg.0.old


i have made sure that xf86-input-mouse and keyboard are installed hal and dbus is installed hal is starting on boot in rc.conf file

im have no idea why x isnt working

i thought arch was the anwser to all my problems but im thinking windows migth have  place in the world sad

thanks guys

Offline

#8 2010-09-23 14:24:39

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Startx No Keyboard or Mouse HELP!

Do you have an up-to-date system?
Is X starting but you can't use your mouse and kbd or it's not starting at all?
You say your video drivers work - which ones have you installed?
Do you have xorg.conf? If so, post it. If not, post the 10-blah.conf files you have in xorg.conf.d/ - like 10-monitor.conf etc.

Offline

#9 2010-09-23 21:02:45

shak
Member
Registered: 2009-03-16
Posts: 405

Re: Startx No Keyboard or Mouse HELP!

This is how i do it . I run Xorg -configure and then copy /root/xorg.conf.new to /etc/X11/xorg.conf and then edit your xorg.conf to your preferences .

Offline

#10 2010-09-23 21:12:40

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: Startx No Keyboard or Mouse HELP!

There's not a lot of information here to help you.

You are using the Beginner's Guide, right? At which step did you get stuck?

Are you using a laptop? What is the brand and model of it? If you are using a desktop, what video card are you using?

badt18 wrote:

the audio drivers and videos driver all work fine but when i startx i cant use my keyboard or mouse (and no X)

What do you mean the "videos driver all work fine"? What do you mean you can't use your keyboard or mouse? What program are you trying to use? What do you mean there is "no X"? What window manager did you install and put in your ".xinitrc" file?

As for an "xorg.conf" file, my guess is that you don't need one at all.

Also, to better know how to respond, how much experience do you have with Linux?

Offline

#11 2010-09-24 01:25:41

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: Startx No Keyboard or Mouse HELP!

Fruity wrote:

pacman -S xf86-input-mouse xf86-input-keyboard

evdev package is for device hotplugging

Educate yourself: evdev is an event based device driver that handles a variety of devices, including mice and keyboards. Input hotplugging is a separate concept and is reliant on udev. Modern hardware should use evdev, not xf86-input-{mouse,keyboard}.

Offline

#12 2010-09-24 02:04:25

badt18
Member
Registered: 2010-09-21
Posts: 22

Re: Startx No Keyboard or Mouse HELP!

I have ATI HD 3870 Video Card, and when i type startx it will load up with a white box with termail there is no X for the mouse curser and i cant type anything its like my system is frozen (cause there is no mouse and keyboard cant do anything) i have to manual restart

i have created my own /etc/X11/Xorg.conf file as there wasnt one there and i added the fellowing lines to it

Section "ServerFlags"
     Option "AllowEmptyInput" "no" **And also tried false** 
EndSection

i have installed the open source ati drivers

Last edited by badt18 (2010-09-24 02:06:08)

Offline

#13 2010-09-24 02:17:53

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Startx No Keyboard or Mouse HELP!

Do you have an up-to-date system?

Last edited by karol (2010-09-24 02:18:05)

Offline

#14 2010-09-24 10:12:50

badt18
Member
Registered: 2010-09-21
Posts: 22

Re: Startx No Keyboard or Mouse HELP!

Yeah its fairly upto date

AMD3 DDR3 so yeah

Offline

#15 2010-09-24 10:18:43

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Startx No Keyboard or Mouse HELP!

badt18 wrote:

Yeah its fairly upto date

AMD3 DDR3 so yeah

Ummm, I was asking if you run 'pacman -Syu' and updated the system.

Offline

#16 2010-09-24 11:06:31

badt18
Member
Registered: 2010-09-21
Posts: 22

Re: Startx No Keyboard or Mouse HELP!

LOL ohh sorry

Yes i have run that

Offline

#17 2010-09-24 11:09:21

badt18
Member
Registered: 2010-09-21
Posts: 22

Re: Startx No Keyboard or Mouse HELP!

wait sorry no i havnt done that. doing it now Thanks

Offline

#18 2010-09-24 11:14:01

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Startx No Keyboard or Mouse HELP!

badt18 wrote:

wait sorry no i havnt done that. doing it now Thanks

Whenever you're ready ...
Update, take care of any .pacnew / .pacsave files, reboot and try running X again. If it fails, check for any errors / warnings in the Xorg.0.log.

BTW, when you say the log is empty, do you mean there's nothing interesting or is the file literally empty?

Last edited by karol (2010-09-24 11:15:04)

Offline

#19 2010-09-24 11:41:21

badt18
Member
Registered: 2010-09-21
Posts: 22

Re: Startx No Keyboard or Mouse HELP!

ok i done

pacman -Syu

it updated about 100mb

restarted did startx still same thing then restarted cause had to and then did

 cat /var/log/Xorg.1.log and cat /var/log/Xorg.1.log.old

both had nothing at all in there sad

i have no idea whats going on

Offline

#20 2010-09-24 11:44:50

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Startx No Keyboard or Mouse HELP!

Do you have syslog-ng in your DAEMONS array in /etc/rc.conf?

DAEMONS=(syslog-ng ...)

(that's 'syslog-ng', not '!syslog-ng'.)
I think this is how the logs get populated.
Debugging with a log is usually easier than with a crystal ball.

Last edited by karol (2010-09-24 11:45:26)

Offline

#21 2010-09-24 15:49:49

badt18
Member
Registered: 2010-09-21
Posts: 22

Re: Startx No Keyboard or Mouse HELP!

my rc.conf has

syslog-ng hal network netfs crond alsa

should i take out the syslog-ng ????


Thanks
Tony

Offline

#22 2010-09-24 18:28:20

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Startx No Keyboard or Mouse HELP!

Keep syslog-ng and all the rest, they're fine.
What about Xorg.0.log? Is it empty too?

Is your mouse / keyboard PS/2 or USB?
Are you running startx as a user or as root?

Offline

#23 2010-09-24 19:11:57

olvar
Member
Registered: 2009-11-13
Posts: 97

Re: Startx No Keyboard or Mouse HELP!

when in X can you switch to other virtual consoles (e.g. ctrl+alt+F2)??
what's in your .xinitrc ?

Offline

#24 2010-09-25 03:45:56

badt18
Member
Registered: 2010-09-21
Posts: 22

Re: Startx No Keyboard or Mouse HELP!

karol wrote:

Keep syslog-ng and all the rest, they're fine.
What about Xorg.0.log? Is it empty too?

Yep both are empty

karol wrote:

Is your mouse / keyboard PS/2 or USB?

they both are USB

karol wrote:

Are you running startx as a user or as root?

i have tried as normal user and as sudo user.


olvar wrote:

when in X can you switch to other virtual consoles (e.g. ctrl+alt+F2)??

Nope as the keyboard doesnt work cant do anything ect press the restart button

olvar wrote:

what's in your .xinitrc ?

not sure where abouts that is???? sad

Last edited by badt18 (2010-09-25 03:48:08)

Offline

#25 2010-09-25 04:11:10

badt18
Member
Registered: 2010-09-21
Posts: 22

Re: Startx No Keyboard or Mouse HELP!

ok i just logged in as root user

and did startx and i got 3 terminal screens (before i had only 1)
and the keyboard works but there is still no X for the mouse curser but i can click the mouse and it works but i cant move the mouse around.


i guess its better than before but still not 100%

is there away i can get it on the user aswel

thanks guys

Offline

Board footer

Powered by FluxBB