cruzki123 Apprentice
Joined: 16 May 2008 Posts: 263
|
Posted: Sat Nov 02, 2024 5:12 pm Post subject: Proper way to start a KDE wayland session from console? |
|
|
Hi,
I am trying to fully remove X from my world file. Th last package to use it is sddm which is kind of bummer. If I use the regular way from sddm to log in in kde wayland I get the usual desktop. I am having some problems with saving the session at restart but the rest of the things seems to be working as expected. But if I enable wayland sddm and try to log in to a plasma wayland session the only think I get is a black screen with a cursor. If I press alt+f2 I get krunner and from that I can lounch plasmashell and gentoo-pipewire-launcher to get a relastive functional KDE environment. At this point I was considering that the sddm wayland is too experimental but when I tried to start KDE directly from the console throght
Code: |
cruzki@semiorka ~ $ XDG_SESSION_TYPE=wayland exec dbus-run-session startplasma-wayland
|
I get the exact same thing (!!!!). Now I am starting to think I have something miconfigured somewhere in the plasma kde start-up scripts but I am not sure where to start. The content of
Code: |
cruzki@semiorka ~ $ cat /etc/sddm.conf.d/*
[General]
# Remove qtvirtualkeyboard as InputMethod default
InputMethod=
[Autologin]
Relogin=false
Session=
User=
[General]
HaltCommand=/usr/bin/loginctl poweroff
Numlock=on
RebootCommand=/usr/bin/loginctl reboot
[Theme]
Current=breeze
CursorSize=48
CursorTheme=Breeze_Light
Font=Noto Sans,10,-1,0,400,0,0,0,0,0,0,0,0,0,0,1
[Users]
MaximumUid=60000
MinimumUid=1000
[X11]
ServerArguments=-dpi 120
[General]
DisplayServer=wayland
GreeterEnvironment=QT_WAYLAND_SHELL_INTEGRATION=layer-shell
[Wayland]
CompositorCommand=kwin_wayland --drm --no-lockscreen --no-global-shortcuts --locale1
#SessionCommand=/etc/sddm/scripts/setup
|
The log for the last try
Code: |
[15:02:55.923] (II) HELPER: [PAM] Closing session
[15:02:56.468] (II) HELPER: [PAM] Ended.
[15:02:56.468] (II) DAEMON: Auth: sddm-helper exited successfully
[15:02:56.468] (II) DAEMON: Socket server stopping...
[15:02:56.468] (II) DAEMON: Socket server stopped.
[15:02:56.468] (II) DAEMON: Removing display SDDM::Display(0x5625860f8b20) ...
[15:02:56.468] (II) DAEMON: Adding new display...
[15:02:56.468] (II) DAEMON: Loaded empty theme configuration
[15:02:56.469] (II) DAEMON: Using VT 1
[15:02:56.469] (II) DAEMON: Display server started.
[15:02:56.469] (II) DAEMON: Socket server starting...
[15:02:56.469] (II) DAEMON: Socket server started.
[15:02:56.469] (II) DAEMON: Loading theme configuration from "/usr/share/sddm/themes/breeze/theme.conf"
[15:02:56.469] (II) DAEMON: Greeter starting...
[15:02:56.474] (II) HELPER: [PAM] Starting...
[15:02:56.474] (II) HELPER: [PAM] Authenticating...
[15:02:56.474] (II) HELPER: [PAM] returning.
[15:02:56.497] (II) HELPER: Jumping to VT 1
[15:02:56.497] (II) HELPER: VT mode didn't need to be fixed
[15:02:56.499] (II) DAEMON: Greeter session started successfully
[15:02:57.185] (II) DAEMON: Message received from greeter: Connect
[15:03:02.243] (WW) DAEMON: Signal received: SIGTERM
[15:03:02.243] (II) DAEMON: Greeter stopping...
[15:03:02.244] (WW) HELPER: Signal received: SIGTERM
[15:03:02.401] (II) HELPER: [PAM] Closing session
[15:03:02.402] (II) HELPER: [PAM] Ended.
[15:03:02.403] (WW) DAEMON: Auth: sddm-helper exited with 255
[15:03:02.403] (II) DAEMON: Greeter stopped. SDDM::Auth::HelperExitStatus(255)
[15:03:02.403] (II) DAEMON: Socket server stopping...
[15:03:02.403] (II) DAEMON: Socket server stopped.
[15:03:02.499] (II) DAEMON: Initializing...
[15:03:02.513] (II) DAEMON: Starting...
[15:03:02.514] (II) DAEMON: Logind interface found
[15:03:02.516] (II) DAEMON: Adding new display...
[15:03:02.516] (II) DAEMON: Loaded empty theme configuration
[15:03:02.520] (II) DAEMON: Using VT 1
[15:03:02.520] (II) DAEMON: Display server started.
[15:03:02.520] (II) DAEMON: Socket server starting...
[15:03:02.520] (II) DAEMON: Socket server started.
[15:03:02.521] (II) DAEMON: Loading theme configuration from "/usr/share/sddm/themes/breeze/theme.conf"
[15:03:02.522] (II) DAEMON: Greeter starting...
[15:03:02.542] (II) HELPER: [PAM] Starting...
[15:03:02.542] (II) HELPER: [PAM] Authenticating...
[15:03:02.542] (II) HELPER: [PAM] returning.
[15:03:02.590] (II) HELPER: Jumping to VT 1
[15:03:02.590] (II) HELPER: VT mode didn't need to be fixed
[15:03:02.592] (II) DAEMON: Greeter session started successfully
[15:03:03.371] (II) DAEMON: Message received from greeter: Connect
[15:03:06.286] (II) DAEMON: Message received from greeter: Login
[15:03:06.286] (II) DAEMON: Reading from "/usr/share/wayland-sessions/plasma.desktop"
[15:03:06.287] (II) DAEMON: Session "/usr/share/wayland-sessions/plasma.desktop" selected, command: "/usr/libexec/plasma-dbus-run-session-if-needed /usr/bin/startplasma-wayland" for VT 7
[15:03:06.293] (II) HELPER: [PAM] Starting...
[15:03:06.293] (II) HELPER: [PAM] Authenticating...
[15:03:06.297] (II) HELPER: [PAM] Preparing to converse...
[15:03:06.297] (II) HELPER: [PAM] Conversation with 1 messages
[15:03:06.303] (II) HELPER: [PAM] returning.
[15:03:06.304] (II) DAEMON: Authentication for user "cruzki" successful
[15:03:06.404] (II) HELPER: Starting Wayland user session: "/etc/sddm/scripts/setup" "/usr/libexec/plasma-dbus-run-session-if-needed /usr/bin/startplasma-wayland"
[15:03:06.404] (II) HELPER: Jumping to VT 7
[15:03:06.404] (II) HELPER: VT mode didn't need to be fixed
[15:03:06.405] (II) DAEMON: Session started true
[15:03:06.433] (II) HELPER: [PAM] Closing session
[15:03:06.918] (II) HELPER: [PAM] Ended.
[15:03:06.920] (II) DAEMON: Auth: sddm-helper exited successfully
[15:03:06.920] (II) DAEMON: Greeter stopped. SDDM::Auth::HELPER_SUCCESS
|
Please note that I have tried to add the workaround I use in "/etc/sddm/scripts/setup" but I has not worked
Code: |
cruzki@semiorka ~ $ cat /etc/sddm/scripts/setup
#!/bin/sh
XDG_SESSION_TYPE=wayland exec dbus-run-session startplasma-wayland
exec plasmashell &
exec gentoo-pipewire-launcher &
|
Any idea of what is being corrupted? any documentation on how to properly set up a kde plasma session?
Thanks in advance |
|