This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Problem with KDE Plasma Wayland

Tags: None
(comma "," separated)
rattack
Registered Member
Posts
5
Karma
0

Problem with KDE Plasma Wayland

Wed May 04, 2022 10:28 pm
Good Morning I am on the OS Nobara Project based on Fedora, I have an AMD GPU RX 5700 XT (but I don't think it is a gpu issue). For that to be clear I will do it as a list.

My problems :
Wayland session do not start after login it take me back to login page it is a loop to login page
X11 session After login and splash screen I got a black screen with my mouse visible

What I did :
Trying to launch wayland and x11 session as root with startx and startplasma-wayland) it work
Trying to launch wayland and x11 with my user (not working)
When blocking on black screen in x11 killing process of x11 and relogin with my normal user and it work and when I log one time at X11 session then killing process and starting a wayland session it is working.
Reinstall wayland (not solvign my problem)
Reinstall x11 (not solving my problem)
Reinstall KDE (not solving my problem)
Deleting on my normal user everything who got a reference to dbus kde x11 wayland in /home/myuser/.config|.local|.cache and in the home (not working)

My logs :

Launching with my user session wayland :
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-thimoty'
startplasmacompositor: Could not start D-Bus. Can you call qdbus?

Maybe a right problem but didn' find out for the moment

With my user a X11 session :
/usr/libexec/Xorg.wrap: Only console users are allowed to run the X server

(Right problem there too ?)

Logs of 1 hours of me tryng to fix my kde :
https://controlc.com/eadba292

So finally my problem it is that I have to log in the X11 session physically and remoting in ssh kill X11 process and reconnect because if I don't do that I have a blackscreen or a loop login but plasma is working but not totally. If someone could help me I will thank you him so much. I hope someone could help me. I worked 2 days on this problem and can't figure out why isn't working and the worst it is I finished installed my computer 4 days ago, so my goal it is not to reinstall my os and figured out how to fix that problem because I really don't understand why kde stop work properly 2 days ago. Have a good day guys !
koffeinfriedhof
Registered Member
Posts
608
Karma
4
OS

Re: Problem with KDE Plasma Wayland

Thu May 05, 2022 9:00 am
Hi!

First to mention: Never ever start a graphical program as root. The underlying framework (Qt in this case) does not support this and you can mess up a lot of permissions. This is often resulting in a login-loop.
So check your users permissions and fix them in a virtual tty if necessary:
Code: Select all
find $HOME ! -user $USER -ls

#if there is any output:
[sudo/su/pkexec] chown -R $USER /path/to/folder


Next to check is the journal with `journalctl` and plausible filters, e.g. `journalctl -b -p warning` for all warnings and errors since last boot to get known problems on your system.
rattack
Registered Member
Posts
5
Karma
0

Re: Problem with KDE Plasma Wayland

Thu May 05, 2022 9:25 am
Hi, first thank you for you answer.
So the only things I found are download I did so that don't have impact after using "find $HOME ! -user $USER -ls :
12490 32 -rw-r--r-- 1 root root 28685 Apr 29 15:18 /home/thimoty/Downloads/qtqr-1.2-2.1.noarch.rpm
12497 36 -rw-r--r-- 1 root root 34175 Apr 29 15:19 /home/thimoty/Downloads/python-qrtools-1.2-2.1.noarch.rpm
12501 3012 -rw-r--r-- 1 root root 3081578 Jul 27 2021 /home/thimoty/Downloads/python3-PyQt4-4.12.3-17.fc35.aarch64.rpm
348891 4 -rw------- 1 root root 108 May 3 21:03 /home/thimoty/Downloads/kwinrulesrc
7644 5136 -rw-r--r-- 1 root root 5258765 Apr 15 2021 /home/thimoty/anydesk_6.1.1-1_x86_64.rpm
7989 0 drwx------ 1 root root 0 Apr 29 10:45 /home/thimoty/.anydesk/incoming
find: ‘/home/thimoty/.anydesk/incoming’: Permission denied
8037 65632 -rw-r--r-- 1 root root 67205437 Apr 19 13:55 /home/thimoty/teamviewer.x86_64.rpm


So I have checked for warning about KDE, plasma or wayland related there is some but nothing I understand look like minor warning >> Warning logs :
https://controlc.com/940e9d5a

