Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
08-25-2014, 06:17 PM
|
#1
|
Member
Registered: Apr 2009
Posts: 390
Rep:
|
How to fix Broken Ubuntu 12.04 GUI
I've re-installed my Compaq's Ubuntu 12.04 at least three times due to a broken GUI in a couple of years. Is there any thing i can do to prevent GUI from getting bad? My system has a 80GB hard drive and 1.5Gb RAM, a DVD-RW and CD-RW drive.
The only way I can access Ubuntu 12.04m now is via text mode. As soon as I enter the startx command, the system shuts down. The same happens when I type 'sudo /etc/init.d/lightdm start.
I sense that I must have damaged the GUI somehow. Any help will be much appreciated as always.
julianvb
|
|
|
08-25-2014, 07:10 PM
|
#2
|
LQ Guru
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,726
|
Hi,
we need more information to provide help. For example are these "breakages" associated with some specific actions? Eg upgrades or configuration changes? Are there any errors reported? Eg in /var/log/Xorg.0.log or ~/.xsession-errors?
Evo2.
|
|
|
08-25-2014, 07:14 PM
|
#3
|
LQ Guru
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,737
|
Also, what video card and how much video memory?
Which GUI were you using? (I'm guessing Unity, but it's best to know for sure.)
|
|
|
08-25-2014, 07:18 PM
|
#4
|
Senior Member
Registered: Oct 2008
Distribution: Debian sid
Posts: 2,683
|
Content of /var/log/Xorg*.log will help
Probably miss-configured X , or maybe 'bad' gfx drivers
|
|
|
08-26-2014, 12:44 AM
|
#5
|
Member
Registered: Apr 2009
Posts: 390
Original Poster
Rep:
|
Here's the Xorg.0log file, I managed to obtaion by using the Ubuntu 12.04 Live CD.
Thanks.
julianvb
------------
|
|
|
08-26-2014, 11:12 AM
|
#6
|
LQ Guru
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465
Rep:
|
Quote:
94.218] (EE) open /dev/fb0: No such file or directory
|
It looks like you don't have a framebuffer. Perhaps something's wrong with your graphics card???
jdk
|
|
|
08-26-2014, 11:13 AM
|
#7
|
LQ Guru
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,726
|
Hi,
the only error in there is that /dev/fb0 is missing. Can you please answer the other questions? Was there a failed upgrade or something? Is the system up to date?
Evo2.
|
|
|
08-26-2014, 12:04 PM
|
#8
|
Senior Member
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Arch, Kubuntu
Posts: 1,281
|
This Xorg log is from properly running X session, we need log from crashed one, when you did "startx". When you run LiveCD mount your partition with old system for example by: "mount /dev/sda1 /mnt" (or by GUI method if there is one) and copy log from there, for ex. "/mnt/var/log/Xorg.0.log".
|
|
|
08-26-2014, 05:39 PM
|
#9
|
Member
Registered: Apr 2009
Posts: 390
Original Poster
Rep:
|
Hi, Everyone,
Good news. Today I accessed Ubuntu 12.04 again via text mode and executed startx again after learning that the Intel 82845G video card has an 8.0MB memory. After about 20 minutes, luckily this time the system returned the following telling error:
Xauth: error in locking authority file /home/jul/.Xauthority
Ubuntu's GUI came back to life after I removed .Xauthority, and issued the startx command.
It pays to suspect and remove this file whenever a dark-screen GUI problem pops up. . As we know, the file regenerates itself afterwards.
julianvb
Last edited by julianvb; 08-26-2014 at 05:42 PM.
|
|
|
All times are GMT -5. The time now is 11:23 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|