Solved

Ubuntu 14.04.3 Cannot login via GUI, returns to GUI login prompt

Posted on 2016-10-27
26
99 Views
Last Modified: 2016-10-31
This is the version of Linux Ubuntu 14.04.03

Linux version 4.4.0-38-generic (buildd@lgw01-22) (gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04.3) ) #57~14.04.1-Ubuntu SMP Tue Sep 6 17:20:43 UTC 2016

The issue, after trying to login via the Default Ubuntu GUI, it loops back to the GUI again. (originally you could not type anything via the keyboard, this has been resolved).

Login via SSH and Console prompt are working fine.
0
Comment
  • 13
  • 7
  • 6
26 Comments
 
LVL 88

Expert Comment

by:rindi
ID: 41862087
I've sometimes had problems with the GUI if there wasn't enough free disk space available. Check if there is enough space (about 1GB should at least be free).
0
 
LVL 118
ID: 41862245
Thanks for prompt response.

There is plenty free, over 400GB.

1% in use on A 500GB SSD.
0
 
LVL 88

Expert Comment

by:rindi
ID: 41862275
Is all that free space on the same partition, or did you use different partitions?
0
 
LVL 118
ID: 41862308
all on same partitions /dev/sda1 and /dev/sda5
0
 
LVL 88

Expert Comment

by:rindi
ID: 41862321
Then make sure you have the correct video driver loaded. There should also be a log for xorg in /var/logs which may give an idea about what the problem is.
0
 
LVL 118
ID: 41862636
Correct video driver is loaded, this was working fine, and then just stopped the next day.

I will be back on-site tomorrow morning, so will check /var/logs

I do wonder if the Video Card has failed....as a bizarre fault...
0
 
LVL 61

Expert Comment

