LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch
User Name
Password
Arch This Forum is for the discussion of Arch Linux.

Notices


Reply
  Search this Thread
Old 12-06-2003, 07:38 AM   #1
frontier1
Member
 
Registered: Feb 2003
Location: Culpeper,Va
Distribution: Mandrake 9.2 Knoppix 3.3 SuSe 9.0
Posts: 140

Rep: Reputation: 15
I'm stuck on getting X to start


It keeps giving me an error saying it can't open /dev/psaux. It says no such file, I've tried the suggestion in the docs but it doesn't help, I can't even find the file either. I'm using xf86configure to create the /etc/X11?XF86Config file is this correct, why won't it recognize the core pointer of the PS/2 mouse? X won't start because of this. Any ideas would be appreciated.
 
Old 12-06-2003, 03:15 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
"I can't even find the file either. "

Log in as root and create /dev/psaux using the mknod command. It should be a character device, with a major number of 10 and a minor number of 1. Set permissions to 600. See:
man mknod


___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
Old 12-06-2003, 05:01 PM   #3
frontier1
Member
 
Registered: Feb 2003
Location: Culpeper,Va
Distribution: Mandrake 9.2 Knoppix 3.3 SuSe 9.0
Posts: 140

Original Poster
Rep: Reputation: 15
I'm afraid I don't have the skills to do that yet, I did successfully install Gentoo once, I had no problems getting X to work. Why is it different with Arch? I would think it would be the same, is it because Arch uses devfs?
 
Old 12-06-2003, 05:02 PM   #4
Dic
LQ Newbie
 
Registered: Sep 2001
Location: us
Distribution: Arch Linux
Posts: 5

Rep: Reputation: 0
devfs should create /dev/psaux for you if you are using a ps2 mouse
if your using a usb mouse it should be like /dev/input/mice

give us ome more info and someone should be able to help you
 
Old 12-06-2003, 07:25 PM   #5
frontier1
Member
 
Registered: Feb 2003
Location: Culpeper,Va
Distribution: Mandrake 9.2 Knoppix 3.3 SuSe 9.0
Posts: 140

Original Poster
Rep: Reputation: 15
I have a PS/2 mouse. I have followed the docs from Arch about installing from a CD. I used my existing linux swap for the swap partition and used an existing linux partition for the root partition, the CD did not ask to create a boot partition. I then installed the base system. Then I installed the kernel, I did not do anything to the config files section. (Maybe thats the problem) I am afraid at this point to install a bootloader from the CD because I'm afraid I will lose my existing Fedora install. Then I just rebooted and typed the command to boot into the kernel from the cd. Arch Linux loads and then I logged in as root and tried to configure X. Somehow I have a problem with /dev/psaux, X won't start. There is no /dev/psaux file, Maybe I have to do a compete install, instead of booting from the cd, Thanks for the encouragement.
 
Old 12-06-2003, 07:44 PM   #6
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
"Maybe I have to do a compete install, instead of booting from the cd,"

Before you do a reinstall try logging in as root and type in these commands:
mknod /dev/psaux c 10 1
chmod 600 /dev/psaux

Then try to configure your mouse and see what happens.

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
Old 12-06-2003, 07:57 PM   #7
xio
LQ Newbie
 
Registered: Dec 2003
Distribution: Arch Linux
Posts: 12

Rep: Reputation: 0
Hi frontier1, What I do with devfs is follow the links. Do a:
cd /dev
and have a look in there for /dev/psaux and when you find it, it should have a link to the way devfs labels its device's.
the link should be something like /dev/psaux -> /misc/psaux
then cd to /misc/psaux and you have your device which you can then add to /etc/X11/XF86Config by opening the file up with an editor (I use vim you can give that a try if you want).

This is my XF86Config mouse details:
#Core pointers input device section

Section "Input Device"

#Identifier and Driver

Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "PS/2"
Option "Device" "/dev/misc/psaux

This should work for any type of mouse just have a look around in /dev. Im only relatively new to linux so I hope this helps.
 
Old 12-08-2003, 02:38 AM   #8
famavolat
LQ Newbie
 
Registered: Aug 2003
Location: Louisville, KY
Distribution: Arch Linux
Posts: 6

Rep: Reputation: 0
If none of the above work:

Edit your "/etc/devfsd.conf" file, put this at the bottom:

Code:
#PS/2 Mouse
REGISTER       ^misc/psaux$   CFUNCTION GLOBAL symlink misc/psaux mouse
UNREGISTER     ^misc/psaux$   CFUNCTION GLOBAL unlink mouse
After you do that, as root type "killall -HUP devfsd".
Then try starting x again.
Also make sure you edit your ".xinitrc" file in your home dir for what window manager you want to use. example:

Code:
#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)
#
exec startkde
 
Old 01-03-2004, 07:47 AM   #9
ckamheng
Member
 
Registered: Apr 2003
Location: Malaysia
Distribution: Slackware 10.2
Posts: 75

Rep: Reputation: 15
where to find .xinitrc??

Hi i am new to Arch linux. i just installed Arch Linux 0.5.
I couldn't start X using startx.
Where can i find .xinitrc to start the Gnome as my default windows manager?
what file should i edit in order to start the Gnome?

Thanks.
 
Old 01-03-2004, 03:43 PM   #10
famavolat
LQ Newbie
 
Registered: Aug 2003
Location: Louisville, KY
Distribution: Arch Linux
Posts: 6

Rep: Reputation: 0
.xinitrc

.xinitrc can be found in your home dir. (aka /home/username/.xinitrc)

As for getting gnome to start.. just add this line:

Code:
exec gnome-session
Make sure everything else is commented out. (#exec startkde)

I hope this helps!
 
  


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
KDE won't start, gets stuck at Starting Services cellist Linux - Software 2 12-21-2007 02:16 PM
Need help. Got virus and now stuck at start up. Tiyogi Linux - General 13 11-06-2007 08:11 PM
synaptic upgrade-now start up is stuck-root@tty1[~]# whoszed Linux - Newbie 2 11-27-2005 05:09 PM
I'm stuck on getting X to start in Arch frontier1 Linux - Software 3 12-15-2003 08:55 AM
stuck in start up RDW Linux - Software 1 03-27-2002 07:09 PM

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

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

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