And for error I got this, but ntohing about kde or wayland :
mai 05 07:40:25 Thimoty-Ryzen systemd-cryptsetup[620]: Failed to activate with specified passphrase. (Passphrase incorrect?)
mai 05 07:40:45 Thimoty-Ryzen systemd-cryptsetup[620]: Failed to activate with specified passphrase. (Passphrase incorrect?)
mai 05 07:41:32 Thimoty-Ryzen kernel: piix4_smbus 0000:00:14.0: SMBus region 0xb20 already in use!
mai 05 07:41:34 Thimoty-Ryzen /usr/sbin/irqbalance[11301]: libcap-ng used by "/usr/sbin/irqbalance" failed dropping bounding set due to not having CAP_SETPCAP in capng_apply
mai 05 07:42:08 Thimoty-Ryzen systemd[11792]: Failed to load BPF object: Operation not permitted
mai 05 07:42:10 Thimoty-Ryzen systemd[11792]: Failed to create BPF map: Operation not permitted
mai 05 07:42:18 Thimoty-Ryzen systemd[12203]: Failed to load BPF object: Operation not permitted
mai 05 07:42:18 Thimoty-Ryzen systemd[12203]: Failed to create BPF map: Operation not permitted
mai 05 07:42:38 Thimoty-Ryzen systemd[11792]: Failed to start app-com.nextcloud.desktopclient.nextclo ... rt.service - Nextcloud.
mai 05 07:42:38 Thimoty-Ryzen systemd[11792]: Failed to start app-org.freedesktop.problems.applet@autostart.service - Problem Reporting.
mai 05 07:42:38 Thimoty-Ryzen systemd[11792]: Failed to start app-org.kde.kdeconnect.daemon@autostart.service - KDE Connect.
mai 05 07:42:38 Thimoty-Ryzen systemd[11792]: Failed to start app-org.keepassxc.KeePassXC@autostart.service - KeePassXC.
mai 05 07:42:38 Thimoty-Ryzen systemd[11792]: Failed to start app-snap\x2duserd\x2dautostart@autostart.service - Snap user application autostart helper.
mai 05 07:42:38 Thimoty-Ryzen systemd[11792]: Failed to start app-vmware\x2duser@autostart.service - VMware User Agent.
mai 05 07:42:40 Thimoty-Ryzen systemd[11792]: Failed to start app-sealertauto@autostart.service - SELinux Troubleshooter.
mai 05 07:42:46 Thimoty-Ryzen pipewire-pulse[12862]: pw.conf: execvp error 'pactl': No such file or directory
mai 05 09:43:44 Thimoty-Ryzen xrdp-sesman[11782]: [ERROR] pam_authenticate failed: Authentication failure
mai 05 09:43:44 Thimoty-Ryzen xrdp-sesman[11782]: [ERROR] sesman_data_in: scp_process_msg failed
mai 05 09:43:44 Thimoty-Ryzen xrdp-sesman[11782]: [ERROR] sesman_main_loop: trans_check_wait_objs failed, removing trans
mai 05 09:43:57 Thimoty-Ryzen xrdp-sesman[11782]: [ERROR] sesman_data_in: scp_process_msg failed
mai 05 09:43:57 Thimoty-Ryzen xrdp-sesman[11782]: [ERROR] sesman_main_loop: trans_check_wait_objs failed, removing trans
koffeinfriedhof
Registered Member
Posts
608
Karma
4
OS

Re: Problem with KDE Plasma Wayland

Thu May 05, 2022 10:38 am
That looks "interesting". There are a lot of dbus-errors and as dbus is the main process communication bus you should investigate this first. Have a look at your distribution related help first as this could be related on how this distro starts up and works (I don't know it, never even heard of it 'til now ;) )

The logs:
You should check the failed units. They can run anyway after retrying, so use `systemctl status UNITNAME` to get some basic information.

Your plasmashell isn't running:
Aborting shell load: The activity manager daemon (kactivitymanagerd) is not running.
If this Plasma has been installed into a custom prefix, verify that its D-Bus services dir is known to the system for the daemon to be activatable.
rattack
Registered Member
Posts
5
Karma
0

Re: Problem with KDE Plasma Wayland

Thu May 05, 2022 12:39 pm
koffeinfriedhof wrote:That looks "interesting". There are a lot of dbus-errors and as dbus is the main process communication bus you should investigate this first. Have a look at your distribution related help first as this could be related on how this distro starts up and works (I don't know it, never even heard of it 'til now ;) )

The logs:
You should check the failed units. They can run anyway after retrying, so use `systemctl status UNITNAME` to get some basic information.

Your plasmashell isn't running:
Aborting shell load: The activity manager daemon (kactivitymanagerd) is not running.
If this Plasma has been installed into a custom prefix, verify that its D-Bus services dir is known to the system for the daemon to be activatable.