by:gheist
ID: 41862872
Common failed session logs:
/var/log/lightdm/*
/var/log/gdm/*
~/.xseession*

Sometimes it helps to press extra ok in tasksel.
If you use proprietary driver for graphic you need to reinstall it after each X11-related update
0
 
LVL 118
ID: 41862885
Thanks I'll check tomorrow.

No proprietary driver used, only that included with Ubuntu.
0
 
LVL 61

Expert Comment

by:gheist
ID: 41862909
Might be missing keyboard layouts, a font, or some very basic library....
0
 
LVL 118
ID: 41863860
Further digging, after spending a few hours installing nVidia drivers, and purging nVidia drivers, because there were messages about failed initialization.

All seems okay in Xorg, but I did notice...

[+30.59s] WARNING: drawing failure for widget `GtkBox': invalid matrix (not invertible)
[+30.59s] WARNING: drawing failure for widget `Background': invalid matrix (not invertible)
[+30.59s] WARNING: drawing failure for widget `MainWindow': invalid matrix (not invertible)
[+31.90s] WARNING: drawing failure for widget `GtkEventBox': invalid matrix (not invertible)
[+31.90s] WARNING: drawing failure for widget `GtkBox': invalid matrix (not invertible)
[+31.90s] WARNING: drawing failure for widget `Background': invalid matrix (not invertible)
[+31.90s] WARNING: drawing failure for widget `MainWindow': invalid matrix (not invertible)
[+74.97s] WARNING: drawing failure for widget `GtkEventBox': invalid matrix (not invertible)
[+74.97s] WARNING: drawing failure for widget `GtkBox': invalid matrix (not invertible)
[+74.97s] WARNING: drawing failure for widget `Background': invalid matrix (not invertible)
[+74.97s] WARNING: drawing failure for widget `MainWindow': invalid matrix (not invertible)
[+74.99s] WARNING: drawing failure for widget `GtkEventBox': invalid matrix (not invertible)
[+74.99s] WARNING: drawing failure for widget `GtkBox': invalid matrix (not invertible)
[+74.99s] WARNING: drawing failure for widget `Background': invalid matrix (not invertible)
[+74.99s] WARNING: drawing failure for widget `MainWindow': invalid matrix (not invertible)
[+78.98s] WARNING: drawing failure for widget `GtkEventBox': invalid matrix (not invertible)
[+78.98s] WARNING: drawing failure for widget `GtkBox': invalid matrix (not invertible)
[+78.98s] WARNING: drawing failure for widget `Background': invalid matrix (not invertible)
[+78.98s] WARNING: drawing failure for widget `MainWindow': invalid matrix (not invertible)
[+138.02s] WARNING: drawing failure for widget `GtkEventBox': invalid matrix (not invertible)
[+138.02s] WARNING: drawing failure for widget `GtkBox': invalid matrix (not invertible)
[+138.02s] WARNING: drawing failure for widget `Background': invalid matrix (not invertible)
[+138.02s] WARNING: drawing failure for widget `MainWindow': invalid matrix (not invertible)
[+138.98s] WARNING: drawing failure for widget `GtkEventBox': invalid matrix (not invertible)
[+138.98s] WARNING: drawing failure for widget `GtkBox': invalid matrix (not invertible)
[+138.98s] WARNING: drawing failure for widget `Background': invalid matrix (not invertible)
[+138.98s] WARNING: drawing failure for widget `MainWindow': invalid matrix (not invertible)
[+198.98s] WARNING: drawing failure for widget `GtkEventBox': invalid matrix (not invertible)
[+198.98s] WARNING: drawing failure for widget `GtkBox': invalid matrix (not invertible)
[+198.98s] WARNING: drawing failure for widget `Background': invalid matrix (not invertible)
[+198.98s] WARNING: drawing failure for widget `MainWindow': invalid matrix (not invertible)
[+258.98s] WARNING: drawing failure for widget `GtkEventBox': invalid matrix (not invertible)
[+258.98s] WARNING: drawing failure for widget `GtkBox': invalid matrix (not invertible)
[+258.98s] WARNING: drawing failure for widget `Background': invalid matrix (not invertible)
[+258.98s] WARNING: drawing failure for widget `MainWindow': invalid matrix (not invertible)
[+299.94s] DEBUG: settings-daemon.vala:209: Screensaver activated
[+318.98s] WARNING: drawing failure for widget `GtkEventBox': invalid matrix (not invertible)
[+318.98s] WARNING: drawing failure for widget `GtkBox': invalid matrix (not invertible)
[+318.98s] WARNING: drawing failure for widget `Background': invalid matrix (not invertible)
[+318.98s] WARNING: drawing failure for widget `MainWindow': invalid matrix (not invertible)
[+324.02s] WARNING: drawing failure for widget `GtkEventBox': invalid matrix (not invertible)
[+324.02s] WARNING: drawing failure for widget `GtkBox': invalid matrix (not invertible)
[+324.02s] WARNING: drawing failure for widget `Background': invalid matrix (not invertible)
[+324.02s] WARNING: drawing failure for widget `MainWindow': invalid matrix (not invertible)
[+324.04s] WARNING: drawing failure for widget `GtkEventBox': invalid matrix (not invertible)
[+324.04s] WARNING: drawing failure for widget `GtkBox': invalid matrix (not invertible)
[+324.04s] WARNING: drawing failure for widget `Background': invalid matrix (not invertible)
[+324.04s] WARNING: drawing failure for widget `MainWindow': invalid matrix (not invertible)
[+359.38s] DEBUG: User /org/freedesktop/Accounts/User0 added
[+360.87s] DEBUG: User /org/freedesktop/Accounts/User1001 changed
[+360.87s] DEBUG: user-list.vala:1030: Adding/updating user demo (Demo)
[+360.87s] DEBUG: User /org/freedesktop/Accounts/User1000 changed
[+360.87s] DEBUG: user-list.vala:1030: Adding/updating user robotresearch (RobotResearch)
[+360.87s] WARNING: drawing failure for widget `GtkEventBox': invalid matrix (not invertible)
[+360.87s] WARNING: drawing failure for widget `GtkBox': invalid matrix (not invertible)
[+360.87s] WARNING: drawing failure for widget `Background': invalid matrix (not invertible)
[+360.87s] WARNING: drawing failure for widget `MainWindow': invalid matrix (not invertible)
[+360.94s] WARNING: Unable to load icon from data: Unrecognised image file format
[+378.98s] WARNING: drawing failure for widget `GtkEventBox': invalid matrix (not invertible)
[+378.98s] WARNING: drawing failure for widget `GtkBox': invalid matrix (not invertible)
[+378.98s] WARNING: drawing failure for widget `Background': invalid matrix (not invertible)
[+378.98s] WARNING: drawing failure for widget `MainWindow': invalid matrix (not invertible)

in the greeter log, and also with the latest nVidia drivers, there is a message after login, which states an Error has occurred before logout, and back to GUI login.

Removed and purged ALL nVidia drivers, removed nVidia GPU, this computer also has onboard GPU, and the same issue occurs, so it's NOT GPU related.

Xorg is crashing....
0
 
LVL 88

Expert Comment

by:rindi
ID: 41863984
Have you tried doing an apt-get upgrade? Or check what happens when you boot to a previous kernel from the GRUB boot menu. Also create another user account and try starting the GUI from there.
0
 
LVL 118
ID: 41863998
Have you tried doing an apt-get upgrade? Or check what happens when you boot to a previous kernel from the GRUB boot menu. Also create another user account and try starting the GUI from there.

Done all that, it's the same.
0
 
LVL 88

Expert Comment

by:rindi
ID: 41864013
Try running fsck on the file-system.
0
Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

 
LVL 118
ID: 41864014
no corruption, as seen by fsck - done that also.
0
 
LVL 88

Expert Comment

by:rindi
ID: 41864174
Do you get the same results when booting Ubuntu from a DVD or USB stick?
0
 
LVL 61

Expert Comment

by:gheist
ID: 41864240
No proprietary driver used, only that included with Ubuntu.
0
 
LVL 61

Expert Comment

by:gheist
ID: 41864241
Reinstall all opengl and vdapu related packages.
0
 
LVL 118
ID: 41864271
@gheist

No proprietary driver used, only that included with Ubuntu.

meaning we were not using nVidia drivers, but it does not matter if it's nVidia, Intel, different computer the OS is broken.

@rindi

Do you get the same results when booting Ubuntu from a DVD or USB stick?

No, works fine. It's the OS which is broken.
0
 
LVL 61

Expert Comment

by:gheist
ID: 41864350
nvidia driver disables nouveau kernel module (check /etc/modprobe.d/*conf)
it also replaces libGL.so, which can be fixed by update-alternatives or reinstalling libGL
0
 
LVL 118
ID: 41864382
and when there is no nVidia card installed.....

the problem still occurs.
0
 
LVL 61

Expert Comment

by:gheist
ID: 41864422
nvidia driver disables nouveau driver completely
you need to get it back
0
 
LVL 118
ID: 41864557
and if the nVidia card is back in there is still an issue.
0
 
LVL 118
ID: 41864559
if you give me the exact commands we can try it.

before we scrap it, and re-install the OS.
0
 
LVL 61

Expert Comment

by:gheist
ID: 41864563
I lack mastery in recovering ubuntu
Reinstall with /home on a separate partition ;)
Then you can reinstall broken system keeping users' data...
0
 
LVL 118

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE) earned 0 total points
ID: 41867565
Unfortunately, despite our best efforts to try and work out why Xorg was crashing.... in Ubuntu 14.04.03, we tried release and dist upgrades to no avail.

Finally, after a backup, we issued a

 
sudo apt-get do-release-upgrade

Open in new window


Upgrade completed and fixed the issue running Ubuntu 16.04 LTS
0
 
LVL 118

Author Closing Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
ID: 41867567
sudo apt-get do-release-upgrade fixed the issue.
1

Featured Post

Scale it in WD Gold

With up to ten times the workload capacity of desktop drives, WD Gold hard drives employ advanced technology to deliver among the best in reliability, capacity, power efficiency and performance.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
iptables limit connection per ip correct way ? 2 87
Remove a folder in Linux 9 90
Centos 7 User to Start Apache, MariaDB, LDAP 5 27
su - oracle could not open session 6 48
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
​Being a Managed Services Provider (MSP) has presented you  with challenges in the past— and by meeting those challenges you’ve reaped the rewards of success.  In 2014, challenges and rewards remain; but as the Internet and business environment evol…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

912 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now