Bug 28845 - Start session with new user stuck in Mageia Wallpaper
Summary: Start session with new user stuck in Mageia Wallpaper
Status: RESOLVED WORKSFORME
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 8
Hardware: i586 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: KDE maintainers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-28 05:27 CEST by katnatek
Modified: 2021-05-10 03:22 CEST (History)
3 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments
journal info of 27-apr-2021 (315.66 KB, application/gzip)
2021-04-28 05:29 CEST, katnatek
Details
journalctl -b --no-hostname (364.08 KB, text/plain)
2021-04-28 23:48 CEST, katnatek
Details
ps faux|grep jhondoe (6.53 KB, text/plain)
2021-04-28 23:49 CEST, katnatek
Details
updated ps faux|grep jhondoe (7.60 KB, text/plain)
2021-05-01 00:27 CEST, katnatek
Details
output of plasmashell --replace runing in wayland (7.60 KB, text/plain)
2021-05-01 00:48 CEST, katnatek
Details
ls -Rla /home/jhondoe (113.67 KB, text/plain)
2021-05-04 00:58 CEST, katnatek
Details

Description katnatek 2021-04-28 05:27:22 CEST
Description of problem:

Don't sure if userdrake is the guilty but i have to start with this

I have a MGA 8 system upgraded from MGA 7, and for test purposes i create a new user without password , close session try to start session with the new user
i see for a few seconds the Mageia Welcome screen the black then Mageia Wallpaper and stay in it "forever" until i Ctrl Alt Backspace

I try:
  give the new user a password
  give a custom hostname
  reboot and try to start session in this new user

But same result 


Not sure what other information i can provide
Comment 1 katnatek 2021-04-28 05:29:51 CEST
Created attachment 12682 [details]
journal info of 27-apr-2021
Comment 2 katnatek 2021-04-28 18:37:17 CEST
Forget to say SDDM / Plasma
Comment 3 Lewis Smith 2021-04-28 21:30:02 CEST
Thank you for the report, and sorry for the inconvenience. To summarise your system, please post the output of:
 $ inxi -MSGxx

 Re the journal, I think this is a sample start point for the bug:
27 20:38:40 - reboot
 ....
27 21:41:49 cefiro systemd-logind[810]: New session 13 of user testuser.
27 21:41:49 cefiro systemd[1]: Started Session 13 of user testuser.
27 21:41:49 cefiro login[15325]: pam_unix(login:session): session opened for user testuser by LOGIN(uid=0)
27 21:41:49 cefiro login[15325]: LOGIN ON tty2 BY testuser
 ...
27 21:41:56 cefiro systemd-logind[810]: Removed session 13
27 21:41:56 cefiro systemd[1]: Stopped Getty on tty2
 but searching for 'testuser' shows other instances.

Can you confirm that at least the existing user runs OK.
And what happens if you create a second 'new' user, and re-login to that?

BTW To limit the journal to just the current boot (if the GUI is blocked, use a virtual console Ctl/Alt/Fn), please do:
 # journalctl -b --no-hostname > filename
or for the previous session
 # journalctl -b -1 --no-hostname > filename

Status: NEW => NEEDINFO
CC: (none) => lewyssmith, ouaurelien

