SDDM infinite loop, How to correct sddm?

Hello,

I'm unable to login from SDDM. I don't how it's happening I can't figure out what I should do I'm confused now :disappointed:

Garuda INXI (from tty)

System:
  Kernel: 5.16.11-zen1-1-zen x86_64 bits: 64 compiler: gcc v: 11.2.0
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen root=UUID=28b9bda0-b454-461f-9c95-d6e1a406bed4
    rw [email protected] quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
    systemd.unified_cgroup_hierarchy=1 loglevel=3
  Console: tty 2 DM: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
  Type: Desktop Mobo: ASUSTeK model: H61M-CS v: Rev X.0x serial: <superuser required>
    BIOS: American Megatrends v: 0402 date: 02/28/2014
CPU:
  Info: model: Intel Pentium G2030 bits: 64 type: MCP arch: Ivy Bridge family: 6
    model-id: 0x3A (58) stepping: 9 microcode: 0x21
  Topology: cpus: 1x cores: 2 smt: <unsupported> cache: L1: 128 KiB
    desc: d-2x32 KiB; i-2x32 KiB L2: 512 KiB desc: 2x256 KiB L3: 3 MiB desc: 1x3 MiB
  Speed (MHz): avg: 2333 high: 2994 min/max: 1600/3000 scaling: driver: intel_cpufreq
    governor: performance cores: 1: 1673 2: 2994 bogomips: 11972
  Flags: ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3
  Vulnerabilities:
  Type: itlb_multihit status: KVM: VMX unsupported
  Type: l1tf mitigation: PTE Inversion
  Type: mds mitigation: Clear CPU buffers; SMT disabled
  Type: meltdown mitigation: PTI
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2
    mitigation: Full generic retpoline, IBPB: conditional, IBRS_FW, STIBP: disabled, RSB filling
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel Xeon E3-1200 v2/3rd Gen Core processor Graphics vendor: ASUSTeK driver: i915
    v: kernel ports: active: VGA-1 empty: DP-1,HDMI-A-1 bus-ID: 00:02.0 chip-ID: 8086:0152
    class-ID: 0300
  Display: server: X.org v: 1.21.1.3 with: Xwayland v: 22.1.0 driver: X: loaded: intel
    unloaded: modesetting alternate: fbdev,vesa gpu: i915 tty: 170x48
  Monitor-1: VGA-1 model: LG (GoldStar) 16M35 serial: <filter> built: 2014 res: 1366x768
    dpi: 101 gamma: 1.2 size: 344x194mm (13.5x7.6") diag: 395mm (15.5") ratio: 16:9 modes:
    max: 1366x768 min: 640x480
  Message: GL data unavailable in console. Try -G --display
Audio:
  Device-1: Intel 6 Series/C200 Series Family High Definition Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:1c20 class-ID: 0403
  Sound Server-1: ALSA v: k5.16.11-zen1-1-zen running: yes
  Sound Server-2: sndio v: N/A running: no
  Sound Server-3: PulseAudio v: 15.0 running: no
  Sound Server-4: PipeWire v: 0.3.47 running: no
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: ASUSTeK P8 series
    driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: e000 bus-ID: 03:00.0
    chip-ID: 10ec:8168 class-ID: 0200
  IF: enp3s0 state: down mac: <filter>
