You are not logged in.

#1 2018-11-02 16:53:06

DemonicSavage
Member
Registered: 2016-10-20
Posts: 8

Cannot start Plasma Wayland session.

In SDDM, if I try to start a Plasma Wayland session, nothing happens. It just returns to SDDM again.

I'm not sure why this happens. I use an Intel GPU.

Running

XDG_SESSION_TYPE=wayland startplasmacompositor

returns:

startplasmacompositor: Starting up...
dbus-update-activation-environment: warning: error sending to systemd: org.freedesktop.DBus.Error.InvalidArgs: Invalid environment assignments
qt5ct: using qt5ct plugin
Error: could not determine $DISPLAY.

(kwin_wayland:2994): Gtk-WARNING **: 14:05:00.773: cannot open display: 
startplasmacompositor: Shutting down...
startplasmacompositor: Done.

Last edited by DemonicSavage (2018-11-02 17:07:26)

Offline

#2 2018-11-02 21:43:05

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 2,305

Re: Cannot start Plasma Wayland session.

Post the journal output when trying to log in

Offline

#3 2018-11-02 22:31:25

DemonicSavage
Member
Registered: 2016-10-20
Posts: 8

Re: Cannot start Plasma Wayland session.

Nov 02 19:25:31 Belphegor sddm[741]: Running display setup script  "/usr/share/sddm/scripts/Xsetup"
Nov 02 19:25:31 Belphegor sddm[741]: Display server started.
Nov 02 19:25:31 Belphegor sddm[741]: Socket server starting...
Nov 02 19:25:31 Belphegor sddm[741]: Socket server started.
Nov 02 19:25:31 Belphegor sddm[741]: Loading theme configuration from "/usr/share/sddm/themes/breeze/theme.conf"
Nov 02 19:25:31 Belphegor sddm[741]: Greeter starting...
Nov 02 19:25:31 Belphegor sddm[741]: Adding cookie to "/var/run/sddm/{a0bb3c17-e4e9-4317-8308-347e325d8cd0}"
Nov 02 19:25:31 Belphegor sddm[741]: Greeter stopping...
Nov 02 19:25:31 Belphegor sddm[741]: QProcess: Destroyed while process ("/usr/lib/sddm/sddm-helper") is still running.
Nov 02 19:25:31 Belphegor sddm-helper[1259]: [PAM] Starting...
Nov 02 19:25:31 Belphegor sddm-helper[1259]: [PAM] Authenticating...
Nov 02 19:25:31 Belphegor sddm-helper[1259]: [PAM] returning.
Nov 02 19:25:31 Belphegor sddm-helper[1259]: pam_unix(sddm-greeter:session): session opened for user sddm by (uid=0)
Nov 02 19:25:31 Belphegor systemd[1]: Created slice User Slice of UID 618.
Nov 02 19:25:31 Belphegor systemd[1]: Started /run/user/618 mount wrapper.
Nov 02 19:25:31 Belphegor audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=user-runtime-dir@618 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Nov 02 19:25:31 Belphegor kernel: audit: type=1130 audit(1541197531.320:91): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=user-runtime-dir@618 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Nov 02 19:25:31 Belphegor systemd[1]: Starting User Manager for UID 618...
Nov 02 19:25:31 Belphegor systemd-logind[710]: New session c2 of user sddm.
Nov 02 19:25:31 Belphegor systemd[1]: Started Session c2 of user sddm.
Nov 02 19:25:31 Belphegor kernel: audit: type=1006 audit(1541197531.337:92): pid=1262 uid=0 old-auid=4294967295 auid=618 tty=(none) old-ses=4294967295 ses=5 res=1
Nov 02 19:25:31 Belphegor systemd[1262]: pam_unix(systemd-user:session): session opened for user sddm by (uid=0)
Nov 02 19:25:31 Belphegor systemd[1262]: Reached target Timers.
Nov 02 19:25:31 Belphegor systemd[1262]: Listening on Multimedia System.
Nov 02 19:25:31 Belphegor systemd[1262]: Reached target Paths.
Nov 02 19:25:31 Belphegor systemd[1262]: Listening on GnuPG cryptographic agent and passphrase cache.
Nov 02 19:25:31 Belphegor systemd[1262]: Listening on GnuPG cryptographic agent (ssh-agent emulation).
Nov 02 19:25:31 Belphegor systemd[1262]: Listening on GnuPG network certificate management daemon.
Nov 02 19:25:31 Belphegor systemd[1262]: Listening on Sound System.
Nov 02 19:25:31 Belphegor systemd[1262]: Listening on p11-kit server.
Nov 02 19:25:31 Belphegor systemd[1262]: Starting D-Bus User Message Bus Socket.
Nov 02 19:25:31 Belphegor systemd[1262]: Listening on GnuPG cryptographic agent and passphrase cache (access for web browsers).
Nov 02 19:25:31 Belphegor systemd[1262]: Listening on GnuPG cryptographic agent and passphrase cache (restricted).
Nov 02 19:25:31 Belphegor systemd[1262]: Listening on D-Bus User Message Bus Socket.
Nov 02 19:25:31 Belphegor systemd[1262]: Reached target Sockets.
Nov 02 19:25:31 Belphegor systemd[1262]: Reached target Basic System.
Nov 02 19:25:31 Belphegor systemd[1]: Started User Manager for UID 618.
Nov 02 19:25:31 Belphegor audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=user@618 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Nov 02 19:25:31 Belphegor systemd[1262]: Starting Update XDG user dir configuration...
Nov 02 19:25:31 Belphegor kernel: audit: type=1130 audit(1541197531.397:93): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=user@618 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Nov 02 19:25:31 Belphegor systemd[1262]: Started Update XDG user dir configuration.
Nov 02 19:25:31 Belphegor systemd[1262]: Reached target Default.
Nov 02 19:25:31 Belphegor systemd[1262]: Startup finished in 53ms.
Nov 02 19:25:31 Belphegor sddm[741]: Greeter session started successfully
Nov 02 19:25:31 Belphegor sddm-greeter[1269]: High-DPI autoscaling not Enabled
Nov 02 19:25:31 Belphegor sddm-greeter[1269]: Reading from "/usr/share/xsessions/gnome-xorg.desktop"
Nov 02 19:25:31 Belphegor sddm-greeter[1269]: Reading from "/usr/share/xsessions/gnome.desktop"
Nov 02 19:25:31 Belphegor sddm-greeter[1269]: Reading from "/usr/share/xsessions/kodi.desktop"
Nov 02 19:25:31 Belphegor sddm-greeter[1269]: Reading from "/usr/share/xsessions/plasma.desktop"
Nov 02 19:25:31 Belphegor sddm-greeter[1269]: Reading from "/usr/share/wayland-sessions/gnome.desktop"
Nov 02 19:25:31 Belphegor sddm-greeter[1269]: Reading from "/usr/share/wayland-sessions/plasmawayland.desktop"
Nov 02 19:25:31 Belphegor sddm-greeter[1269]: Loading theme configuration from "/usr/share/sddm/themes/breeze/theme.conf"
Nov 02 19:25:31 Belphegor systemd[1262]: Started D-Bus User Message Bus.
Nov 03 19:25:31 Belphegor sddm-greeter[1269]: Connected to the daemon.
Nov 02 19:25:31 Belphegor sddm[741]: Message received from greeter: Connect
Nov 02 19:25:31 Belphegor sddm-greeter[1269]: Loading file:///usr/share/sddm/themes/breeze/Main.qml...
Nov 02 19:25:31 Belphegor sddm-greeter[1269]: QObject: Cannot create children for a parent that is in a different thread.
                                              (Parent is QGuiApplication(0x7ffee6bec460), parent's thread is QThread(0x56294822bcd0), current thread is QThread(0x5629482932a0)
Nov 02 19:25:31 Belphegor sddm-greeter[1269]: QObject: Cannot create children for a parent that is in a different thread.
                                              (Parent is QGuiApplication(0x7ffee6bec460), parent's thread is QThread(0x56294822bcd0), current thread is QThread(0x5629482932a0)
Nov 02 19:25:31 Belphegor sddm-greeter[1269]: QObject: Cannot create children for a parent that is in a different thread.
                                              (Parent is QGuiApplication(0x7ffee6bec460), parent's thread is QThread(0x56294822bcd0), current thread is QThread(0x5629482932a0)
Nov 02 19:25:31 Belphegor sddm-greeter[1269]: QObject: Cannot create children for a parent that is in a different thread.
                                              (Parent is QGuiApplication(0x7ffee6bec460), parent's thread is QThread(0x56294822bcd0), current thread is QThread(0x5629482932a0)
Nov 02 19:25:31 Belphegor sddm-greeter[1269]: QObject::installEventFilter(): Cannot filter events for objects in a different thread.
Nov 02 19:25:31 Belphegor sddm-greeter[1269]: QObject: Cannot create children for a parent that is in a different thread.
                                              (Parent is QGuiApplication(0x7ffee6bec460), parent's thread is QThread(0x56294822bcd0), current thread is QThread(0x5629482932a0)
Nov 02 19:25:32 Belphegor sddm-greeter[1269]: QObject: Cannot create children for a parent that is in a different thread.
                                              (Parent is QGuiApplication(0x7ffee6bec460), parent's thread is QThread(0x56294822bcd0), current thread is QThread(0x5629482932a0)
Nov 02 19:25:32 Belphegor sddm-greeter[1269]: QObject::installEventFilter(): Cannot filter events for objects in a different thread.
Nov 02 19:25:32 Belphegor sddm-greeter[1269]: Cannot watch QRC-like path ":/icons/hicolor/index.theme"
Nov 02 19:25:32 Belphegor sddm-greeter[1269]: file:///usr/share/sddm/themes/breeze/components/VirtualKeyboard.qml:20:1: module "QtQuick.VirtualKeyboard" is not installed
Nov 02 19:25:32 Belphegor sddm-greeter[1269]: Adding view for "LVDS-1" QRect(0,0 1366x768)
Nov 02 19:25:32 Belphegor sddm-greeter[1269]: Loading file:///usr/share/sddm/themes/breeze/Main.qml...
Nov 02 19:25:32 Belphegor sddm-greeter[1269]: file:///usr/share/sddm/themes/breeze/components/VirtualKeyboard.qml:20:1: module "QtQuick.VirtualKeyboard" is not installed
Nov 02 19:25:32 Belphegor sddm-greeter[1269]: Adding view for "HDMI-1" QRect(1366,0 1920x1080)
Nov 02 19:25:32 Belphegor sddm-greeter[1269]: Message received from daemon: Capabilities
Nov 02 19:25:32 Belphegor sddm-greeter[1269]: Message received from daemon: HostName
Nov 02 19:25:35 Belphegor sudo[1281]: twilight : TTY=tty2 ; PWD=/home/twilight ; USER=root ; COMMAND=/usr/bin/journalctl
Nov 02 19:25:35 Belphegor sudo[1281]: pam_unix(sudo:session): session opened for user root by twilight(uid=0)

Offline

#4 2018-11-02 22:55:28

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 2,305

Re: Cannot start Plasma Wayland session.

That's just the sddm log, you don't get anything else after trying to log in?

Offline

#5 2018-11-02 23:13:00

DemonicSavage
Member
Registered: 2016-10-20
Posts: 8

Re: Cannot start Plasma Wayland session.

Not in the journal, no. If there's anywhere else I should check, just tell me and I'll do.

Offline

#6 2018-11-03 15:57:22

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,407

Re: Cannot start Plasma Wayland session.

from https://wiki.archlinux.org/index.php/KD … ing_Plasma

To start a Plasma on Wayland session from a console, run

export XDG_SESSION_TYPE=wayland && export $(dbus-launch) && startplasmacompositor

Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#7 2018-11-03 17:15:19

DemonicSavage
Member
Registered: 2016-10-20
Posts: 8

Re: Cannot start Plasma Wayland session.

I've tried that, to the same results.

Running a nested

kwin_wayland --xwayland --exit-with-session=konsole

works, but a full Plasma session doesn't. The full Plasma session shows the splash screen and then just blank.

Neither Plasma not a single program like Konsole works in a non-nested context, though.

Last edited by DemonicSavage (2018-11-03 20:23:34)

Offline

#8 2018-11-03 20:43:41

DemonicSavage
Member
Registered: 2016-10-20
Posts: 8

Re: Cannot start Plasma Wayland session.

It appears that running

export XDG_SESSION_TYPE=wayland && export $(dbus-launch) && startplasmacompositor

as a nested session works sometimes, but not always.

Still no luck in non-nested sessions.

Offline

Board footer

Powered by FluxBB