Gentoo problem, X is not working

I got Gentoo installed with only a few minor problems, but those are the worse right? :stuck_out_tongue: Anyway, I can boot into a terminal and could could fine into TWM (yuck).

So I emerged XFCE4 by doing this:

use="-gnome -kde" emerge xfce

I then inserted this into ~./xinitrc :

xfce-mcs-manager 
xfwm4 --daemon 
xftaskbar4 & 
xfdesktop & 
xfce4-panel 
exec xfdesktop 

When I boot into Gentoo now and type "startx" the screen shows a cursor then goes back to the terminal with this:

darkstar / # startx 
hostname: Unknown host 
Using authority file /home/edudlive/.Xauthority 
Writing authority file /home/edudlive/.Xauthority 


XFree86 Version 4.3.0 
Release Date: 27 February 2003 
X Protocol Version 11, Revision 0, Release 6.6 
Build Operating System: Linux 2.4.22 i686 [ELF] 
Build Date: 06 January 2004 
        Before reporting problems, check http://www.XFree86.Org/ 
        to make sure that you have the latest version. 
Module Loader present 
Markers: (--) probed, (**) from config file, (==) default setting, 
         (++) from command line, (!!) notice, (II) informational, 
         (WW) warning, (EE) error, (NI) not implemented, (??) unknown. 
(==) Log file: "/var/log/XFree86.0.log", Time: Tue Jan  6 21:18:49 2004 
(==) Using config file: "/etc/X11/XF86Config" 
Using vt 8 
(EE) xf86OpenSerial: Cannot open device /dev/mouse 
        No such file or directory. 
(EE) xf86OpenSerial: Cannot open device /dev/mouse 
        No such file or directory. 
(EE) Mouse1: cannot open input device 
(EE) PreInit failed for input device "Mouse1" 
No core pointer 

Fatal server error: 
failed to initialize core devices 

When reporting a problem related to a server crash, please send 
the full server output, not just the last messages. 
This can be found in the log file "/var/log/XFree86.0.log". 
Please report problems to xfree86@xfree86.org. 

XIO:  fatal IO error 104 (Connection reset by peer) on X server ":0.0" 
      after 0 requests (0 known processed) with 0 events remaining. 

My guess is that it won't load because my mouse won't load. But I copied the XF86Config file from my Slackware installation..so I KNOW that it works.

Anyone have a take on this? I will post any of my config files, just someone help me!

I'm not sure about Gentoo, but are you sure your mouse is still configured as /dev/mouse on your installation? On my system, that is /dev/psaux. It really depends on what mouse type configured in the kernel config. If not you may need to change the device at /etc/X11/XF86Config.

By the way, if you have xf86cfg you can use it to setup your X the easy way.

Hi,

yes you know that your XF86Config is working on slackware but not on gentoo :-). /dev/mouse is usually a link to the real device, you should create it, or change your X config.

regards
malcom

I created it by using this (had the same thought you did):

ln -sf /dev/mouse/psaux /dev/mouse (that might not be the exact command, I'm very tired at th e moment)

then did this to double check that it was there

ln -l /dev/mouse

and it was