View previous topic :: View next topic |
Author |
Message |
Dejime n00b
Joined: 06 Jun 2003 Posts: 62
|
Posted: Fri Jul 02, 2004 2:38 am Post subject: KDE "Fatal error" when using startx |
|
|
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 |
|
|
Paulten Apprentice
Joined: 28 Mar 2003 Posts: 257 Location: Sykkylven, Norway
|
Posted: Fri Jul 02, 2004 8:46 am Post subject: |
|
|
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 |
|
|
blaster999 l33t
Joined: 09 May 2004 Posts: 902 Location: Between keyboard and chair
|
Posted: Fri Jul 02, 2004 9:31 am Post subject: |
|
|
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 |
|
|
Dejime n00b
Joined: 06 Jun 2003 Posts: 62
|
Posted: Fri Jul 02, 2004 2:29 pm Post subject: |
|
|
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 |
|
|
blaster999 l33t
Joined: 09 May 2004 Posts: 902 Location: Between keyboard and chair
|
Posted: Fri Jul 02, 2004 3:30 pm Post subject: |
|
|
You can (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 |
|
|
Dejime n00b
Joined: 06 Jun 2003 Posts: 62
|
Posted: Fri Jul 02, 2004 4:23 pm Post subject: |
|
|
Stupid question...where am I putting this "accept_keywords?" |
|
Back to top |
|
|
blaster999 l33t
Joined: 09 May 2004 Posts: 902 Location: Between keyboard and chair
|
Posted: Fri Jul 02, 2004 5:45 pm Post subject: |
|
|
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 |
|
|
Dejime n00b
Joined: 06 Jun 2003 Posts: 62
|
Posted: Fri Jul 02, 2004 5:51 pm Post subject: |
|
|
So that should fix it afterthat's done? Still not detecting it... |
|
Back to top |
|
|
Dejime n00b
Joined: 06 Jun 2003 Posts: 62
|
Posted: Sat Jul 03, 2004 2:26 am Post subject: |
|
|
Um...a little help please? |
|
Back to top |
|
|
kenthepostman Apprentice
Joined: 02 Jul 2004 Posts: 245 Location: Stanford, CA
|
Posted: Sat Jul 03, 2004 4:44 am Post subject: |
|
|
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 |
|
|
blaster999 l33t
Joined: 09 May 2004 Posts: 902 Location: Between keyboard and chair
|
Posted: Sat Jul 03, 2004 4:45 am Post subject: |
|
|
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 |
|
|
|