Click to See Complete Forum and Search --> : X Crashed after installing Generic Monitor Driver.
Pepse
04-14-2011, 02:20 PM
I am running Kubuntu 10.10 Maverick/Trinity, it has the KDE 3.5.x desktop. Anyway I went to System to add a monitor and being that my NEC LCD monitor isn't listed I installed the generic 1280X1024 driver. I re-booted the computer and it gets to a command line. No errors are given. So, I log in and I still have no errors and it is still in command line waiting? for me to use another command that I have no idea of what it might want. When I had issues (years ago) with Mandriva I was able to type in init 3 and I could work out my bug. I tried that with Buntu and I got bashed, it didn't recognize the command. Other than this the system has been good.
Any ideas?
Pepse.
mrrangerman43
04-15-2011, 06:52 AM
When you get to the command prompt, log in and type "startx" without the quotes, and when/if it fails it should show an error message. Also at boot just as you get to the grub hidden menu, press the Esc key. Then you can boot into recovery mode and I think the buntu's have an option to reset your graphics.
Davno
04-15-2011, 07:14 AM
When you get to the command prompt, log in and type "startx" without the quotes, and when/if it fails it should show an error message. Also at boot just as you get to the grub hidden menu, press the Esc key. Then you can boot into recovery mode and I think the buntu's have an option to reset your graphics.
Also if it does not work just look for your old saved xorg.conf, should be in /etc/X11/ rename it back to xorg.conf. to boot in graphical mode to make the change to your config. To be on the safe side i always keep a copy of it in /home/user/Backup
Pepse
04-15-2011, 01:26 PM
No luck. I'll start with the Recovery Mode area. Had a few choices 1 of which is " Failsafex Run in Failsafe graphic mode. It didn't do anything but bring me back to the Recovery mode page. Tried dpkg Repair broken packages. It took about 15 minutes and nothing new.
Tried /etc/x11/ BASH no such directory.
Tried Startx and here is what I received: Fatal server error: no screens found.
Please consult The X.Org Foundation support at http://wiki.x.org for help.
Please also check the log file at /var/log/Xorg.O.log for additional information.
ddxSigGiveUp: Closing log.
xinit: No such file or directory (errno2) unable to connect to X server.
xinit: No such process (errno3): Server error.
I will try the /var/logXorg.O.log before I leave home shortly. If anything major I will post. Otherwise I will look at my emails tonite.
Pepse.
Pepse
04-15-2011, 01:37 PM
Nope, the command of " /var/log/Xorg.O.log " came back as "No such File or Directory". Tried without the caps, also, Nada.
Pepse.
Davno
04-15-2011, 08:57 PM
Tried /etc/x11/ BASH no such directory.
It's /etc/X11 with a capital X :)
Pepse
04-16-2011, 03:07 AM
Okay, I typed " /etc/X11/ ". And the reply is " -bash: /etc/X11/ is a directory. So, I " cd /etc/X11/ " and I now need to know what command to put there.
Looking at Davno's first post I need the commands for when I get into X.
Pepse.
Davno
04-16-2011, 04:39 AM
Okay, I typed " /etc/X11/ ". And the reply is " -bash: /etc/X11/ is a directory. So, I " cd /etc/X11/ " and I now need to know what command to put there.
Looking at Davno's first post I need the commands for when I get into X.
Pepse.
To play it safe as root:
Create a backup directory:
mkdir /home/YourUsername/backupthen take a look at the content of /etc/X11, you will probably see xorg.conf~ wich is the old saved copy of xorg.conf.
cd /etc/X11
ls -acopy both files to your new backup directory:
cp /etc/X11/xorg.conf~ /home/YourUsername/backup
cp /etc/X11/xorg.conf /home/YourUsername/backupRemoved the corrupted xorg.conf:
rm /etc/X11/xorg.confThen rename your old config:
mv /etc/X11/xorg.conf~ /etc/X11/xorg.confif you "ls -l" in /etc/X11/ you should now see only the rename xorg.conf
then "exit or logout" of root and login as user.
startxHope this works. but there is no warranty. :)
Pepse
04-17-2011, 09:38 PM
That didn't work. I did make the new directory, then I looked at the content of /etc/X11 and it lists "xorg.conf" and "xorg.conf.1" So I put them in the new directory. So, then I attempted to remove the old files and couldn't
because when asked to remove write protected files and I said yes the reply was "Cannot remove /etc/X11/xorg.conf Permission Denied". The same with xorg.conf.1 .
Pepse.
Davno
04-18-2011, 03:52 AM
If you did not see a xorg.conf~, it is probable that the config did not change, i would try to edit it with VI, to change the "monitor section" with the spec of your new monitor (HorizSync, VertRefresh).
Booting a live cd with your new monitor would be the best solution, you could then look at the xorg.conf of the live cd as example of the change you need to make to your old distro's "xorg.conf". And you would be able to edit that config. using a GUI editor like Kwrite. ;)