Release 20200414 - KDE Plasma No Longer Comes Up

Hi.

After performing a zypper dist-update to release 20200414 from 20200408 KDE plasma no longer comes up on my laptop. I do not get a login screen. TTY7 now just hangs at “Started Locale Service”. I can login to TTY1-6 but need a GUI. Prior to the dist-update things were fine. Curious if anyone else is experiencing this issue or what I can do to triage. Alternatively if someone knows of a command where I can force start Plasma that would be great too. Thanks.

You can login root on tty2 to run

journalctl -b

where you should be able to find error messages about SDDM, your probable GUI login greeter gone AWOL due to the upgrade.

If as root or using sudo you first run

chmod 4711 /usr/bin/Xorg

then as normal user you might be able to get Plasma to run without SDDM:

WINDOWMANAGER=startplasma-x11 startx -- :1

I have same problem.

In my desktop, I have sddm with autologin and start OK but in my laptop, only show a black screen (with mouse pointer).
Login with root, ps aux | grep sddm show sddm process and X process.
Login in another tty with my user and startx show my plasma desktop ok but not working some services like energy control (said than no battery!) or network (wifi not working but eth0 yes).

I’m checking in my desktop and show a lot of services with problems.
I’m thinking that this problems are around root user. Example:

fasiko@fskdesktop:~> ping google.com
PING google.com (216.58.211.238) 56(84) bytes of data.
64 bytes from mad07s20-in-f14.1e100.net (216.58.211.238): icmp_seq=1 ttl=51 time=17.6 ms
^C

fskdesktop:~ # ping google.com
ping: error while loading shared libraries: libcap.so.2: cannot open shared object file: Permission denied
fskdesktop:~ #

Services like haveged, bluetooth, nscd… Not working!!