Comment 4 katnatek 2021-04-28 23:19:10 CEST
(In reply to Lewis Smith from comment #3)
> Thank you for the report, and sorry for the inconvenience. To summarise your
> system, please post the output of:
>  $ inxi -MSGxx

inxi -MSGxx
System:    Host: cefiro Kernel: 5.10.30-desktop-1.mga8 i686 bits: 32 compiler: gcc v: 10.3.0 Console: tty 1 wm: kwin_x11 
           DM: SDDM Distro: Mageia 8 mga8 
Machine:   Type: Laptop System: Hewlett-Packard product: Compaq Presario C700 Notebook PC v: F.34 serial: CND8452P36 Chassis: 
           type: 10 serial: N/A 
           Mobo: Hewlett-Packard model: 30D9 v: 83.21 serial: CND8452P36 BIOS: Hewlett-Packard v: F.34 date: 09/25/2008 
Graphics:  Device-1: Intel Mobile GM965/GL960 Integrated Graphics vendor: Hewlett-Packard Presario C700 driver: i915 v: kernel 
           bus ID: 00:02.0 chip ID: 8086:2a02 
           Device-2: Chicony integrated USB webcam type: USB driver: uvcvideo bus ID: 1-6:4 chip ID: 04f2:b057 
           Display: server: Mageia X.org 1.20.11 compositor: kwin_x11 driver: intel,v4l resolution: 1360x768~60Hz s-dpi: 96 
           OpenGL: renderer: Mesa DRI Intel 965GM (CL) v: 2.1 Mesa 21.0.2 direct render: Yes 

 
> Can you confirm that at least the existing user runs OK.
The user that i create in MGA 7 time works and is from i write this bug

> And what happens if you create a second 'new' user, and re-login to that?
> 

I will test and come back
Comment 5 katnatek 2021-04-28 23:47:24 CEST
Same result with the second new user this time i create it with password
Comment 6 katnatek 2021-04-28 23:48:10 CEST
Created attachment 12685 [details]
journalctl -b --no-hostname
Comment 7 katnatek 2021-04-28 23:49:13 CEST
Created attachment 12686 [details]
ps faux|grep jhondoe
Comment 8 katnatek 2021-04-28 23:50:43 CEST
Lewis could this be a unexpected side effect of bug#27362 ?
Comment 9 Lewis Smith 2021-04-29 21:44:17 CEST
Ping Aurélien on that.
Looking at all you have tried, I cannot see any connection. Your problem relates specifically to new users, even if you log directly into them from booting. However, it will be useful to see whether the many updates just pushed for it (https://bugs.mageia.org/show_bug.cgi?id=27362#c36) change your situation.

Can you try with Wayland? You have to install additional packages, but I am not sure exactly which ones. Nor if it is available 32-bit. I have:
kwayland-5.76.0-1.mga8
kwayland-integration-5.20.4-1.mga8
kwayland-server-5.20.4-1.mga8
kwin-wayland-5.20.4-3.mga8
lib64gstwayland1.0_0-1.18.3-1.mga8.tainted
lib64kf5wayland5-5.76.0-1.mga8
lib64kwaylandserver5-5.20.4-1.mga8
lib64qt5waylandclient5-5.15.2-2.mga8
lib64qt5waylandcompositor5-5.15.2-2.mga8
lib64wayland-client0-1.18.0-3.mga8
lib64wayland-cursor0-1.18.0-3.mga8
lib64wayland-egl1-1.18.0-3.mga8
lib64wayland-server0-1.18.0-3.mga8
plasma-workspace-wayland-5.20.4-5.mga8
qtwayland5-5.15.2-2.mga8
x11-server-xwayland-1.20.11-1.mga8
 but think you only need to add just one or two of those. Arélien will know.
Once you have it, it shows as a new entry in the SDDM desktop choice list.
Admitting this is a stab in the dark, the idea comes from that other Bug 27362.

Hardware: All => i586

Comment 10 katnatek 2021-04-29 22:04:56 CEST
(In reply to Lewis Smith from comment #9)
For the moment i will wait until packages of bug#27362#c36 reach official updates
Thanks
Comment 11 Aurelien Oudelet 2021-04-30 10:57:01 CEST
(In reply to katnatek from comment #0)
> Description of problem:
> 
> Don't sure if userdrake is the guilty but i have to start with this
> 
> I have a MGA 8 system upgraded from MGA 7, and for test purposes i create a
> new user without password , close session try to start session with the new
> user
> i see for a few seconds the Mageia Welcome screen the black then Mageia
> Wallpaper and stay in it "forever" until i Ctrl Alt Backspace
> 
> I try:
>   give the new user a password
>   give a custom hostname
>   reboot and try to start session in this new user


Log with the test user,
when you reach the stuck Mageia Wallpaper, do:
alt+f2 to launch KRunner and issue: "plasmashell --replace &"

If Plasma does not start, unfortunately there is something from in the Plasma config files in this user directory.

Log off this user as root:
on a tty, do:
loginctl

See the jhondoe session
and do for example if c2 is the session of jhondoe:
loginctl kill-session c2

Later, as root, remove in jhondoe directory all
.config, .cache, .local, .dbus, .kde directories. Remove also .Xauthority files.

Try again after a full system restart.
Comment 12 katnatek 2021-04-30 20:02:27 CEST
(In reply to Aurelien Oudelet from comment #11)
> Log with the test user,
> when you reach the stuck Mageia Wallpaper, do:
> alt+f2 to launch KRunner and issue: "plasmashell --replace &"
> 
This not works for unknown reason the mouse pointer disappear when reach this point if that is useful, and don't see the correspondent action after pres alt+f2

Just in case i try again after from my working user in console run

su - jhondoe
systemsettings5

And set some things as in my working user

> If Plasma does not start, unfortunately there is something from in the
> Plasma config files in this user directory.
> 
> Log off this user as root:
> on a tty, do:
> loginctl
> 
> See the jhondoe session
> and do for example if c2 is the session of jhondoe:
> loginctl kill-session c2
> 
Thank you for this info

> Later, as root, remove in jhondoe directory all
> .config, .cache, .local, .dbus, .kde directories. Remove also .Xauthority
> files.
> 
> Try again after a full system restart.
This also don't works but honestly it surprise me if other way, don't see difference in this and start session after reboot with the user recently created
Comment 13 katnatek 2021-05-01 00:27:35 CEST
Created attachment 12692 [details]
updated ps faux|grep jhondoe

Well today i: 

update for packages in  bug#27362 a
delete all the nonworking users
enable msec, i use to disable it
recreate the jhondoe user
reboot

And still not works :'(

I still see a defunct process 
/usr/bin/startplasma-x11
\_ [50-systemd-user] <defunct>

If i remember well a systemd update is been prepared, so i comeback when i test
the wayland idea.
Comment 14 katnatek 2021-05-01 00:48:40 CEST
Created attachment 12693 [details]
output of plasmashell --replace runing in wayland

The wyland session load but presents to me an empty desktop with the "Shell"
background by default

I can open console and run plasmashell --replace& as suggested
Comment 15 Aurelien Oudelet 2021-05-02 18:14:31 CEST
(In reply to katnatek from comment #14)
> Created attachment 12693 [details]
> output of plasmashell --replace runing in wayland
> 
> The wyland session load but presents to me an empty desktop with the "Shell"
> background by default
> 
> I can open console and run plasmashell --replace& as suggested

There something wrong on this system and in the user directory. It seems there is some bad permissions issues, like not writable folder for the user or owned by root instead of him. Normally, such behavior: an empty session should give you a default desktop without any glitches.

As we can see what's wrong, I propose to reinstall Plasma:
as root:

Default Plasma rpm on x86_64 (possible duplicates as I grepped them on my system)

plasma-pa-5.20.4-1.mga8
lib64plasmapotdprovidercore1-5.20.4-1.mga8
plasma-workspace-5.20.4-5.mga8
lib64plasmacomicprovidercore1-5.20.4-1.mga8
lib64kf5plasma5-5.76.0-2.mga8
plasma-browser-integration-5.20.4-1.mga8
plasma-integration-5.20.4-1.mga8
kdeplasma-addons-5.20.4-1.mga8
plasma-framework-5.76.0-2.mga8
lib64kf5plasmaquick5-5.76.0-2.mga8
task-plasma5-minimal-5.20.4-2.mga8
plasma-wayland-protocols-1.1.1-1.mga8
plasma-applet-nm-5.20.4-1.mga8
mageia-plasma5-config-8-5.mga8
plasma-workspace-wayland-5.20.4-5.mga8
lib64plasma-geolocation-interface5-5.20.4-5.mga8
plasma-disks-5.20.4-1.mga8
plasma-desktop-5.20.4-4.mga8

lib64kdebugsettings5-20.12.0-1.mga8
kdesu-5.76.0-1.mga8
kde-cli-tools-5.20.4-1.mga8
kdeconnect-kde-20.12.0-1.mga8
kde-gtk-config-5.20.4-1.mga8
kdeclarative-5.76.0-3.mga8
lib64kdeconnectpluginkcm20-20.12.0-1.mga8
polkit-kde-agent-1-5.20.4-1.mga8
libkdepim-20.12.0-1.mga8
kdeconnect-kde-handbook-20.12.0-1.mga8
lib64kdecorations2private7-5.20.4-1.mga8
lib64kf5libkdepim5-20.12.0-1.mga8
kdeplasma-addons-5.20.4-1.mga8
kdebugsettings-20.12.0-1.mga8
kdenlive-20.12.0-4.mga8
lib64kdeconnectinterfaces20-20.12.0-1.mga8
kdelibs4support-5.76.0-1.mga8
akonadi-kde-20.12.0-1.mga8
lib64kdeconnectcore20-20.12.0-1.mga8
kdepim-addons-20.12.0-2.mga8
mlt-kdenlive-6.24.0-2.mga8
kdegraphics-thumbnailers-20.12.0-1.mga8
lib64kf5kdelibs4support5-5.76.0-1.mga8
kdegraphics-mobipocket-20.12.0-1.mga8
kdecoration-5.20.4-1.mga8
lib64kdecorations2_5-5.20.4-1.mga8
kded-5.76.0-1.mga8
xdg-desktop-portal-kde-5.20.4-2.mga8

lib64kf5kleopatraclientgui1-20.12.0-1.mga8
lib64kf5baloowidgets5-20.12.0-1.mga8
lib64kf5kiofilewidgets5-5.76.0-1.mga8
lib64kf5sonnetui5-5.76.0-2.mga8
lib64kf5akonadicalendar5-20.12.0-1.mga8
lib64kf5wayland5-5.76.0-1.mga8
lib64kf5iconthemes5-5.76.0-1.mga8
lib64kf5style5-5.76.0-1.mga8
lib64kf5grantleetheme5-20.12.0-1.mga8
lib64kf5kcmutils5-5.76.0-1.mga8
lib64kf5emoticons5-5.76.0-1.mga8
lib64kf5doctools5-5.76.0-1.mga8
lib64kf5akonadimime5-20.12.0-1.mga8
lib64kf5balooengine5-5.76.0-2.mga8
lib64kf5contacteditor5-20.12.0-1.mga8
lib64kfontinstui5-5.20.4-5.mga8
lib64kf5prison5-5.76.0-1.mga8
lib64kf5incidenceeditor5-20.12.0-1.mga8
lib64kf5mediaplayer5-5.76.0-1.mga8
lib64kf5purposewidgets5-5.76.0-1.mga8
lib64kf5pimcommon5-20.12.0-1.mga8
lib64kf5bookmarks5-5.76.0-1.mga8
lib64kf5messagecomposer5-20.12.0-1.1.mga8
lib64kf5widgetsaddons5-5.76.0-1.mga8
lib64kf5guiaddons5-5.76.0-1.mga8
lib64kf5solid5-5.76.0-1.2.mga8
lib64kf5package5-5.76.0-1.mga8
lib64kf5kiocore5-5.76.0-1.mga8
lib64kf5textwidgets5-5.76.0-1.mga8
lib64kf5kontactinterface5-20.12.0-1.mga8
lib64kf5kmanagesieve5-20.12.0-1.mga8
lib64kf5threadweaver5-5.76.0-2.mga8
lib64kf5mbox5-20.12.0-1.mga8
lib64kf5coreaddons5-5.76.0-1.mga8
lib64kf5activitiesstats1-5.76.0-1.mga8
lib64kf5globalaccel5-5.76.0-2.mga8
lib64kf5newstuffcore5-5.76.0-1.mga8
lib64kf5idletime5-5.76.0-1.mga8
lib64kf5webengineviewer5-20.12.0-1.1.mga8
lib64kf5akonadiagentbase5-20.12.0-1.mga8
lib64kf5ksieve5-20.12.0-1.mga8
lib64kf5plasma5-5.76.0-2.mga8
lib64kf5akonadisearchdebug5-20.12.0-1.mga8
lib64kf5akonadicontact5-20.12.0-1.mga8
lib64kf5completion5-5.76.0-1.mga8
lib64kf5i18n5-5.76.0-1.mga8
lib64kf5service5-5.76.0-1.mga8
lib64kf5codecs5-5.76.0-1.mga8
lib64kf5globalaccelprivate5-5.76.0-2.mga8
lib64kf5kiontlm5-5.76.0-1.mga8
lib64kf5networkmanagerqt6-5.76.0-1.mga8
lib64kf5js5-5.76.0-1.mga8
lib64kf5jsapi5-5.76.0-1.mga8
lib64kf5unitconversion5-5.76.0-1.mga8
lib64kf5krosscore5-5.76.0-1.mga8
lib64kf5peoplewidgets5-5.76.0-1.mga8
lib64kf5ldap5-20.12.0-1.mga8
lib64kf5syntaxhighlighting5-5.76.0-1.mga8
lib64kf5mailimporterakonadi5-20.12.0-1.mga8
lib64kf5configcore5-5.76.0-1.mga8
lib64kf5akonadicore5-20.12.0-1.mga8
lib64kf5jobwidgets5-5.76.0-1.mga8
lib64kf5libkdepim5-20.12.0-1.mga8
lib64kf5newstuff5-5.76.0-1.mga8
lib64kf5kscreen7-5.20.4-1.mga8
lib64kf5khtml5-5.76.0-1.mga8
lib64kf5sane5-20.12.0-1.mga8
lib64kf5torrent6-20.12.0-1.mga8
lib64kf5messageviewer5-20.12.0-1.1.mga8
lib64kf5holidays5-5.76.0-1.mga8
lib64kf5contacts5-5.76.0-1.mga8
lib64kf5identitymanagement5-20.12.0-1.mga8
lib64kf5su5-5.76.0-1.mga8
lib64kf5eventviews5-20.12.0-1.mga8
lib64kf5configgui5-5.76.0-1.mga8
lib64kf5wallet5-5.76.0-1.mga8
lib64kf5attica5-5.76.0-1.mga8
lib64kf5crash5-5.76.0-1.mga8
lib64kf5plotting5-5.76.0-1.mga8
lib64kf5kiowidgets5-5.76.0-1.mga8
lib64kf5akonadiwidgets5-20.12.0-1.mga8
lib64kf5akonadinotes5-20.12.0-1.mga8
lib64kf5plasmaquick5-5.76.0-2.mga8
lib64kf5kipi5-20.12.0-1.mga8
lib64kf5tnef5-20.12.0-1.mga8
lib64kf5imap5-20.12.0-1.mga8
lib64kf5libkleo5-20.12.0-1.mga8
lib64kf5dav5-5.76.0-1.mga8
lib64kf5pimcommonakonadi5-20.12.0-1.mga8
lib64kf5sonnetcore5-5.76.0-2.mga8
lib64kf5mailtransport5-20.12.0-1.mga8
lib64kf5itemmodels5-5.76.0-1.mga8
lib64kf5mailimporter5-20.12.0-1.mga8
lib64kf5dbusaddons5-5.76.0-1.mga8
lib64kf5archive5-5.76.0-1.mga8
lib64kf5walletbackend55-5.76.0-1.mga8
lib64kf5kiogui5-5.76.0-1.mga8
lib64kf5quickaddons5-5.76.0-3.mga8
lib64kf5akonadisearchxapian5-20.12.0-1.mga8
lib64kf5auth5-5.76.0-1.mga8
lib64kf5templateparser5-20.12.0-1.1.mga8
lib64kf5filemetadata3-5.76.0-1.mga8
lib64kf5syndication5-5.76.0-1.mga8
lib64kf5people5-5.76.0-1.mga8
lib64kf5messagecore5-20.12.0-1.1.mga8
lib64kf5alarmcalendar5-20.12.0-1.mga8
lib64kf5activities5-5.76.0-1.mga8
lib64kfontinst5-5.20.4-5.mga8
lib64kf5calendarcore5-5.76.0-1.mga8
lib64kf5runner5-5.76.0-1.mga8
lib64kf5kdelibs4support5-5.76.0-1.mga8
lib64kf5mime5-20.12.0-1.mga8
lib64kf5akonadisearchpim5-20.12.0-1.mga8
lib64kf5akonadisearchcore5-20.12.0-1.mga8
lib64kf5exiv2_5-20.12.0-1.mga8
lib64kf5peoplebackend5-5.76.0-1.mga8
lib64kf5messagelist5-20.12.0-1.1.mga8
lib64kf5ksieveui5-20.12.0-1.mga8
lib64kf5calendarutils5-20.12.0-1.mga8
lib64kf5akonadixml5-20.12.0-1.mga8
lib64kf5pty5-5.76.0-1.mga8
lib64kf5pulseaudioqt_2-1.2-3.mga8
lib64kf5authcore5-5.76.0-1.mga8
lib64kf5mailcommon5-20.12.0-1.mga8
lib64kf5pimtextedit5-20.12.0-1.mga8
lib64kf5kirigami2_5-5.76.0-3.mga8
lib64kf5parts5-5.76.0-1.mga8
lib64kf5baloo5-5.76.0-2.mga8
lib64kf5modemmanagerqt6-5.76.0-1.mga8
lib64kf5mailtransportakonadi5-20.12.0-1.mga8
lib64kf5windowsystem5-5.76.0-1.mga8
lib64kf5calendarevents5-5.76.0-3.mga8
lib64kf5configwidgets5-5.76.0-1.mga8
lib64kf5purpose5-5.76.0-1.mga8
lib64kf5xmlgui5-5.76.0-1.mga8
lib64kf5kdcraw5-20.12.0-1.mga8
lib64kf5kleopatraclientcore1-20.12.0-1.mga8
lib64kf5mimetreeparser5-20.12.0-1.1.mga8
lib64kf5notifyconfig5-5.76.0-1.mga8
lib64kf5konq6-20.12.0-1.mga8
lib64kf5notifications5-5.76.0-3.mga8
lib64kf5texteditor5-5.76.0-2.mga8
lib64kf5calendarsupport5-20.12.0-1.mga8
lib64kf5itemviews5-5.76.0-1.mga8
lib64kf5gravatar5-20.12.0-1.mga8
lib64kf5declarative5-5.76.0-3.mga8
lib64kf5dnssd5-5.76.0-1.mga8
lib64kf5bluezqt6-5.76.0-1.mga8
Comment 16 Lewis Smith 2021-05-02 21:56:42 CEST
(In reply to Aurelien Oudelet from comment #15)
> There something wrong on this system and in the user directory. It seems
> there is some bad permissions issues, like not writable folder for the user
> or owned by root instead of him. Normally, such behavior: an empty session
> should give you a default desktop without any glitches.
What is most puzzling here is that *new* users suffer the problem, not the existing one. So the (reasonable) idea that there is something wrong with the new home directories suggests a problem with adding the new user.

@katnatek
Thank you for trying Plasma/Wayland, although the results were confused. You did not say exactly how you added it (we have no wiki!); but it should basically work without any manipulations beyond choosing it from the SDDM login screen.

Are you willing to install an additional lightweight desktop (say LxQt) to test whether your problem is related to Plasma specifically?
Beware; if you do, you will not be able to remove it - that is not recommended. So do not add another desktop unless you can live with it: which does not mean you need to use it.

CC: (none) => kde

Comment 17 katnatek 2021-05-03 05:24:21 CEST
(In reply to Lewis Smith from comment #16)
> @katnatek
> Thank you for trying Plasma/Wayland, although the results were confused. You
> did not say exactly how you added it (we have no wiki!); but it should
> basically work without any manipulations beyond choosing it from the SDDM
> login screen.
> 

The Release notes mention something
https://wiki.mageia.org/en/Mageia_8_Release_Notes#Plasma
i install that and plasma-wayland-protocols

> Are you willing to install an additional lightweight desktop (say LxQt) to
> test whether your problem is related to Plasma specifically?
> Beware; if you do, you will not be able to remove it - that is not
> recommended. So do not add another desktop unless you can live with it:
> which does not mean you need to use it.

Yes sure, i am preparing anwswer to comment #15 , maybe after that ;)
Comment 18 katnatek 2021-05-03 05:28:28 CEST
(In reply to Lewis Smith from comment #16)
Forget to say that the existing user also presents empty desktop with "Shell" background when i select plasma wayland
Comment 19 katnatek 2021-05-04 00:58:36 CEST
Created attachment 12700 [details]
ls -Rla /home/jhondoe

(In reply to Aurelien Oudelet from comment #15)

> There something wrong on this system and in the user directory. It seems
> there is some bad permissions issues, like not writable folder for the user
> or owned by root instead of him. Normally, such behavior: an empty session
> should give you a default desktop without any glitches.
> 

Weird i don't see root owning something in the list attached

and user folder look with the same rights as the working one

drwxr-x--- 17 jhondoe  jhondoe  4096 may  2 21:00 jhondoe/
drwxr-x--- 32 katnatek katnatek 4096 may  2 21:36 katnatek/

> As we can see what's wrong, I propose to reinstall Plasma:
> as root:
> 

I did part from this idea and installed the related task file with yet failing to start session in the new user

LC_ALL=C urpmi task-plasma5-minimal --allow-recommends
To satisfy dependencies, the following packages are going to be installed:
  Package                        Version      Release       Arch    
(medium "Core Release (distrib1)")
  dragon                         20.12.0      1.mga8        i586    (recommended)
  dragon-handbook                20.12.0      1.mga8        noarch  (recommended)
  elisa                          20.12.0      1.mga8        i586    (recommended)
  elisa-handbook                 20.12.0      1.mga8        noarch  (recommended)
  konq-plugins                   20.12.0      1.mga8        i586    (recommended)
  konqueror                      20.12.0      1.mga8        i586    
  konqueror-handbook             20.12.0      1.mga8        noarch  (recommended)
  libauparse0                    3.0          1.mga8        i586    (recommended)
  libkonqsidebarplugin5          20.12.0      1.mga8        i586    (recommended)
  okular                         20.12.0      1.mga8        i586    
  okular-handbook                20.12.0      1.mga8        noarch  (recommended)
  phonon4qt5-vlc                 0.11.1       2.mga8        i586    (recommended)
  readahead                      1.5.7        12.mga8       i586    (recommended)
  task-plasma5-minimal           5.20.4       2.mga8        noarch  
43MB of additional disk space will be used.
18MB of packages will be retrieved.
Proceed with the installation of the 14 packages? (Y/n) 

LC_ALL=C urpmi task-plasma5 --allow-recommends        
In order to satisfy the 'plasma5-irc-client' dependency, one of the following packages is needed:
 1- konversation-20.12.0-1.mga8.i586: A user friendly IRC Client for Plasma 5 (to install)
 2- quassel-0.13.1-6.mga8.i586: A modern cross-platform distributed (monolithic) IRC client (to install)
What is your choice? (1-2) 2
To satisfy dependencies, the following packages are going to be installed:
  Package                        Version      Release       Arch    
(medium "Core Release (distrib1)")
  inxi-quassel                   3.2.01       1.mga8        noarch  (recommended)
  kdeconnect-kde                 20.12.0      1.mga8        i586    (recommended)
  kdeconnect-kde-handbook        20.12.0      1.mga8        noarch  (recommended)
  kmag                           20.12.0      1.mga8        i586    (recommended)
  kmag-handbook                  20.12.0      1.mga8        noarch  (recommended)
  kmousetool                     20.12.0      1.mga8        i586    (recommended)
  kmousetool-handbook            20.12.0      1.mga8        noarch  (recommended)
  kmouth                         20.12.0      1.mga8        i586    (recommended)
  kmouth-handbook                20.12.0      1.mga8        noarch  (recommended)
  kpeoplevcard                   0.1          3.mga8        i586    (recommended)
  kruler                         20.12.0      1.mga8        i586    (recommended)
  kruler-handbook                20.12.0      1.mga8        noarch  (recommended)
  libfakekey0                    0.1          12.mga8       i586    (recommended)
  libkdeconnectcore20            20.12.0      1.mga8        i586    (recommended)
  libkdeconnectinterfaces20      20.12.0      1.mga8        i586    (recommended)
  libkdeconnectpluginkcm20       20.12.0      1.mga8        i586    (recommended)
  libkf5pulseaudioqt_2           1.2          3.mga8        i586    (recommended)
  quassel                        0.13.1       6.mga8        i586    (recommended)
  quassel-common                 0.13.1       6.mga8        noarch  (recommended)
  svgpart                        20.12.0      1.mga8        i586    (recommended)
  task-plasma5                   5.20.4       2.mga8        noarch  
(medium "Core Updates (distrib3)")
  libpq5                         13.2         1.mga8        i586    (recommended)
  libqt5-database-plugin-pgsql   5.15.2       4.2.mga8      i586    (recommended)
20MB of additional disk space will be used.
7.4MB of packages will be retrieved.
Proceed with the installation of the 23 packages? (Y/n) 

> Default Plasma rpm on x86_64 (possible duplicates as I grepped them on my
> system)
> 

List of packages missing the marked with * i already installed

From first list 

plasma-applet-nm-5.20.4-1.mga8
plasma-browser-integration-5.20.4-1.mga8
*plasma-disks-5.20.4-1.mga8


From second list

kdebugsettings-20.12.0-1.mga8
the equivalent to lib64kdebugsettings5-20.12.0-1.mga8
* xdg-desktop-portal-kde-5.20.4-2.mga8

From the third list

equivalent to lib64kf5mediaplayer5-5.76.0-1.mga8
              lib64kf5modemmanagerqt6-5.76.0-1.mga8
              lib64kf5plotting5-5.76.0-1.mga8

I start to doubt is related to missing packages, i try with other desktop before to
make a backup and do a new install
Comment 20 katnatek 2021-05-04 03:12:33 CEST
(In reply to Lewis Smith from comment #16)
> Are you willing to install an additional lightweight desktop (say LxQt) to
> test whether your problem is related to Plasma specifically?
> Beware; if you do, you will not be able to remove it - that is not
> recommended. So do not add another desktop unless you can live with it:
> which does not mean you need to use it.

Installed xfce and jhondoe can start session without issues, now i have to
investigate how make the desktop fits well in the external monitor as long
as i can't use the integrated screen of this laptop (it is broken)
Comment 21 katnatek 2021-05-04 05:48:43 CEST
Good News i make the Plasma Wayland session works
Playing with the change of task (Ctrl+tab) i notice 
mageia welcome is running but not in the empty area

Open a console, run systemsettings5 , disable the integrated screen and
voila! have a working desktop for the "new" user
Comment 22 Aurelien Oudelet 2021-05-04 05:59:13 CEST
(In reply to katnatek from comment #20)
> (In reply to Lewis Smith from comment #16)
> > Are you willing to install an additional lightweight desktop (say LxQt) to
> > test whether your problem is related to Plasma specifically?
> > Beware; if you do, you will not be able to remove it - that is not
> > recommended. So do not add another desktop unless you can live with it:
> > which does not mean you need to use it.
> 
> Installed xfce and jhondoe can start session without issues, now i have to
> investigate how make the desktop fits well in the external monitor as long
> as i can't use the integrated screen of this laptop (it is broken)

Sorry, you did not mention that *before*. A broken integrated screen and a second screen attached... The default setup for Plasma is to choose the integrated screen on mobile device to be set as primary screen and to put a black wallpaper not a shutdown screen on the secondary. Sometimes it gets the default Plasma version of wallpaper. This is not hardcoded.

This should be reported upstream. But "super" you have a working desktop now.
The reported bug should be: don't set a black background on non primary screen to not confuse user.

Status: NEEDINFO => UPSTREAM

Aurelien Oudelet 2021-05-04 05:59:42 CEST

Assignee: bugsquad => kde
Source RPM: drakconf-13.27-1.mga8.src.rpm => (none)

Comment 23 katnatek 2021-05-04 06:31:09 CEST
(In reply to Aurelien Oudelet from comment #22)
> Sorry, you did not mention that *before*. A broken integrated screen and a
> second screen attached... The default setup for Plasma is to choose the
> integrated screen on mobile device to be set as primary screen and to put a
> black wallpaper not a shutdown screen on the secondary. Sometimes it gets
> the default Plasma version of wallpaper. This is not hardcoded.
> 

Just until my last test i start to think is related, sorry to not mention since begining

> This should be reported upstream. But "super" you have a working desktop now.
> The reported bug should be: don't set a black background on non primary
> screen to not confuse user.

Sorry i will not make that.

Status: UPSTREAM => RESOLVED
Resolution: (none) => WORKSFORME

Comment 24 katnatek 2021-05-04 06:49:28 CEST
Many thanks to all
Comment 25 katnatek 2021-05-10 03:22:59 CEST
Just to give a workaround different to install plasma-wayland

In the user that can start standard plasma session
su - other_user
systemsettings5

Hardware -> Display and monitor

In the "Device" list select the "Laptop Screen"
Check Enabled

In the Device list select the external monitor
In the list "Replica of" select "Laptop Screen"

Click on "Apply"
Close session

Be sure the session selected is "Plasma"
Start session with the "other_user"

Now you can interact with the desktop and set the screen for the "other_user"

Note You need to log in before you can comment on or make changes to this bug.