LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   WHY should I type startx twice to startx? (https://www.linuxquestions.org/questions/debian-26/why-should-i-type-startx-twice-to-startx-361658/)

hiux 09-09-2005 01:49 AM

WHY should I type startx twice to startx?
 
It's really a bad thing
Every time I reboot and login again, I type startx, but it can't start and come's with some error
but i type startx again, It come to work nice!
and it don't work after a reboot again!
i use xorg fvwm debian

forgive my poor English

darkleaf 09-09-2005 02:19 AM

What's the error you get?

hiux 09-09-2005 02:20 AM

here is the error message after i reboot and startx

Script started on Fri Sep 9 15:19:54 2005
hiux:~# startx



X: warning; process set to priority -1 instead of requested priority 0



X Window System Version 6.8.2 (Debian 6.8.2.dfsg.1-6 20050831134411 @squee)

Release Date: 9 February 2005

X Protocol Version 11, Revision 0, Release 6.8.2

Build Operating System: Linux 2.6.12-1-686 i686 [ELF]

Current Operating System: Linux hiux 2.6.8-1-386 #1 Thu Nov 25 04:24:08 UTC 2004 i686

Build Date: 31 August 2005

Before reporting problems, check http://wiki.X.Org

to make sure that you have the latest version.

Module Loader present

OS Kernel: Linux version 2.6.8-1-386 (joshk@trollwife) (gcc version 3.3.5 (Debian 1:3.3.5-2)) #1 Thu Nov 25 04:24:08 UTC 2004

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/Xorg.0.log", Time: Fri Sep 9 15:19:58 2005

(==) Using config file: "/etc/X11/xorg.conf"

Skipping "/usr/X11R6/lib/modules/extensions/libGLcore.a:m_debug_clip.o": No symbols found

Skipping "/usr/X11R6/lib/modules/extensions/libGLcore.a:m_debug_norm.o": No symbols found

Skipping "/usr/X11R6/lib/modules/extensions/libGLcore.a:m_debug_xform.o": No symbols found

(WW) RADEON: No matching Device section for instance (BusID PCI:1:0:1) found

Skipping "/usr/X11R6/lib/modules/libfb.a:fbmmx.o": No symbols found

(EE) xf86OpenSerial: Cannot open device /dev/psaux

No such device.

(EE) Configured Mouse: cannot open input device

(EE) PreInit failed for input device "Configured Mouse"

No core pointer



Fatal server error:

failed to initialize core devices



Please consult the The X.Org Foundation support

at http://wiki.X.Org

for help.

Please also check the log file at "/var/log/Xorg.0.log" for additional information.



XIO: fatal IO error 104 (Connection reset by peer) on X server ":0.0"


after 0 requests (0 known processed) with 0 events remaining.


hiux:~# exit


Script done on Fri Sep 9 15:20:08 2005

hiux 09-09-2005 02:23 AM

should i change my mouse setting?
but if it's wrong ,why can i startx after i type startx again?

darkleaf 09-09-2005 04:52 AM

You don't have your mouse device loaded or so. I'm not completely sure on how to fix it. Looks like you have to reconfigure your xserver with "dpkg-reconfigure xserver-xorg and pick the right mouse.

Also look here:
http://wiki.x.org/wiki/FAQErrorMessa...f593ac99d7ab5a

Dead Parrot 09-09-2005 06:15 AM

Try adding a new line that says "psmouse" to the end of /etc/modules, like this:

psmouse

The /etc/modules file is used for loading kernel modules/drivers during boot time and adding "psmouse" there will load the psmouse module so that it's ready when you type "startx" to start X session.

hiux 09-09-2005 09:12 AM

this really work below
"Please note: Usually the server refuses to start if there is no core pointer device. You can change this by adding the line:
Option "AllowMouseOpenFail" "1"
to the ServerFlags section of your xorg.conf. "

nice .!!!
thank you darkleaf


All times are GMT -5. The time now is 02:30 PM.