fskdesktop:~ # systemctl start haveged.service
fskdesktop:~ # systemctl status haveged.service
haveged.service - Entropy Daemon based on the HAVEGE algorithm
Loaded: loaded (/usr/lib/systemd/system/haveged.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Thu 2020-04-16 22:06:39 CEST; 3s ago
Docs: man:haveged(8)
http://www.issihosts.com/haveged/
Process: 18947 ExecStart=/usr/sbin/haveged -w 1024 -v 0 -F (code=exited, status=127)
Main PID: 18947 (code=exited, status=127)

Apr 16 22:06:39 fskdesktop systemd[1]: haveged.service: Scheduled restart job, restart counter is at 5.
Apr 16 22:06:39 fskdesktop systemd[1]: Stopped Entropy Daemon based on the HAVEGE algorithm.
Apr 16 22:06:39 fskdesktop systemd[1]: haveged.service: Start request repeated too quickly.
Apr 16 22:06:39 fskdesktop systemd[1]: haveged.service: Failed with result ‘exit-code’.
Apr 16 22:06:39 fskdesktop systemd[1]: Failed to start Entropy Daemon based on the HAVEGE algorithm.

journalctl show:
Apr 16 22:06:39 fskdesktop systemd[1]: haveged.service: Main process exited, code=exited, status=127/n/a
Apr 16 22:06:39 fskdesktop haveged[18947]: /usr/sbin/haveged: error while loading shared libraries: libhavege.so.1: cannot open shared object file: Permission denied

With nxcd.service:
Apr 16 22:09:43 fskdesktop systemd[1]: Failed to start Name Service Cache Daemon.
Apr 16 22:09:43 fskdesktop systemd[1]: nscd.service: Failed with result ‘exit-code’.
Apr 16 22:09:43 fskdesktop systemd[1]: nscd.service: Control process exited, code=exited, status=127/n/a
Apr 16 22:09:43 fskdesktop nscd[19354]: /usr/sbin/nscd: error while loading shared libraries: libaudit.so.1: cannot open shared object file: Permission denied

fskdesktop:~ # ls -lh /usr/lib64/libaudit.so.*
lrwxrwxrwx 1 root root 17 Feb 7 20:42 /usr/lib64/libaudit.so.1 -> libaudit.so.1.0.0
-rwxr-xr-x 1 root root 110K Feb 7 20:42 /usr/lib64/libaudit.so.1.0.0

My journalctl -b from my laptop:
https://cloud.fasiko.es/s/coZcwft4HKEXMnw

Both systems are up to date (zypper dup)

The crux of it is reported here…

Apr 16 22:12:31 fsknetbook haveged[702]: /usr/sbin/haveged: error while loading shared libraries: libhavege.so.1: cannot open shared object file: Permission denied
Apr 16 22:12:31 fsknetbook systemd[1]: haveged.service: Main process exited, code=exited, status=127/n/a

Check permissions…

ls -l /usr/lib64/libhavege.so.1
dir -d /usr/lib64

These indicate permissions errors as well…

Apr 16 22:12:36 fsknetbook nscd[1537]: /usr/sbin/nscd: error while loading shared libraries: libaudit.so.1: cannot open shared object file: Permission denied
Apr 16 22:12:36 fsknetbook systemd[1]: nscd.service: Control process exited, code=exited, status=127/n/a
Apr 16 22:12:36 fsknetbook nscd[1539]: /usr/sbin/nscd: error while loading shared libraries: libaudit.so.1: cannot open shared object file: Permission denied
Apr 16 22:12:36 fsknetbook systemd[1]: nscd.service: Control process exited, code=exited, status=127/n/a

Permissions are ok

ls -l /usr/lib64/libhavege*
lrwxrwxrwx 1 root root 18 ago 5 2019 /usr/lib64/libhavege.so.1 -> libhavege.so.1.1.0
-rwxr-xr-x 1 root root 104624 ago 5 2019 /usr/lib64/libhavege.so.1.1.0

dir -d /usr/lib64
drwxr-xr-x 162 root root 200704 abr 16 14:46 /usr/lib64

I can read without problems:
fasiko@fsknetbook:~> tail -n1 /usr/lib64/libhavege.so.1
�E���o@@T��▒^Bpp▒h c n w0#0#�>}�a�a �pp� ��y�y���{�{|
�p�x������ �(�(r(�(���� Р�А0��
fasiko@fsknetbook:~> sudo tail -n1 /usr/lib64/libhavege.so.1
�E���o@@T��▒^Bpp▒h c n w0#0#�>}�a�a �pp� ��y�y���{�{|
�p�x������ �(�(r(�(���� Р�А0��

There are some problems with root user. Example:
fasiko@fsknetbook:~> ping google.com
PING google.com (216.58.211.238) 56(84) bytes of data.
64 bytes from mad07s20-in-f14.1e100.net (216.58.211.238): icmp_seq=1 ttl=51 time=15.1 ms
^C

fsknetbook:~ #** ping google.com
ping: error while loading shared libraries: libcap.so.2: cannot open shared object file: Permission denied
**fsknetbook:~ #


Hi OP here. For whatever reason one day I turned on my laptop and voila I’ve been able to login. Going to performing a zipper-update again incase something was updated upstream to solidify the fix.

What do the following commands report?

strace -o ping.trace ping 8.8.8.8
ls -ld /
fasiko@fsknetbook:~> strace -o ping.trace ping 8.8.8.8
ping: socket: Operación no permitida
fasiko@fsknetbook:~> sudo strace -o ping.trace ping 8.8.8.8
ping: error while loading shared libraries: libcap.so.2: cannot open shared object file: Permission denied
fasiko@fsknetbook:~> ls -ld /
drwxr-xr-x 1 root root 178 abr 15 15:25 /

sudo ps aux > proccess.txt
https://cloud.fasiko.es/s/76MPgtPQXsCgjZy

I needed to use my laptop so I rollback my btrfs root to 20200410 snapshot.
It booted ok. Later, I run zypper dup and I have my system up to date and without problems.

There is some way to know what packages was installed between 10/04 and 15/04??
My laptop is fine but my desktop still has this problem because I don’t rollback (I have ext4 to root fs).

You can look in “/var/log/zypp/history”. But I’m not sure whether that would have also been rolled back.