I need help restoring my /usr/bin X file, and a couple of others.
I was in the process of installing Beryl, and got down to the last part where in the wiki it explained how to get xgl to work. This is what they suggested:
root# rm /usr/bin/X root# ln -s /usr/bin/Xgl /usr/bin/X I did this and then when i booted out, X failed to start. No problem, they said to undo this by: root# rm /usr/bin/X root# ln -s /usr/bin/Xorg /usr/bin/X Which i did. That didnt work. I then tried reistalling xorg, reistalling old xorg.conf file, and doing link . . . the message I get says it cant find ?usr/bin/X11/X which is a different file then the one I messed with. What do i do? |
ls -lad /usr/bin/X11
ls -lad /usr/bin/X11/X Reinstall x11-common should do the trick. If it doesn't, try to get the archive and do it yourself: You download x11-common, either by unpacking this: http://ftp.debian.org/debian/pool/ma...7.1.0-7.tar.gz or by apt-get source x11-common then put back /usr/bin/X and then X11 is a link to . which is cd /usr/bin check that you have X binary: ls -lad X -rwsr-sr-x 1 root root 18416 2006-11-19 01:58 /usr/bin/X and then recreate the link: ln -s X11 . check: ls -lad X11 lrwxrwxrwx 1 root root 1 2006-11-20 17:56 X11 -> . Should do it |
I did what you showed me.
when i rebooted i got: Creating new authority file /root/serverauth.2341 /etc/X11/xinit/xserverrc: line 5 /usr/bin/X11/X is a directory /etc/X11/xinit/xserverrc: exec: /usr/bin/X11/X:cannot execute;success giving up xinit: connection refused (errno111) unable to connect to xserver xinit: no such process(errno3) server error. Anyway, I can follow directions, but I am past my knowledge base (although I am learning rapidly) I'm hoping you can help me with this. I don't mind doing whatever is necessary, but I definitely need help. |
Well, it tells you the problem: X is a directory?!!
Have a look at these commands and post the results Code:
ls -lad /usr/bin/X |
ok what I got for these is:
drwxr-xrxx 2 root root 4096 2006-12-06 00:33 /usr/bin/X lrwxrwxrwx 1 root root 1 2006-11-30 07:23 /usr/bin/X11 -> drwxr-xr-x 2 root root 4096 2006-12-06 00:33 /usr/bin/X11/X I'm really hoping your going to tell me its fixable :) er . . . whatever the problem is. . . . |
Problem Solved!! And I am very proud of myself. I've learned a bunch by studying xorg the last couple of hours, and basically rebuilt xorg and the links from the ground up. These problems always seem to arise right when i am ready for them. I could not have done it without you nx5000. I had no clue that X wasnt supposed to be a directory. that was my starting point. Thanks for taking the time out for me. I still dont know how to get xgl enabled on my system . . . any clue?
|
Quote:
As a general rule, read carefully the error messages first. Quote:
You should include the model of your graphics card. As you seem to be interested to know about xorg, have a look here: http://principe.homelinux.net/ It's complex but.. its how it works. |
Thanks for the site;)
|
All times are GMT -5. The time now is 04:44 PM. |