LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 10-03-2004, 06:53 PM   #1
sether
Member
 
Registered: Aug 2004
Posts: 695

Rep: Reputation: 31
"startx" crashes entire system after xorgconfig is run


i recently decided to try out arch linux 0.6. so far, i'm very impressed. however, i'm experiencing some problems and i am unable to find the solution in the forums.

after getting the system up, i installed fluxbox with "pacman -S fluxbox". it downloaded and installed fluxbox along with xorg and other dependencies with no problem. i edited .xinitrc to read "exec fluxbox".

here's where the problem is: if i don't create an xorg.conf file with "xorgconfig", i can get "startx" to start up fluxbox fine (except the resolution and everything is messed up, of course). if i run "xorgconfig" as root, then try "startx", i just get a blank screen, and nothing works (i can't ctrl+alt+backspace, ctrl+alt+F1, or even ctrl+alt+del).

i know i've setup xorg.conf correctly because i've done "xorgconfig" on other distros before and it's worked just fine. i see xorg.conf in /etc/X11/ as well. so now what?

edit: here are some similar threads in the arch forums. they're unresolved so it's really no help. but these people are having the same problem:
http://bbs.archlinux.org/viewtopic.php?t=6994
http://bbs.archlinux.org/viewtopic.php?t=7198

it is most likely a driver problem. when i choose not to look at the card database in xorgconfig i at least get a "failed to initialize core devices" instead of a complete system crash.

bear with me, as this is the first time i've had to setup x from scratch on a linux system...

Last edited by sether; 10-03-2004 at 08:23 PM.
 
Old 10-03-2004, 08:39 PM   #2
MACSRULE
Member
 
Registered: Apr 2004
Distribution: Gentoo 2004.1
Posts: 56

Rep: Reputation: 15
try "echo fluxbox > .xinitrc" i dont think you need the exec command there. i don't know how the freebsd version of Xorg is different from the Gentoo version, if at all, so that may be something to try
 
Old 10-03-2004, 08:48 PM   #3
exodist
Senior Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: Arch
Posts: 1,374

Rep: Reputation: 47
did you actually use a text editor or `less` to view the contents of Xorg.conf? if not do so, cause if it is full of garbage we have an obvious problem :-D

also try other X configuration utils or even manually configuring the file.

one I used a long time ago (5 years?) was xf86config it prompted you for data and generated the file, since that day I have simply modified the same file as needed and it has worked great through several vid card/driver changes and even complete hardware changes, though I have needed to adjust it accordingly.. I never trusted the GUI utils....
 
Old 10-03-2004, 08:52 PM   #4
sether
Member
 
Registered: Aug 2004
Posts: 695

Original Poster
Rep: Reputation: 31
Quote:
Originally posted by MACSRULE
try "echo fluxbox > .xinitrc" i dont think you need the exec command there. i don't know how the freebsd version of Xorg is different from the Gentoo version, if at all, so that may be something to try
"exec fluxbox" is no different than "fluxbox"

i'm using arch, not freebsd, like i said above. and you're right, Xorg shouldn't differ between OSes, except by version number perhaps.

anyways, i got a different result using "xorgcfg -textmode" - now i get "No core pointer." seems there's no /dev/mouse, and the xorg.conf tries to point to a /dev/mouse. so maybe it's not a video card problem after all, since i'm pretty sure i'm using the right video driver. i have an nvidia geforce fx 5200 and i've tried "vesa" and "nv" for drivers, and i've also selected "nvidia geforce fx 5200" in the card database.

anyways, if it's not the video card, i can't figure out the mouse. i'm using a regular 5 button ps/2 optical, and i've tried "auto", "ps/2", "imps/2", and "explorerps/2" with still no luck. do i somehow have to make a /dev/mouse or something?
 
Old 10-03-2004, 08:55 PM   #5
sether
Member
 
Registered: Aug 2004
Posts: 695

Original Poster
Rep: Reputation: 31
Quote:
Originally posted by exodist
did you actually use a text editor or `less` to view the contents of Xorg.conf? if not do so, cause if it is full of garbage we have an obvious problem :-D

also try other X configuration utils or even manually configuring the file.
i have tried "xorgconfig", "xorgcfg -textmode", and manually editing parts of the xorg.conf file that both of those programs generate.
 
Old 10-03-2004, 09:29 PM   #6
sether
Member
 
Registered: Aug 2004
Posts: 695

Original Poster
Rep: Reputation: 31
nm, problem solved...

all i had to do was tell xorg the mouse is located at /dev/input/mice, not /dev/mouse

wow, that was easy. thanks for the help anyways.
 
Old 11-16-2004, 02:09 PM   #7
vortechs
LQ Newbie
 
Registered: Nov 2004
Location: Dark side of the moon
Distribution: RHEL/FreeBSD
Posts: 6

Rep: Reputation: 0
Did you try running 'Xorg -config' (I think that was the switch you wanted ..might be -configure). It (from what I read) attempts an autoconfigure for Xorg....after running it there's output onscreen which lists an xterm command allowing you to test the new .conf
 
Old 11-16-2004, 02:11 PM   #8
vortechs
LQ Newbie
 
Registered: Nov 2004
Location: Dark side of the moon
Distribution: RHEL/FreeBSD
Posts: 6

Rep: Reputation: 0
-
 
  


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
How do I put my entire system into "root", not just the konsole? GameGuru Linux - Newbie 11 07-04-2005 01:21 PM
How to start KDE automaticlly without typing "startx" then "startkde" Jonescity Slackware 8 10-29-2004 09:32 PM
system("top") in a C program giving problems when the C prg is run by cron rags2k Programming 1 09-02-2004 03:25 PM
"X-MS" cant open because "x-Multimedia System" cant access files at "smb&qu ponchy5 Linux - Networking 0 03-29-2004 11:18 PM
cannot run "startx" Mekaziah Linux - General 5 11-13-2002 10:28 PM

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

All times are GMT -5. The time now is 01:03 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