Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
For some reason, I can't get into the GUI now. All it will do is boot into recovery mode and the terminal. I tried every kernel I have installed, and the same thing happens with all of them.
I have no idea what to do. All I was doing was switching the video card driver with a different one, since I suspect I had the wrong one. I didn't stop x.org though, because I couldn't figgure out how, and I did it wothout doing so before. Then it sort of logged me out, and just went to this screen where there was a propmt, but nothing was there, and it wasn't doing anything, so I shut it down by pushing the power button.
It showed the shuting down screen like it usually does when I shut down. When I booted back up, I selected the K7 Kernel like I usually did, but after the normal loading screen, it went into the terminal like it does in recovery mode. So I rebooted, thinking I pressed recovery mode by accident. But I noticed that it used the progress bar durring the loading screen. When I booted back up, I made sure to select the normal kernel, and it did the same thing. I rebooted again, and tried the recovery mode, but that did the same thing, except that it didn't show the progress bar. I tried the 386 kernel, but that did the same thing. I have no idea what to do, so I am asking LQ. Is this a bug in Edgy mabye?
I would really appreciate any help on this. Thanks a lot!
First off, are you getting any errors during boot? Does it tell you specifically why you're being put into recovery mode? Something like "damaged filesystem" or "X is not setup properly"? Try dmesg | more and look for errors.
Second, if it is in fact a video card driver problem, what type of video card do you have? Typically you should be able to nano /etc/X11/xorg.conf and then navigate down to the section for your video card. Change the driver to "vesa". That's sort of a generic driver.
Oh, and you shouldn't ever shutdown by just pushing the power button! You should shutdown with sudo halt or sudo reboot when you're a user or just halt/reboot if you're root.
What do you mean you were switching video card drivers? You were editing /etc/X11/xorg.conf (or the XF86 config file depending on what Ubuntu uses) to use a different driver when you start the X server? What happens when you execute startx from the prompt you boot to? Maybe that will provide an error message or two.
I was switching from a video card driver (XFree86) that was for X.org 7.1 to one that was for X.org 6.9. I was randomly getting logged out while playing a game (specificly Amragetron). I read somewhere that it could have to do with an incorrect video driver. I swtitched to the 7.1 driver when I upgradded to Edgy, but the previous driver worked, so I thught there might be a problem with the new one.
I was using the generic driver, but I installed XFree86 so I could play games and watch DVDs. They have worked fine on that up untill I got the 7.1 version.
I tried
Code:
sudo /etc/init.d/gdm start
But I got command not found. Is this why I couldn't stop X?
Thanks for the tip about shutting down. I was at some white screen, and I could type from the keyboard, but it wasn't the terminal or anything, I couldn't enter commands, just type characters on the screen. The computer wasn't doing anything, so I shut it down.
At the keyboard, you can always type Ctrl+Alt+F1 to get to a terminal window.
I'm not sure I understand what you mean by you installed a driver for Xorg 6.9. So you recompiled the driver? Is it a non-free driver like nVidia? There is no driver "XFree86".
From a command prompt, try doing sudo dpkg-reconfigure xserver-xorg and select the SiS or Vesa driver. This should let you get back into gui mode as those should be the stock xorg SiS driver or generic Vesa driver. From there you can work on getting an updated driver if you're still desperate.
I tried that, and it didn't work, I still get the command prompt. Perhaps if I just delete the driver? I think that is the issue, since it says it can't load any screen mode other than 1024 x 768. To install it, I just copied the file and installed it as
I had the wrong driver, I was using one for xorg 6.9 when I had xorg 7.1. I had the correct driver in an archive, so I unzipped it from the command line and coppied it into the drivers folder.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.