Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
KDE "Fatal error" when using startx
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Dejime
n00b
n00b


Joined: 06 Jun 2003
Posts: 62

PostPosted: Fri Jul 02, 2004 2:38 am    Post subject: KDE "Fatal error" when using startx Reply with quote

Well, I just built my box in full, and emerged KDE, etc...I followed the installation instructions pretty much to the letter, but I can't find the config file for KDE, when I try to run startx, it says:

"Fatal server error: no screens found"

A few lines about that...says :

(EE) Unable to locate/open config file
(EE) Error from xf86HandleConfigFile()

If someone could please help me out, I'd appreciate it
Back to top
View user's profile Send private message
Paulten
Apprentice
Apprentice


Joined: 28 Mar 2003
Posts: 257
Location: Sykkylven, Norway

PostPosted: Fri Jul 02, 2004 8:46 am    Post subject: Reply with quote

Nothing to with KDE.
The error says that it can't find your XF86Config file (assuming you are using Xfree).

cd /etc/X11/
ls

There should be a XF86Config.example or something.
This is the file you want to edit :-)

Good luck
_________________
Homepage : http://paul.kde.no Jabber ID : tenfjord@jabber.org
"Dei levde som dyr. Dei verken røykte eller drakk" -Ukjent
Back to top
View user's profile Send private message
blaster999
l33t
l33t


Joined: 09 May 2004
Posts: 902
Location: Between keyboard and chair

PostPosted: Fri Jul 02, 2004 9:31 am    Post subject: Reply with quote

I would recommend using xf86config (or Xorgconfig if you use X.org) - it is easy to use and it produces config file with almost perfect settings (the only thing I did manually was adding Option "ZAxisMapping" "4 5" to the mouse section in order to make wheel working). Just type "xf86config" as root and answer some questions.

EDIT: You also can use "fglrxconfig" if you have an ATI card (Radeon 8500 or higher).
_________________
60s: sex, drugs, rock'n'roll
90s: sux, bugs, drag'n'drop
---
Some multimedia keys refuse to work? See my mini-howto:
https://forums.gentoo.org/viewtopic.php?p=1896734#1896734
Back to top
View user's profile Send private message
Dejime
n00b
n00b


Joined: 06 Jun 2003
Posts: 62

PostPosted: Fri Jul 02, 2004 2:29 pm    Post subject: Reply with quote

Ok, just a few quick things. First of all, that "xf86config" thing didn't work, so I went ahead and edited the XF86Config file (Which wasn't even there, it was under XF86Config.example) and didn't find anything to change. I run startx again, and it clicks out and then back in, saying that it can't detect the device. I'm running an ATI Radeon 9200 I believe...is there someplace I have to put that into in the XF86Config file? I found something on graphics that just says if it's VGA or something else, but I wouldn't know what else is acceptable in there. Thanks so far, appreciate it.
Back to top
View user's profile Send private message
blaster999
l33t
l33t


Joined: 09 May 2004
Posts: 902
Location: Between keyboard and chair

PostPosted: Fri Jul 02, 2004 3:30 pm    Post subject: Reply with quote

You can
Code:
 emerge ati-drivers
(use
Code:
ACCEPT_KEYWORDS=~x86 emerge ati-drivers
if you have 2.6.x kernel) and run fglrxconfig as root. If startx tells you that no device is detected, remove all instances of BusID from the config.
_________________
60s: sex, drugs, rock'n'roll
90s: sux, bugs, drag'n'drop
---
Some multimedia keys refuse to work? See my mini-howto:
https://forums.gentoo.org/viewtopic.php?p=1896734#1896734
Back to top
View user's profile Send private message
Dejime
n00b
n00b


Joined: 06 Jun 2003
Posts: 62

PostPosted: Fri Jul 02, 2004 4:23 pm    Post subject: Reply with quote

Stupid question...where am I putting this "accept_keywords?"
Back to top
View user's profile Send private message
blaster999
l33t
l33t


Joined: 09 May 2004
Posts: 902
Location: Between keyboard and chair

PostPosted: Fri Jul 02, 2004 5:45 pm    Post subject: Reply with quote

Quote:
where am I putting this "accept_keywords?"


Just before the emerge command in the same line. By default, all new portages are masked by "~" keyword (it means that the portage version has not been tested or can cause minor problems in certain circumstances). Emerge does not accept portagres with ~ by default. To make it use the newes version of an ebuild you can write "ACCEPT_KEYWORDS=~arch emerge something", where arch is your architecture (x86, ppc etc).

By the way, you don't need to use ~x86 now because the newest ati drivers 3.9.0-r1 have been unmasked not long ago (just noticed it).
_________________
60s: sex, drugs, rock'n'roll
90s: sux, bugs, drag'n'drop
---
Some multimedia keys refuse to work? See my mini-howto:
https://forums.gentoo.org/viewtopic.php?p=1896734#1896734
Back to top
View user's profile Send private message
Dejime
n00b
n00b


Joined: 06 Jun 2003
Posts: 62

PostPosted: Fri Jul 02, 2004 5:51 pm    Post subject: Reply with quote

So that should fix it afterthat's done? Still not detecting it...
Back to top
View user's profile Send private message
Dejime
n00b
n00b


Joined: 06 Jun 2003
Posts: 62

PostPosted: Sat Jul 03, 2004 2:26 am    Post subject: Reply with quote

Um...a little help please?
Back to top
View user's profile Send private message
kenthepostman
Apprentice
Apprentice


Joined: 02 Jul 2004
Posts: 245
Location: Stanford, CA

PostPosted: Sat Jul 03, 2004 4:44 am    Post subject: Reply with quote

Did you run fglrxconfig?? I belive it is found under /opt/ati/. After you run that you have to make sure the XF86CONFIG file is in /etc/X11/ so that it reads it when you try to start X.
Back to top
View user's profile Send private message
blaster999
l33t
l33t


Joined: 09 May 2004
Posts: 902
Location: Between keyboard and chair

PostPosted: Sat Jul 03, 2004 4:45 am    Post subject: Reply with quote

After emerging ati-drivers, you will have a script for xfree86 configuration for an ati card. This script is called "fglrxconfig" and resides in /opt/ati/bin/. So you have to become root and write
Code:
/opt/ati/bin/fglrxconfig

at the command promt. It will ask you questions about your mouse, keyboard. monitor and so on. After it is done, the script will create the config file /etc/X11/XF86config-4. Try startx. It should work.
_________________
60s: sex, drugs, rock'n'roll
90s: sux, bugs, drag'n'drop
---
Some multimedia keys refuse to work? See my mini-howto:
https://forums.gentoo.org/viewtopic.php?p=1896734#1896734
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum