Page 1 of 2

No GUI login after software update

Posted: Wed Dec 06, 2023 1:09 pm
by ajr
After software update at 2023-11-22, I'm unable to login via GUI.
I get the error message:

Code: Select all

Failed to start session
[code]
In /var/log/auth.log, I see:
[code]
Dec  6 16:17:24 some-host lightdm[1991]: gkr-pam: unable to locate daemon control file
Dec  6 16:17:24 some-host lightdm[1991]: gkr-pam: stashed password to try later in open session
[code]
Any help appreciated.

Re: No GUI login after software update

Posted: Wed Dec 06, 2023 1:28 pm
by ajr
In /var/log/messages, I found:

Code: Select all

Nov 22 16:22:56 some-host pkg[2138]: libgnome-keyring-3.12.0_2 deinstalled
[code]
So I did:
[code]
pkg install libgnome-keyring
[code]
and rebooted.
It did not help. Same error message. In /var/log/auth.log, I get:
[code]
Dec  6 18:19:33 some-host lightdm[1780]: gkr-pam: unable to locate daemon control file
Dec  6 18:19:33 some-host lightdm[1780]: gkr-pam: gnome-keyring-daemon started properly
Dec  6 18:19:43 some-host lightdm[1806]: gkr-pam: unable to locate daemon control file
Dec  6 18:19:43 some-host lightdm[1806]: gkr-pam: stashed password to try later in open session
[code]

Re: No GUI login after software update

Posted: Wed Dec 06, 2023 3:43 pm
by chadbsd
I would suggest running the following commands.
sudo pkg update -f
sudo pkg upgrade -yf

Re: No GUI login after software update

Posted: Wed Dec 06, 2023 5:34 pm
by ajr
It did not resolve the issue.
Same error message at display and in auth.log

During upgrade, I saw this:

Code: Select all

[586/599] Extracting slick-greeter-1.6.0_1: 100%
:: Removing greeter configuration in /usr/local/etc/lightdm/lightdm.conf
:: Configure another greeter if you plan to keep using lightdm.
:: #greeter-session=example-gtk-gnome
:: Setting slick-greeter as greeter session in /usr/local/etc/lightdm/lightdm.conf
:: greeter-session=slick-greeter
[code]

Thanks for responding.

Re: No GUI login after software update

Posted: Wed Dec 06, 2023 9:49 pm
by neville
If you disable lightdm and login and run startx do you get to the desktop?

Re: No GUI login after software update

Posted: Thu Dec 07, 2023 9:51 am
by ajr
neville wrote: Wed Dec 06, 2023 9:49 pm?
No, no desktop. See attached screenshot.

Re: No GUI login after software update

Posted: Thu Dec 07, 2023 6:51 pm
by neville
Have a look in messages and your xorg logs

cat /var/log/messages

And

cat /var/log/Xorg.0.log

Re: No GUI login after software update

Posted: Thu Dec 07, 2023 8:21 pm
by neville
Did you update by command line or with update-station?

Re: No GUI login after software update

Posted: Fri Dec 08, 2023 5:47 am
by ajr
Nothing related in logs.
Updated per update-station.

Remarkable:
# cd /usr/local/etc/lightdm
/usr/local/etc/lightdm: No such file or directory.

Re: No GUI login after software update

Posted: Fri Dec 08, 2023 6:10 am
by ajr
Sorry this was in a jail.

Code: Select all

root@axels-bsdbox:~ # ls -l /usr/local/etc/lightdm/
total 57
-r-xr-xr-x  1 root  wheel  1841 Nov 20 12:12 Xsession
-rw-r--r--  1 root  wheel    40 Nov 20 12:07 keys.conf
-rw-r--r--  1 root  wheel    40 Nov 20 12:07 keys.conf.sample
-rw-r--r--  1 root  wheel  6679 Dec  6 21:48 lightdm.conf
-rw-r--r--  1 root  wheel  6684 Dec  6 21:48 lightdm.conf.bak
-rw-r--r--  1 root  wheel  6648 Nov 20 12:07 lightdm.conf.sample
-rw-r--r--  1 root  wheel  2140 Oct 16 04:56 slick-greeter.conf
-rw-r--r--  1 root  wheel  2140 Oct 16 04:56 slick-greeter.conf.sample
-rw-r--r--  1 root  wheel   467 Nov 20 12:07 users.conf
-rw-r--r--  1 root  wheel   467 Nov 20 12:07 users.conf.sample