Drives:
  Local Storage: total: 465.76 GiB used: 182.17 GiB (39.1%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/sda maj-min: 8:0 vendor: Western Digital model: WD5000AZRX-00L4HB0
    size: 465.76 GiB block-size: physical: 4096 B logical: 512 B speed: 3.0 Gb/s type: HDD
    rpm: 5400 serial: <filter> rev: 1A01 scheme: MBR
Partition:
  ID-1: / raw-size: 128 GiB size: 128 GiB (100.00%) used: 31.88 GiB (24.9%) fs: btrfs
    dev: /dev/sda5 maj-min: 8:5
  ID-2: /home raw-size: 128 GiB size: 128 GiB (100.00%) used: 31.88 GiB (24.9%) fs: btrfs
    dev: /dev/sda5 maj-min: 8:5
  ID-3: /var/log raw-size: 128 GiB size: 128 GiB (100.00%) used: 31.88 GiB (24.9%) fs: btrfs
    dev: /dev/sda5 maj-min: 8:5
  ID-4: /var/tmp raw-size: 128 GiB size: 128 GiB (100.00%) used: 31.88 GiB (24.9%) fs: btrfs
    dev: /dev/sda5 maj-min: 8:5
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: zram size: 3.71 GiB used: 0 KiB (0.0%) priority: 100 dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 29.8 C mobo: 27.8 C
  Fan Speeds (RPM): N/A
Info:
  Processes: 151 Uptime: 16m wakeups: 0 Memory: 3.71 GiB used: 1.07 GiB (28.8%) Init: systemd
  v: 250 tool: systemctl Compilers: gcc: 11.2.0 clang: 13.0.1 Packages: pacman: 1821 lib: 377
  Shell: fish v: 3.3.1 running-in: tty 2 inxi: 3.3.13
e[1;34mGaruda (2.5.5-1):e[0m
e[1;34m  System install date:e[0m     2022-05-10
e[1;34m  Last full system update:e[0m 2022-03-11
e[1;34m  Is partially upgraded:  e[0m Yes
e[1;34m  Relevant software:      e[0m NetworkManager
e[1;34m  Windows dual boot:      e[0m <superuser required>
e[1;34m  Snapshots:              e[0m Snapper
e[1;34m  Failed units:           e[0m preload.service systemd-guest-user.service 

However I'm able to login from guest I try to provide ~/.xinitrc (from tty)

~/.xinitrc
#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)
userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap

if [ -d /etc/X11/xinit/xinitrc.d ] ; then
    for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
        [ -x "$f" ] && . "$f"
    done
    unset f
fi

export DESKTOP_SESSION=plasma
exec startplasma-x11

I also read guide from Arch Linux, I don't understand it and I don't want to break my system again
https://wiki.archlinux.org/title/Xinit#Configuration

Can you describe what happens when you try to log in? Do you see any error messages? Is this from a suspended state or a fresh boot?

2 Likes

No, fresh boot I tested by rebooting several times
SDDM loop infinitely even if type password to user account, but let me enter guest account
The problem is something wrong in config files, I guess

Also resetting from Garuda-Assistat is not working

It is still unclear what you are experiencing. Can you describe with a little more detail what is happening?

  • What screens are you looking at?
  • What inputs are you providing?
  • What is the feedback from the computer?
3 Likes

Sorry, I just can't login and enter gui of main account
SDDM shows again and again for main user account

I just can't get plain information from guest user bcz it don't have access to main user home folder that's why I'm stuck in tty and guest_gui, I have root access though

Maybe you could try booting to a tty (also to check that your account is ok) and reinstall sddm...
And if this is a sddm problem, you should be able to startx when in tty.

2 Likes

startx not working !
I mean it's not loading just a black screen.
Once I have tried it before when sddm was working correctly, it just keep on loading the splash screen then crashes after some time with errors. I will try to provide it's details through terminal

Probably I already asked you in a different thread: why is your system so outdated and partially upgraded? You should garuda-update, first of all.

4 Likes

Then I will try upgrading tomorrow, I dont have good internet connection but I will provide the details what's exactly happening

Did you try this yet? SDDM - ArchWiki

rm ~/.Xauthority
3 Likes

No success, I reinstalled sddm and removed ~/.Xauthority then logout, in second attempt rebooted after doing so.

I just want to know how the sddm is starting by itself, atleast plz provide details about that like .xinitrc

I don't know how sddm is started by daemons or not, If so then I should check all the configs that contain or related to sddm

May be I should reinstall whole OS, it's better less prone to errors and offline install/upgrade packages.

I'm not ready to wipe drive because of windows office lifetime, just I want to access the partition in which grub installed [MBR Record] , I want to correct more things there.

I accept arch as my daily driver even with problems. I understand the philosophy of arch and respect that.

What about Garuda barebones are they okay or has more bugs and fix accordingly
I wonder if it's run perfect without upgrading bearing some limitations.

Now I can't do much because IDK most of the things and I break my PC. I will try to dualboot more distroes including arch.

BTW thank you for helping me for this long.

Only the problem I have i.e Microsoft allow the product key to work on new hardware and grant 365 service along with that, I'm ready to wipe and install linux.

This is a general technical philosophy:

Don't touch a well working system

You should find something more productive to do with your PC(s) apart from changing system configuration and settings.
When you are in a mood to tinker your system to improve your knowledge,

Make backups

System don't (usually) break all of a sudden.

Peace!

1 Like

The problem is

SDDM only allow me to boot into guest and root users

Sorry, I can't paste my main user inputs

So a workaround could be to log as root and create a new user with sudo privileges.
Those images could have been provided as text... !!!

3 Likes

Why you post pictures from terminal outputs?

This is not desirable in technical help forums.

Besides, it looks like you haven't rebooted in a while (93 days?).
This could be your main problem.

2 Likes

Oh, god that's bios issue my bios not works properly I use system everyday
I use system everyday, before this problem occurred

I'm sure my bios only reset time and system specs only. I always just see bios screen when I boot first [If boot done in 30 minutes later shutdown bios still works fine, only breaks after the system being shutdown for an hour]

From where I should create plasma settings or Garuda settings else from terminal

Garuda settings not works for root user

I didn't say to change plasma or Garuda settings.
To create the new user you can do it from command line in the old good way, either booting to tty or chrooting from live USB. In the latter case it is easier to copy text and past it here (from tty you have to pass through termbin).

3 Likes

Using the system every day has nothing to do with rebooting after a kernel update.

I think your memory battery is empty or very weak.
Have you replaced it?
This coin cell CR 2032?

4 Likes