Can't login mate DE lightdm after upgrade

Need support for GhostBSD. Ask here if your question does not fit elsewhere.
linunix
Posts: 19
Joined: Tue Apr 14, 2020 3:44 pm

Can't login mate DE lightdm after upgrade

Post by linunix »

hi Guys
My last upgrade was on 6/6/2020, everything looks good.
Then I didn't login from 6/6 until today, and then today, I login successfully and I created a zfs snapshot and then run 'pkg upgrade' to upgrade it, then reboot.
The lightdm login screen appear, but once I input my password and press enter, the screen became black and return to previous lightdm login screen and waiting for my password input again. If I tried again, it will be black and then return to the same login screen and waiting for my password input.
Looks I jumped into a terrible loop and is not able to login.

I rollback my zfs snapshot and everything looks good now.

Looks like it's related to some components of mate desktop or lightdm upgrade.
I lost the error message because I rollback my zfs. But I remember there are some error words in /var/logs/message like "mate..Glib..GIO..failed" or kind of this.

Now I am not able to upgrade my GhostBSD with Mate before this issue is resolved.

Is anyone could help me?

Latest update on 07182020:
Upgraded to kernel of version 1201519
But the issue still happened on mate desktop.
I guess something customized configuration of my Mate desktop is incompatible with Mate 1.24



============
Now I locked the following two packages and upgrade all other packages, now looks good. I believe they should be the root cause.

Code: Select all

$ pkg lock -l                       
Currently locked packages:
mate-desktop-1.22.2
mate-settings-daemon-1.22.1
Error messages:
in /var/log/messages:

Code: Select all

mate-session[4112]: GLib-GIO-ERROR: Settings schema 'org.mate.interface' is not installed aborting
in /var/log/lightdm/seat0-greeter.log:

Code: Select all

DEBUG: slick-greeter.vala:209: Invalid session: 'mate'
Also I found a uploading files to Chromium error of Mate-desktop macro, not sure if it's related to inconsistent versions of mate desktop.
So I rollback all mate components back
Last edited by linunix on Sat Jul 18, 2020 3:40 pm, edited 1 time in total.
smartmanp
Posts: 2
Joined: Sun Jul 12, 2020 4:24 am

Re: Can't login mate DE lightdm after upgrade

Post by smartmanp »

I have just the save problem after I upgrade the system today.
smartmanp
Posts: 2
Joined: Sun Jul 12, 2020 4:24 am

Re: Can't login mate DE lightdm after upgrade

Post by smartmanp »

Unfortunately, I have not done any backup works, so waiting a workround.
(I have tried several methods from google, and it doesn't work.)
User avatar
ericbsd
Developer
Posts: 2052
Joined: Mon Nov 19, 2012 7:54 pm

Re: Can't login mate DE lightdm after upgrade

Post by ericbsd »

As for pkg upgrade by itself is a bad idea.
If you have kernel upgrade and it recommended using pkg update -f and pkg upgrade -f.
if you see a major upgrade of a Desktop it is probably a good idea to also to pkg upgrade -f.
linunix
Posts: 19
Joined: Tue Apr 14, 2020 3:44 pm

Re: Can't login mate DE lightdm after upgrade

Post by linunix »

ericbsd wrote: Sun Jul 12, 2020 9:29 am As for pkg upgrade by itself is a bad idea.
If you have kernel upgrade and it recommended using pkg update -f and pkg upgrade -f.
if you see a major upgrade of a Desktop it is probably a good idea to also to pkg upgrade -f.
Thanks Eric
I was running 'pkg upgrade' at that time.
I will try 'pkg update -f && pkg upgrade -f' to see if it's working
linunix
Posts: 19
Joined: Tue Apr 14, 2020 3:44 pm

Re: Can't login mate DE lightdm after upgrade

Post by linunix »

smartmanp wrote: Sun Jul 12, 2020 4:32 am Unfortunately, I have not done any backup works, so waiting a workround.
(I have tried several methods from google, and it doesn't work.)
Oh, sorry to hear that.
Since I am not familiar with FreeBSD, I decided to do a zfs snapshot before any upgrading.
ZFS snapshot is a great and easy backup way to avoid issues, and it's easy to restore.
linunix
Posts: 19
Joined: Tue Apr 14, 2020 3:44 pm

Re: Can't login mate DE lightdm after upgrade

Post by linunix »

ericbsd wrote: Sun Jul 12, 2020 9:29 am As for pkg upgrade by itself is a bad idea.
If you have kernel upgrade and it recommended using pkg update -f and pkg upgrade -f.
if you see a major upgrade of a Desktop it is probably a good idea to also to pkg upgrade -f.

hi Eric
I tried 'pkg update -f && pkg upgrade -f' and rebooted, but the issue was still happening.
I rollback with zfs again. I think I need to stay on mate 1.22 until it's fixed.
Thank you all the same
UnixLinuxB
Posts: 12
Joined: Thu Mar 05, 2020 5:38 pm

Re: Can't login mate DE lightdm after upgrade

Post by UnixLinuxB »

I ran across this issue. [ the title of the thread ].
update of 7/25
user cannot login after entering the correct password, it cycles back to enter the correct password again.
....
pending test:
/usr/local/bin/glib-compile-schemas /usr/local/share/glib-2.0/schemas
[ from a linux forum, so just guessing at paths etc.]

I did this. Did not fix it.
......
pending test 2:
investigate bug 229471 and prevent mate-session [ from which port? ] core dumping by allocating memory
[ don't know if I'd have time for that one... ]
to fix kernel: mate-session exited on signal 5, core dump.

I did this. Did not fix it.

....
and for some reason,

Code: Select all

service netif start 
knew nothing of it... so running

Code: Select all

sh /etc/rc.d/netif start 
sufficed. A regression, r related to the boottime
messages about a leapsecond file in /var somewhere [sorry to be inexact ] was expired...
unless they work next time I bootup the install.

This problem I did not see reappear today.

.....
pending test 3:
reinstall locally consolekit2 [ another hint from a linux forum ]


I did this. Did not fix it.
.......
So the install is perfect, still, but the slick-greeter OR the lightdm or some interconnected port lacks some fix, reinstall, or cli.
or line in a conf file.
.......
Until/unless the next major packages upgrade fixes it.
.....
If not, I may try installing fvwm or some smaller window manager as an interim measure, out of time to
do any more inquiry to this issue.
nevets
Posts: 149
Joined: Tue Jun 23, 2020 3:54 am

Re: Can't login mate DE lightdm after upgrade

Post by nevets »

Had same issue with password dialogue recycling and Desktop not loading afyer an incremental update..
https://forums.ghostbsd.org/viewtopic.php?p=8509#p8509

Eric sent this link to the latest build which worked for me.
http://download.us.ghostbsd.org/develop ... 64/latest/

Steve
linunix
Posts: 19
Joined: Tue Apr 14, 2020 3:44 pm

Re: Can't login mate DE lightdm after upgrade

Post by linunix »

nevets wrote: Sun Jul 26, 2020 8:38 pm Had same issue with password dialogue recycling and Desktop not loading afyer an incremental update..
https://forums.ghostbsd.org/viewtopic.php?p=8509#p8509

Eric sent this link to the latest build which worked for me.
http://download.us.ghostbsd.org/develop ... 64/latest/

Steve
hi Steve
Thanks for your reply.
For the link Eric sent to you, is that meaning we need to re-install the whole OS?
Post Reply