No GUI login after software update

Need support for GhostBSD. Ask here if your question does not fit elsewhere.
ajr
Posts: 9
Joined: Sat May 25, 2019 5:03 am

No GUI login after software update

Post 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.
ajr
Posts: 9
Joined: Sat May 25, 2019 5:03 am

Re: No GUI login after software update

Post 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]
chadbsd
Posts: 26
Joined: Thu Oct 05, 2023 8:53 pm

Re: No GUI login after software update

Post by chadbsd »

I would suggest running the following commands.
sudo pkg update -f
sudo pkg upgrade -yf
ajr
Posts: 9
Joined: Sat May 25, 2019 5:03 am

Re: No GUI login after software update

Post 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.
User avatar
neville
Developer
Posts: 88
Joined: Fri Aug 13, 2021 10:27 am
Location: Japan

Re: No GUI login after software update

Post by neville »

If you disable lightdm and login and run startx do you get to the desktop?
ajr
Posts: 9
Joined: Sat May 25, 2019 5:03 am

Re: No GUI login after software update

Post by ajr »

neville wrote: Wed Dec 06, 2023 9:49 pm?
No, no desktop. See attached screenshot.
Attachments
IMG_6822.jpg
User avatar
neville
Developer
Posts: 88
Joined: Fri Aug 13, 2021 10:27 am
Location: Japan

Re: No GUI login after software update

Post by neville »

Have a look in messages and your xorg logs

cat /var/log/messages

And

cat /var/log/Xorg.0.log
User avatar
neville
Developer
Posts: 88
Joined: Fri Aug 13, 2021 10:27 am
Location: Japan

Re: No GUI login after software update

Post by neville »

Did you update by command line or with update-station?
ajr
Posts: 9
Joined: Sat May 25, 2019 5:03 am

Re: No GUI login after software update

Post 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.
ajr
Posts: 9
Joined: Sat May 25, 2019 5:03 am

Re: No GUI login after software update

Post 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
Post Reply