Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic:  Problem after login of second or new user  (Read 2703 times)

Offline shab

  • User
  • Posts: 10
Problem after login of second or new user
« 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.




Offline dibl

  • siduction community member
  • Global Moderator
  • User
  • *****
  • Posts: 2.345
    • Land of the Buckeye
Re: Problem after login of second or new user
« Reply #1 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.
System76 Oryx Pro, Intel Core i7-11800H, SSD 970 EVO Plus;  Asus ROG STRIX X299-E, Core i7-7740X, Nvidia GTX-1060, dual monitors, SSD 860 EVO

Offline shab

  • User
  • Posts: 10
Re: Problem after login of second or new user
« Reply #2 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?






Offline devil

  • Administrator
  • User
  • *****
  • Posts: 4.838
Re: Problem after login of second or new user
« Reply #3 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.

Offline shab

  • User
  • Posts: 10

Offline hendrikL

  • Administrator
  • User
  • *****
  • Gravatar
  • Posts: 927
Re: Problem after login of second or new user
« Reply #5 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

Offline dibl

  • siduction community member
  • Global Moderator
  • User
  • *****
  • Posts: 2.345
    • Land of the Buckeye
Re: Problem after login of second or new user
« Reply #6 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.
« Last Edit: 2018/09/14, 10:47:13 by dibl »
System76 Oryx Pro, Intel Core i7-11800H, SSD 970 EVO Plus;  Asus ROG STRIX X299-E, Core i7-7740X, Nvidia GTX-1060, dual monitors, SSD 860 EVO

Offline shab

  • User
  • Posts: 10
Re: Problem after login of second or new user
« Reply #7 on: 2018/09/14, 13:40:26 »
dibl, I did this. But nothing changed :(

Offline dibl

  • siduction community member
  • Global Moderator
  • User
  • *****
  • Posts: 2.345
    • Land of the Buckeye
Re: Problem after login of second or new user
« Reply #8 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.
« Last Edit: 2018/09/14, 14:51:44 by dibl »
System76 Oryx Pro, Intel Core i7-11800H, SSD 970 EVO Plus;  Asus ROG STRIX X299-E, Core i7-7740X, Nvidia GTX-1060, dual monitors, SSD 860 EVO

Offline shab

  • User
  • Posts: 10
Re: Problem after login of second or new user
« Reply #9 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!
« Last Edit: 2018/09/16, 15:32:03 by shab »