Monday, May 6, 2024
 Popular · Latest · Hot · Upcoming
4
rated 0 times [  4] [ 0]  / answers: 1 / hits: 13514  / 2 Years ago, thu, march 24, 2022, 4:58:42

My laptop was working perfectly yesterday, and now today I can't log in.



At first, I was only getting a black screen. However, after following instructions in some questions here on AskUbuntu, I first reinstalled lightdm, and then I had to change the ownership of the file ~/.Xauthority to be my user name. Now, I get the log in GUI screen.



However, once I enter my username, it flickers and then comes back to the login GUI. It does not matter if I use Gnome, Unity, or Gnome-Flashback.



I don't know why lightdm needed to be reconfigured, or how ~/.Xauthority got changed, but in any case, what is still standing in my way, preventing me from logging in?



Update: I have tried deleting the .Xauthority file, and the .profile files in my home directory. It has not changed anything.



Logging in as guest also fails to work.



The following commands did not work:



mv ~/.config ~/.config.BAK
mv ~/.cache ~/.cache.BAK


Inside .xsession-errors in my home directory, it says:



Gdk-CRITICAL: gdk_x11_display_get_xdisplay: assertion 'GDK_IS_DISPLAY (display)' failed

More From » login

 Answers
0

I fixed my issue.
I had this repository



deb http://ppa.launchpad.net/eugenesan/ppa/ubuntu trusty main



in my list. That repository yesterday updated these 4 packages to a custom version (based on GNOME 3.12):




  • ubuntu-session

  • gnome-session-common

  • gnome-session-bin

  • gnome-session



I downgraded these packages to the version 3.9.90-0ubuntu12 and after a sudo service lightdm restart all is working, up and running.



To downgrade from command line:



sudo apt-get install --reinstall gnome-session-bin=3.9.90-0ubuntu12
sudo apt-get install --reinstall gnome-session-common=3.9.90-0ubuntu12
sudo apt-get install --reinstall gnome-session=3.9.90-0ubuntu12
sudo apt-get install --reinstall ubuntu-session=3.9.90-0ubuntu12

[#24700] Thursday, March 24, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ongdiligenc

Total Points: 452
Total Questions: 111
Total Answers: 107

Location: Ukraine
Member since Sun, Dec 13, 2020
3 Years ago
ongdiligenc questions
Wed, Apr 13, 22, 10:34, 2 Years ago
Tue, Jun 7, 22, 00:54, 2 Years ago
Sat, Aug 7, 21, 00:37, 3 Years ago
Sat, May 22, 21, 03:06, 3 Years ago
Tue, Mar 1, 22, 10:05, 2 Years ago
;