View previous topic :: View next topic |
Author |
Message |
scott8711 Tux's lil' helper
Joined: 25 Oct 2002 Posts: 145
|
Posted: Tue Oct 29, 2002 2:08 pm Post subject: xinit |
|
|
I accidentally deleted /usr/X11R6/bin/xinit. AHHH. Now I can't start X.
when I enter "startx" I get an error saying cannnot execute binary file
I did an emerge sync, emerge gnome annd redid xf86config annd none of it worked. xf86config won't even save the file
How do I fix it?
Scott |
|
Back to top |
|
|
theneopro Tux's lil' helper
Joined: 08 Aug 2002 Posts: 90
|
Posted: Tue Oct 29, 2002 2:27 pm Post subject: Humm |
|
|
did you try exec gnome-session. Tho that sounds like it wont work.
you might need to unmerge XF86 first
then merge say 4.2.1 .... _________________ ___________________________________
- The Rain Forest,
That sounds wet!!!! |
|
Back to top |
|
|
jondkent Apprentice
Joined: 26 Jul 2002 Posts: 289 Location: London
|
Posted: Tue Oct 29, 2002 3:14 pm Post subject: |
|
|
Looks like you'll have to re-install XFree86
Whoops
Jon |
|
Back to top |
|
|
scott8711 Tux's lil' helper
Joined: 25 Oct 2002 Posts: 145
|
Posted: Tue Oct 29, 2002 3:25 pm Post subject: Xfre86 |
|
|
I have entered "emege XFree86" I now have the xinit file bback, thanks. However when I enter "startx" I get a no screens found error. Is there someting elese I have to do first. I have already run xf86congif since the emerge xfree86 |
|
Back to top |
|
|
_SkeLeToN_ Guru
Joined: 12 Sep 2002 Posts: 506 Location: Montreal,Canada
|
Posted: Tue Oct 29, 2002 4:17 pm Post subject: |
|
|
I always found the command XFree -configure better than xf86config.
XFree -configure will try to autodetect your hardware and create a XF86Config in your /root dir. Then after just edit to add you resolution screen. Sometimes you need to specify the Hsync and Vsync but becareful with this use your monitor specification for that.
When you think your config file is good to go try the following
XFree -xf86config /root/XF86Config.new to see if you can see any error while loading X. If its ok just copy the file to /etc/X11/XF86Config and startx.
Good luck |
|
Back to top |
|
|
scott8711 Tux's lil' helper
Joined: 25 Oct 2002 Posts: 145
|
Posted: Tue Oct 29, 2002 7:59 pm Post subject: XFree |
|
|
I tried the XFree -configure but all I get is a "no such file or diretory" error
How can I completely dump every thing from the documentation guide (i.e. gnome, KDE, Xfree86) so I can reinstall all of it. The must be some other file that is killing the whole process becaue before i screwed up the xinit file X worked fine
Scott |
|
Back to top |
|
|
_SkeLeToN_ Guru
Joined: 12 Sep 2002 Posts: 506 Location: Montreal,Canada
|
Posted: Tue Oct 29, 2002 8:32 pm Post subject: |
|
|
My mistake its XFree86 -configure
and XFree86 -xf86config /root/XF86Config.new |
|
Back to top |
|
|
|