Hi thank you again for you answer so I looked for what you told me
So I checked my directory about dbus services everything is there :
Code: Select all
[root@Thimoty-Ryzen services]# ls /usr/share/dbus-1/services/
ca.desrt.dconf.service                                org.gnome.DiskUtility.service
com.canonical.indicators.webcredentials.service       org.gnome.GConf.service
com.deepin.dde.lockFront.service                      org.gnome.keyring.PrivatePrompter.service
com.deepin.dde.shutdownFront.service                  org.gnome.keyring.service
com.feralinteractive.GameMode.service                 org.gnome.keyring.SystemPrompter.service
com.google.code.AccountsSSO.SingleSignOn.service      org.gtk.GLib.PACRunner.service
com.nextcloudgmbh.Nextcloud.service                   org.gtk.vfs.Daemon.service
com.nokia.SingleSignOn.Backup.service                 org.gtk.vfs.Metadata.service
com.nokia.singlesignonui.service                      org.gtk.vfs.UDisks2VolumeMonitor.service
imsettings-daemon.service                             org.kde.ActivityManager.service
io.snapcraft.Launcher.service                         org.kde.dolphin.FileManager1.service
io.snapcraft.SessionAgent.service                     org.kde.fontinst.service
io.snapcraft.Settings.service                         org.kde.kcookiejar5.service
org.a11y.Bus.service                                  org.kde.kdeconnect.service
org.baseurl.DnfSession.service                        org.kde.kded5.service
org.fedoraproject.Config.Printing.service             org.kde.kglobalaccel.service
org.flatpak.Authenticator.Oci.service                 org.kde.kiod5.service
org.freedesktop.Akonadi.Control.service               org.kde.kioexecd.service
org.freedesktop.ColorHelper.service                   org.kde.KIOFuse.service
org.freedesktop.Flatpak.service                       org.kde.kmail.service
org.freedesktop.IBus.service                          org.kde.kmtpd5.service
org.freedesktop.impl.portal.desktop.gnome.service     org.kde.kontact.service
org.freedesktop.impl.portal.desktop.gtk.service       org.kde.korgac.service
org.freedesktop.impl.portal.desktop.kde.service       org.kde.korganizer.service
org.freedesktop.impl.portal.PermissionStore.service   org.kde.kpasswdserver.service
org.freedesktop.impl.portal.Secret.service            org.kde.krunner.service
org.freedesktop.portal.Desktop.service                org.kde.kscreen.service
org.freedesktop.portal.Documents.service              org.kde.KSplash.service
org.freedesktop.portal.Flatpak.service                org.kde.kssld5.service
org.freedesktop.portal.IBus.service                   org.kde.ksystemstats.service
org.freedesktop.portal.Tracker.service                org.kde.kwalletd5.service
org.freedesktop.problems.applet.service               org.kde.LogoutPrompt.service
org.freedesktop.secrets.service                       org.kde.plasma.Notifications.service
org.freedesktop.systemd1.service                      org.kde.runners.baloo.service
org.freedesktop.Tracker3.Miner.Extract.service        org.kde.Shutdown.service
org.freedesktop.Tracker3.Miner.Files.Control.service  org.kde.Spectacle.service
org.freedesktop.Tracker3.Miner.Files.service          org.maliit.server.service
org.freedesktop.Tracker3.Miner.RSS.service            sealert.service
org.freedesktop.Tracker3.Writeback.service


But the things I find out in the log that kde is calling the path of service : Service file '/usr/share//dbus-1/services

but with 2 slash "//" : /user/share// << here

I tried to a systemctl status and an example of service like with dolphin who is : org.kde.dolphin.FileManager1.service
But the system can't find it so my question is the following where in the system can I add the path of called service for dbus and where can I change the path of called dbus in kde ?
koffeinfriedhof
Registered Member
Posts
608
Karma
4
OS

Re: Problem with KDE Plasma Wayland

Thu May 05, 2022 3:59 pm
DBus is not the same as systemd-units. The unit to check is the autostart service like mentioned in the error log:
Code: Select all
…app-com.nextcloud.desktopclient.nextcloud@autostart.service
…app-org.freedesktop.problems.applet@autostart.service
…app-org.kde.kdeconnect.daemon@autostart.service
…app-org.keepassxc.KeePassXC@autostart.service


To get a single state you can use `systemctl --user status app-com.nextcloud.desktopclient.nextclo ... rt.service`, but it would be easier to check for failed only:
Code: Select all
# system-wide
systemctl list-units --failed
#user
systemctl --user list-units --failed


Your distribution seems to use dbus-broker instead of the classic dbus.service. So check for both as they cannot run in parallel afaik.
Code: Select all
systemctl status dbus{,-broker}
systemctl --user status dbus{,-broker}


…but with 2 slash "//" : /user/share// << here

That isn't a problem at all as duplicated slashs are stripped down automatically. Entering `ls ////usr//////share` is the same as `ls /usr/share`
rattack
Registered Member
Posts
5
Karma
0
So finally find out the problem that was not about dbus. After reinstalling 2 times Nobara Project and reinstall 2 times Fedora 35 and reinstalling my software I use for each installation. I figured out where is the problem. So for people with KDE on Fedora 35 or 36 (Nobara Project is on fedora 36) do not install tigervnc-server that the soft who make login loop and make crahs kde plasma I figured out when reinstalling and testing each packet. Hope that help, iswitched to fedora 35 because it is more stable finally. Good bye and thank you for help guys.
koffeinfriedhof
Registered Member
Posts
608
Karma
4
OS

Re: Problem with KDE Plasma Wayland

Sat May 07, 2022 4:45 pm
Thanks for sharing. Do you have some log information with crash details, eg. journalctl output or a link to the bugreport?
rattack
Registered Member
Posts
5
Karma
0

Re: Problem with KDE Plasma Wayland

Tue May 10, 2022 6:56 am
koffeinfriedhof wrote:Thanks for sharing. Do you have some log information with crash details, eg. journalctl output or a link to the bugreport?

Hi, unfortunally tigervnc did not write logs, so I don't have, sorry. And that is why I took so much time to find out what made it crash.


Bookmarks



Who is online

Registered users: abc72656, Bing [Bot], daret, Google [Bot], Sogou [Bot], Yahoo [Bot]