Siduction Forum

Siduction Forum => Upgrade Warnings => Topic started by: shab on 2018/09/12, 17:23:01

Title: Problem after login of second or new user
Post by: shab on 2018/09/12, 17:23:01
After login of one specific user everything is ok.


But after a login of a second user or a new user the usual backgroundpicture appears and some secons later the screen gets black, so taskbar, no desktop context menue, nothing.


With yakuare in auotstart I am able to start programs without problem.



Title: Re: Problem after login of second or new user
Post by: dibl on 2018/09/12, 23:59:21
Is there a desktop environment installed on that system?  How about a login manager?  How about inxi which would give you the ability to generate some useful information about your system.  No information  ---  no help.
Title: Re: Problem after login of second or new user
Post by: shab on 2018/09/13, 18:58:23

Thank you dibl

It is KDE desktop.
login manager? How can i identify it?
inxi:
CPU: Dual Core Intel Core i3-2120 (-MT MCP-) [/color]speed/min/max: 2333/1600/3300 MHz
[/color]Kernel: 4.18.7-towo.1-siduction-amd64 x86_64 [/color]Up: 1h 26m [/color]Mem: 960.0/1625.0 MiB (59.1%)
[/color]Storage: 698.65 GiB (18.5% used) [/color]Procs: 214 [/color]Shell: bash 4.4.23 [/color]inxi: 3.0.24
[/font]

Which other usefull information can i provide?





Title: Re: Problem after login of second or new user
Post by: devil on 2018/09/13, 20:21:26
Best provide the output of inxi -v3 in a pastebin like https://paste.debian.net and put the URL in here.
Title: Re: Problem after login of second or new user
Post by: shab on 2018/09/13, 20:58:11
https://paste.debian.net/1042119
Title: Re: Problem after login of second or new user
Post by: hendrikL on 2018/09/14, 08:39:51
You problem is very strange, never heard something before!

Do you have a second desktop environment installed, beside to plasma/kf5 (kde), like xfce, gnome ...?
The login-manager, called dm, is sddm and the window-manager (wm) is kwin_x11 or wayland?

Ah, btw, if you and others paste code or, for example, the output of inxi here.
Please use the code (#) tags like,


[code]
inxi -c0 -Sxx ( -c0 removes the color of the inxi output )
<output without the color tags >
[/code]

The result for example:
Code: [Select]
$ inxi -c0 -Sxx
System:    Host: hhl Kernel: 4.18.7-towo.1-siduction-amd64 x86_64 bits: 64 compiler: gcc v: 7.3.0
           Desktop: KDE Plasma 5.13.5 tk: Qt 5.11.1 wm: kwin_x11 dm: SDDM
           Distro: siduction 15.1.0 Thunderstruck - kde - (201512041044) base: Debian GNU/Linux buster/sid
Title: Re: Problem after login of second or new user
Post by: dibl on 2018/09/14, 09:45:59
Ctrl-Alt-F1 and login as root.

Shut down X.  I use

Code: [Select]
systemctl isolate multi-user.target but I think you can just use systemctl to stop the sddm service.

Use
Code: [Select]
ps aux and kill -9 any remaining user processes.

Next, go to the /home/problemuser directory for a user who can't log in correctly. cd to ~/.config and there

Code: [Select]
rm kwinrc
Now you can restart the sddm service and the user should be able to log in.  The first login will be a little slow.
Title: Re: Problem after login of second or new user
Post by: shab on 2018/09/14, 13:40:26
dibl, I did this. But nothing changed :(
Title: Re: Problem after login of second or new user
Post by: dibl on 2018/09/14, 14:46:46
OK.

First, in a root terminal, make certain there are no files owned by root in the problem user's home folder.  If there are, then that is the problem.

If there are no root-owned files in the problem user's home directory, then do all the same steps as before, but this time remove both kwinrc and plasmarc, and then restart X and try a login.

Also if it fails again, you might want to use konsole and
Code: [Select]
tail .xsession-errors in the problem user's home folder, and post those lines here.
Title: Re: Problem after login of second or new user
Post by: shab on 2018/09/15, 18:54:33
Great, it works!

I removed all root-owned files in the home directory of one specific user with the problem and kwinrc and plasmarc as well and did the proceture as described before.

All useres that had the problem before, work perfectly now.

Exelent suport dibl, thank you!