Bug 395335 - If auto-login is enabled in user manager, Wayland session is started incorrectly (plasma uses 25% of the screen)
Summary: If auto-login is enabled in user manager, Wayland session is started incorrec...
Status: RESOLVED UPSTREAM
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: 5.16.5
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords:
: 417655 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-06-13 23:36 UTC by Patrick Silva
Modified: 2020-02-19 14:52 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
plasma using 25% of the screen (256.23 KB, image/jpeg)
2018-06-13 23:36 UTC, Patrick Silva
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2018-06-13 23:36:47 UTC
Created attachment 113264 [details]
plasma using 25% of the screen

start wayland session
open system settings, open user manager, select your user account,
check "automatic login", click "ok" and type your password to apply the setting.

restart your computer, wayland session is started automatically but plasma uses 25% of the screen as you can see in my picture. Furthermore plasma is running under X11 instead Wayland. Open konsole, type "xwininfo" and move cursor on wallpaper. Cursor changes to "+" indicaiting X11 session.

Arch Linux running plasma 5.15, frameworks 5.47, qt 5.11.
Comment 1 David Edmundson 2018-06-14 00:19:00 UTC
can you paste full output of env and /etc/sddm.conf
Comment 2 Patrick Silva 2018-06-14 00:54:23 UTC
[Autologin]
Relogin=false
Session=
User=stalker

[General]
HaltCommand=
Numlock=on
RebootCommand=

[Theme]
Current=breeze
CursorTheme=Bibata_Ice

[Users]
MaximumUid=65000
MinimumUid=1000


env
GS_LIB=/home/stalker/.fonts
KDE_FULL_SESSION=true
LANG=pt_BR.UTF-8
PROFILEHOME=
DISPLAY=:0
SHELL_SESSION_ID=69785718d9b2482cb5316b9877f3c634
COLORTERM=truecolor
QT_SCREEN_SCALE_FACTORS=VGA-1=1.2;HDMI-1=1.2;HDMI-2=1.2;DP-1=1.2;HDMI-3=1.2;
MOZ_PLUGIN_PATH=/usr/lib/mozilla/plugins
XDG_VTNR=1
PAM_KWALLET5_LOGIN=/run/user/1000/kwallet5.socket
XDG_SESSION_ID=c3
USER=stalker
DESKTOP_SESSION=/usr/share/xsessions/plasma
PWD=/home/stalker
HOME=/home/stalker
XCURSOR_SIZE=0
XDG_SESSION_TYPE=x11
XDG_DATA_DIRS=/home/stalker/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share:/var/lib/snapd/desktop
KONSOLE_DBUS_SESSION=/Sessions/1
XDG_SESSION_DESKTOP=KDE
KONSOLE_DBUS_WINDOW=/Windows/1
GTK_MODULES=canberra-gtk-module
MAIL=/var/spool/mail/stalker
TERM=xterm-256color
SHELL=/bin/bash
KONSOLE_DBUS_SERVICE=:1.60
XDG_SESSION_CLASS=user
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
XCURSOR_THEME=breeze_cursors
XDG_CURRENT_DESKTOP=KDE
KONSOLE_PROFILE_NAME=Perfil 1
XDG_SEAT=seat0
SHLVL=2
COLORFGBG=15;0
LANGUAGE=pt_BR
WINDOWID=67108870
LOGNAME=stalker
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
XDG_RUNTIME_DIR=/run/user/1000
XAUTHORITY=/home/stalker/.Xauthority
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session2
QT_AUTO_SCREEN_SCALE_FACTOR=0
PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/var/lib/flatpak/exports/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/var/lib/snapd/snap/bin
KDE_SESSION_UID=1000
KDE_SESSION_VERSION=5
SESSION_MANAGER=local/Arch-PC:@/tmp/.ICE-unix/972,unix/Arch-PC:/tmp/.ICE-unix/972
_=/usr/bin/env
Comment 3 David Edmundson 2018-06-14 08:37:13 UTC
> wayland session is started automatically 

What makes you say wayland session is started automatically?
Comment 4 Patrick Silva 2018-06-14 13:05:54 UTC
When the problem shown in my screenshot occurs, I do logout and "Plasma (Wayland)" is selected in sddm.
If I start X11 session and restart computer, X11 session starts automatically without the problem shown in my screenshot.
Comment 5 Patrick Silva 2018-10-10 19:23:17 UTC
Problem described here occurs when auto-login is enabled in system settings > Account details > user manager.
Wayland session auto-login works as expected when it's enabled in SDDM KCM > "Advanced" tab.
Comment 6 Patrick Silva 2019-01-17 23:46:04 UTC
(In reply to Patrick Silva from comment #5)
> Problem described here occurs when auto-login is enabled in system settings
> > Account details > user manager.
> Wayland session auto-login works as expected when it's enabled in SDDM KCM >
> "Advanced" tab.

same thing in plasma 5.15 beta.

Operating System: Arch Linux 
KDE Plasma Version: 5.14.90
KDE Frameworks Version: 5.54.0
Qt Version: 5.12.0
Comment 7 Mike Lothian 2019-03-04 10:56:38 UTC
I've been seeing this on Gentoo too

I thought it might be something to do with my setup but I'm not sure how to diagnose wayland issues

Are there logs (like the equivalent of /var/log/Xorg.0.log) that might be of use?
Comment 8 Patrick Silva 2020-02-15 00:24:08 UTC
*** Bug 417655 has been marked as a duplicate of this bug. ***
Comment 9 Mike Lothian 2020-02-15 12:18:57 UTC
Do you require any more information to try and sort this?
Comment 10 David Edmundson 2020-02-19 14:52:53 UTC
Seems like https://github.com/sddm/sddm/issues/1217