LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 08-25-2014, 06:17 PM   #1
julianvb
Member
 
Registered: Apr 2009
Posts: 390

Rep: Reputation: 3
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
 
Old 08-25-2014, 07:10 PM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,726

Rep: Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706
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.
 
Old 08-25-2014, 07:14 PM   #3
frankbell
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
Blog Entries: 28

Rep: Reputation: 6300Reputation: 6300Reputation: 6300Reputation: 6300Reputation: 6300Reputation: 6300Reputation: 6300Reputation: 6300Reputation: 6300Reputation: 6300Reputation: 6300
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.)
 
Old 08-25-2014, 07:18 PM   #4
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian sid
Posts: 2,683

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
Content of /var/log/Xorg*.log will help


Probably miss-configured X , or maybe 'bad' gfx drivers
 
Old 08-26-2014, 12:44 AM   #5
julianvb
Member
 
Registered: Apr 2009
Posts: 390

Original Poster
Rep: Reputation: 3
Here's the Xorg.0log file, I managed to obtaion by using the Ubuntu 12.04 Live CD.
Thanks.

julianvb
------------
Attached Files
File Type: log Xorg.0.log (53.7 KB, 16 views)
 
Old 08-26-2014, 11:12 AM   #6
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
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
 
Old 08-26-2014, 11:13 AM   #7
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,726

Rep: Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706
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.
 
Old 08-26-2014, 12:04 PM   #8
eSelix
Senior Member
 
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Arch, Kubuntu
Posts: 1,281

Rep: Reputation: 320Reputation: 320Reputation: 320Reputation: 320
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".
 
Old 08-26-2014, 05:39 PM   #9
julianvb
Member
 
Registered: Apr 2009
Posts: 390

Original Poster
Rep: Reputation: 3
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: How To Fix Broken Packages In Ubuntu Or Debian LXer Syndicated Linux News 0 04-06-2012 05:00 AM
Ubuntu's repositories are broken??? How do I fix them? theif519 Linux - Newbie 5 05-30-2011 03:43 PM
Trying to fix Broken packages -f prickee Debian 12 05-11-2011 07:20 AM
Fix broken packages ervini Linux Mint 1 12-18-2010 07:59 PM
X.ORG Broken... is it possible to fix!? electronique Slackware 19 11-27-2004 06:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration