Help Implementing HyprIdle and HyprLock (Loginctl: Caller does not belong to session)

I’m having issues getting HyprIdle to work properly, I have my lockscreen setup but my main issue is that Hyprlock isn’t being recognized by SystemD.

This is the error i get when i run loginctl session-status:

 ╭─sidious@sidious in ~
 ╰─λ loginctl session-status
Failed to get path for session 'auto': Caller does not belong to any known session and doesn't own any suitable session.

This is the error i get when i try to run loginctl lock-session:

 ╭─sidious@sidious in ~
 ╰─λ loginctl lock-session
Failed to issue method call: Unknown object '/org/freedesktop/login1/session/auto'.

This is my HyprIdle config:

general {
    lock_cmd = pidof hyprlock || hyprlock
    before_sleep_cmd = loginctl lock-session
    after_sleep_cmd = hyprctl dispatch dpms on
}

listener {
   timeout = 150
   on-timeout = hyprlock
}
listener {
   timeout = 600
   on-timeout = hyprctl dispatch dpms off
   on-resume = hyprctl dispatch dpms on
}

I do have hypridle setup in hyprland.conf

# run hypridle
exec-once = hypridle

When I try to run hypridle from the terminal I get:

[LOG] Registered timeout rule for 150s:
      on-timeout: hyprlock
      on-resume:
[LOG] Registered timeout rule for 600s:
      on-timeout: hyprctl dispatch dpms off
      on-resume: hyprctl dispatch dpms on
[LOG]   | got iface: wl_seat v9
[LOG]    > Bound to wl_seat v9
[LOG]   | got iface: wl_data_device_manager v3
[LOG]   | got iface: wl_compositor v6
[LOG]   | got iface: wl_subcompositor v1
[LOG]   | got iface: wl_shm v1
[LOG]   | got iface: wp_viewporter v1
[LOG]   | got iface: wp_tearing_control_manager_v1 v1
[LOG]   | got iface: wp_fractional_scale_manager_v1 v1
[LOG]   | got iface: zxdg_output_manager_v1 v3
[LOG]   | got iface: wp_cursor_shape_manager_v1 v1
[LOG]   | got iface: zwp_idle_inhibit_manager_v1 v1
[LOG]   | got iface: zwp_relative_pointer_manager_v1 v1
[LOG]   | got iface: zxdg_decoration_manager_v1 v1
[LOG]   | got iface: wp_alpha_modifier_v1 v1
[LOG]   | got iface: zwlr_gamma_control_manager_v1 v1
[LOG]   | got iface: ext_foreign_toplevel_list_v1 v1
[LOG]   | got iface: zwp_pointer_gestures_v1 v3
[LOG]   | got iface: zwlr_foreign_toplevel_manager_v1 v3
[LOG]   | got iface: zwp_keyboard_shortcuts_inhibit_manager_v1 v1
[LOG]   | got iface: zwp_text_input_manager_v3 v1
[LOG]   | got iface: zwp_pointer_constraints_v1 v1
[LOG]   | got iface: zwlr_output_power_manager_v1 v1
[LOG]   | got iface: xdg_activation_v1 v1
[LOG]   | got iface: ext_idle_notifier_v1 v1
[LOG]    > Bound to ext_idle_notifier_v1 v1
[LOG]   | got iface: ext_session_lock_manager_v1 v1
[LOG]   | got iface: zwp_input_method_manager_v2 v1
[LOG]   | got iface: zwp_virtual_keyboard_manager_v1 v1
[LOG]   | got iface: zwlr_virtual_pointer_manager_v1 v2
[LOG]   | got iface: zwlr_output_manager_v1 v4
[LOG]   | got iface: org_kde_kwin_server_decoration_manager v1
[LOG]   | got iface: hyprland_focus_grab_manager_v1 v1
[LOG]   | got iface: zwp_tablet_manager_v2 v1
[LOG]   | got iface: zwlr_layer_shell_v1 v5
[LOG]   | got iface: wp_presentation v1
[LOG]   | got iface: xdg_wm_base v6
[LOG]   | got iface: zwlr_data_control_manager_v1 v2
[LOG]   | got iface: zwp_primary_selection_device_manager_v1 v1
[LOG]   | got iface: xwayland_shell_v1 v1
[LOG]   | got iface: wl_drm v2
[LOG]   | got iface: zwp_linux_dmabuf_v1 v5
[LOG]   | got iface: hyprland_toplevel_export_manager_v1 v2
[LOG]   | got iface: zwp_text_input_manager_v1 v1
[LOG]   | got iface: hyprland_global_shortcuts_manager_v1 v1
[LOG]   | got iface: zwlr_screencopy_manager_v1 v3
[LOG]   | got iface: wp_drm_lease_device_v1 v1
[LOG]   | got iface: wl_output v4
[LOG]   | got iface: wl_output v4
[LOG]   | got iface: wl_output v4
[LOG] found 2 rules
[LOG] wayland done, registering dbus
[CRITICAL] Couldn't connect to logind service ([org.freedesktop.login1.NoSessionForPID] Caller does not belong to any known session and doesn't own any suitable session.)

The main issue that critical error at the end

([org.freedesktop.login1.NoSessionForPID] Caller does not belong to any known session and doesn't own any suitable session.)

I’ve looked through the journal trying to find anything relevant, please advice, so i can provide any additional information needed.

From what i have deduced from the errors with loginctl is that the main problem with not having hyprlock trigger through loginctl lock-session is that for whatever reason the caller isn’t attracted to a session. How do i fix that issue first?

I’ve looked online and have not found much on this issue and have asked a friend that does know a bit more about Linux then I do, and he was unable to figure out the issue.

I am assuming that I need to provide more Configuration documentation but I don’t know what documentation i need to give, so please advice.

Edit 1:
I swapped to another TTY and got this for loginctl session-status:

7 - sidious (1000)
  Since: Fri 2024-06-14 14:11:07 EDT; 52s ago
  State: active
 Leader: 2099594 (login)
   Seat: seat0; vc3
    TTY: tty3
 Remote: no
Service: login
   Type: tty
  Class: user
   Idle: no
   Unit: session-7.scope
         ├─2099594 "login -- sidious"
         ├─2102975 -bash
         └─2113834 loginctl session-status

Jun 14 14:11:07 sidious-desktop systemd[1]: Started Session 7 of User sidious.
Jun 14 14:11:07 sidious-desktop login[2099594]: LOGIN ON tty3 BY sidious
Jun 14 14:11:07 sidious-desktop sudo[2103059]:  sidious : a password is required ; TTY=tty3 ; PWD=/home/sidious ; USER=root ; COMMAND=/usr/bin/true
Jun 14 14:11:31 sidious-desktop sudo[2108527]:  sidious : a password is required ; TTY=tty3 ; PWD=/home/sidious ; USER=root ; COMMAND=/usr/bin/true

Edit 2:
on the other TTY I was advised to try to run hyprland on there, and this is what i got when i started hypridle through the teriminal

[🔴] × hypridle
[LOG] Registered timeout rule for 150s:
      on-timeout: hyprlock
      on-resume:
[LOG] Registered timeout rule for 600s:
      on-timeout: hyprctl dispatch dpms off
      on-resume: hyprctl dispatch dpms on
[LOG]   | got iface: wl_seat v9
[LOG]    > Bound to wl_seat v9
[LOG]   | got iface: wl_data_device_manager v3
[LOG]   | got iface: wl_compositor v6
[LOG]   | got iface: wl_subcompositor v1
[LOG]   | got iface: wl_shm v1
[LOG]   | got iface: wp_viewporter v1
[LOG]   | got iface: wp_tearing_control_manager_v1 v1
[LOG]   | got iface: wp_fractional_scale_manager_v1 v1
[LOG]   | got iface: zxdg_output_manager_v1 v3
[LOG]   | got iface: wp_cursor_shape_manager_v1 v1
[LOG]   | got iface: zwp_idle_inhibit_manager_v1 v1
[LOG]   | got iface: zwp_relative_pointer_manager_v1 v1
[LOG]   | got iface: zxdg_decoration_manager_v1 v1
[LOG]   | got iface: wp_alpha_modifier_v1 v1
[LOG]   | got iface: zwlr_gamma_control_manager_v1 v1
[LOG]   | got iface: ext_foreign_toplevel_list_v1 v1
[LOG]   | got iface: zwp_pointer_gestures_v1 v3
[LOG]   | got iface: zwlr_foreign_toplevel_manager_v1 v3
[LOG]   | got iface: zwp_keyboard_shortcuts_inhibit_manager_v1 v1
[LOG]   | got iface: zwp_text_input_manager_v3 v1
[LOG]   | got iface: zwp_pointer_constraints_v1 v1
[LOG]   | got iface: zwlr_output_power_manager_v1 v1
[LOG]   | got iface: xdg_activation_v1 v1
[LOG]   | got iface: ext_idle_notifier_v1 v1
[LOG]    > Bound to ext_idle_notifier_v1 v1
[LOG]   | got iface: ext_session_lock_manager_v1 v1
[LOG]   | got iface: zwp_input_method_manager_v2 v1
[LOG]   | got iface: zwp_virtual_keyboard_manager_v1 v1
[LOG]   | got iface: zwlr_virtual_pointer_manager_v1 v2
[LOG]   | got iface: zwlr_output_manager_v1 v4
[LOG]   | got iface: org_kde_kwin_server_decoration_manager v1
[LOG]   | got iface: hyprland_focus_grab_manager_v1 v1
[LOG]   | got iface: zwp_tablet_manager_v2 v1
[LOG]   | got iface: zwlr_layer_shell_v1 v5
[LOG]   | got iface: wp_presentation v1
[LOG]   | got iface: xdg_wm_base v6
[LOG]   | got iface: zwlr_data_control_manager_v1 v2
[LOG]   | got iface: zwp_primary_selection_device_manager_v1 v1
[LOG]   | got iface: xwayland_shell_v1 v1
[LOG]   | got iface: wl_drm v2
[LOG]   | got iface: zwp_linux_dmabuf_v1 v5
[LOG]   | got iface: hyprland_toplevel_export_manager_v1 v2
[LOG]   | got iface: zwp_text_input_manager_v1 v1
[LOG]   | got iface: hyprland_global_shortcuts_manager_v1 v1
[LOG]   | got iface: zwlr_screencopy_manager_v1 v3
[LOG]   | got iface: wp_drm_lease_device_v1 v1
[LOG]   | got iface: wl_output v4
[LOG]   | got iface: wl_output v4
[LOG]   | got iface: wl_output v4
[LOG] found 2 rules
[LOG] wayland done, registering dbus
[LOG] Using dbus path /org/freedesktop/login1/session/_37
[ERR] Failed registering for /org/freedesktop/ScreenSaver, perhaps taken?
err: [org.freedesktop.DBus.Error.FileExists] Failed to request bus name (File exists)

Edit 3: Talking with the folks over at Hyprland and we have determined that sddm isn’t setting up my login session properly. How do I fix that?

I’ve tested loginctl lock-session on tty3 and it works.

Edit 4:
IMPORTANT QUESTION: Why is there a Garuda-Hyperland session on sddm and an hyprland session on the login screen?
I swapped to the regular hyperland option and i get a session.

Edit 5:
rebooted and even the hypridle session is broken.
got the same error i got when i tried to run hyperidle again but without the hyprland session on tty3

Edit 6:
I’ve tried different DMs, lightDM, gdm, and litterally no dm, still not getting a session attached when i login.
When i have been able to get a login session, i’ve been able to run the btrfs manager that doesn’t work normally.

Edit 7:
I asked chatGPT and it’s telling me that it might be an issue with PAM…
where do i need to start to trouble shoot that?

Edit 8: more troubleshooting
While i can’t swap TTY normally, using chvt does work only with sudo when in hyprland. I was able to login on a separate session and get a session id to be recognized, but when i started hyprland the session was no longer recognized.

I feel like i’ve narrowed down the issue to something… i just don’t know what’s wrong with the configuration.

Edit 9: in response to @veitw
here is the garuda-inxi

System:
  Kernel: 6.9.4-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 14.1.1
    clocksource: tsc avail: hpet,acpi_pm
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=3bb756bd-9a7b-4fd9-9ce8-e85ddd460bda rw rootflags=subvol=@
    quiet loglevel=3 splash ibt=off
  Desktop: Hyprland v: 0.41.0 with: waybar tools: avail: hyprlock,swayidle
    vt: 1 dm: 1: LightDM v: 1.32.0 note: stopped 2: SDDM Distro: Garuda
    base: Arch Linux
Machine:
  Type: Desktop Mobo: NZXT model: N7 B550 serial: <superuser required>
    uuid: <superuser required> UEFI: American Megatrends LLC. v: P2.80
    date: 06/07/2023
CPU:
  Info: model: AMD Ryzen 7 5800X bits: 64 type: MT MCP arch: Zen 3+ gen: 4
    level: v3 note: check built: 2022 process: TSMC n6 (7nm) family: 0x19 (25)
    model-id: 0x21 (33) stepping: 0 microcode: 0xA201025
  Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
    L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 4 MiB desc: 8x512 KiB
    L3: 32 MiB desc: 1x32 MiB
  Speed (MHz): avg: 3860 high: 4766 min/max: 2200/4850 boost: enabled
    scaling: driver: acpi-cpufreq governor: performance cores: 1: 3800 2: 3800
    3: 3800 4: 3800 5: 3800 6: 4766 7: 3800 8: 3800 9: 3808 10: 3800 11: 3800
    12: 3800 13: 3800 14: 3800 15: 3800 16: 3800 bogomips: 121371
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities: <filter>
Graphics:
  Device-1: AMD Navi 31 [Radeon RX 7900 XT/7900 XTX/7900M] vendor: ASRock
    driver: amdgpu v: kernel arch: RDNA-3 code: Navi-3x process: TSMC n5 (5nm)
    built: 2022+ pcie: gen: 4 speed: 16 GT/s lanes: 16 ports:
    active: DP-1,DP-2,HDMI-A-1 empty: DP-3,Writeback-1 bus-ID: 09:00.0
    chip-ID: 1002:744c class-ID: 0300
  Device-2: Elgato Systems GmbH Facecam driver: hid-generic,usbhid,uvcvideo
    type: USB rev: 3.0 speed: 5 Gb/s lanes: 1 mode: 3.2 gen-1x1 bus-ID: 4-1:2
    chip-ID: 0fd9:0078 class-ID: 0300 serial: <filter>
  Display: wayland server: X.org v: 1.21.1.13 with: Xwayland v: 24.1.0
    compositor: Hyprland v: 0.41.0 driver: X: loaded: amdgpu
    unloaded: modesetting,radeon alternate: fbdev,vesa dri: radeonsi
    gpu: amdgpu d-rect: 8320x3240 display-ID: 1
  Monitor-1: DP-1 pos: primary,top-left model: Gigabyte AORUS FO48U
    serial: <filter> built: 2021 res: 3840x2160 hz: 120 dpi: 140 gamma: 1.2
    scale: 1 size: 697x392mm (27.44x15.43") diag: 800mm (31.5") ratio: 16:9
    modes: max: 3840x2160 min: 640x480
  Monitor-2: DP-2 pos: top-right model: Acer EB243YU serial: <filter>
    built: 2018 res: 2560x1440 hz: 75 dpi: 123 gamma: 1.2 scale: 1
    size: 527x296mm (20.75x11.65") diag: 604mm (23.8") ratio: 16:9 modes:
    max: 2560x1440 min: 720x400
  Monitor-3: HDMI-A-1 pos: bottom-c model: Cintiq 16 serial: <filter>
    built: 2020 res: 1920x1080 hz: 60 dpi: 142 gamma: 1.2 scale: 1
    size: 344x193mm (13.54x7.6") diag: 394mm (15.5") ratio: 16:9 modes:
    max: 1920x1080 min: 720x400
  API: EGL v: 1.5 hw: drv: amd radeonsi platforms: device: 0 drv: radeonsi
    device: 1 drv: swrast surfaceless: drv: radeonsi wayland: drv: radeonsi x11:
    drv: radeonsi inactive: gbm
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 24.1.1-arch1.1
    glx-v: 1.4 direct-render: yes renderer: AMD Radeon RX 7900 XTX (radeonsi
    navi31 LLVM 17.0.6 DRM 3.57 6.9.4-zen1-1-zen) device-ID: 1002:744c
    memory: 23.44 GiB unified: no
  API: Vulkan v: 1.3.279 layers: 11 device: 0 type: discrete-gpu name: AMD
    Radeon RX 7900 XTX (RADV NAVI31) driver: mesa radv v: 24.1.1-arch1.1
    device-ID: 1002:744c surfaces: xcb,xlib,wayland device: 1 type: cpu
    name: llvmpipe (LLVM 17.0.6 256 bits) driver: mesa llvmpipe
    v: 24.1.1-arch1.1 (LLVM 17.0.6) device-ID: 10005:0000
    surfaces: xcb,xlib,wayland
Audio:
  Device-1: AMD Navi 31 HDMI/DP Audio driver: snd_hda_intel v: kernel pcie:
    gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 09:00.1 chip-ID: 1002:ab30
    class-ID: 0403
  Device-2: AMD Starship/Matisse HD Audio vendor: ASRock
    driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
    bus-ID: 0b:00.4 chip-ID: 1022:1487 class-ID: 0403
  Device-3: Elgato Systems GmbH Wave XLR driver: snd-usb-audio type: USB
    rev: 2.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 3-4:3 chip-ID: 0fd9:007d
    class-ID: fe01 serial: <filter>
  API: ALSA v: k6.9.4-zen1-1-zen status: kernel-api with: aoss
    type: oss-emulator tools: N/A
  Server-1: sndiod v: N/A status: off tools: aucat,midicat,sndioctl
  Server-2: PipeWire v: 1.0.7 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Realtek RTL8125 2.5GbE vendor: ASRock driver: r8169 v: kernel
    pcie: gen: 2 speed: 5 GT/s lanes: 1 port: f000 bus-ID: 05:00.0
    chip-ID: 10ec:8125 class-ID: 0200
  IF: enp5s0 state: up speed: 2500 Mbps duplex: full mac: <filter>
  Device-2: Intel Wi-Fi 6E AX210/AX1675 2x2 [Typhoon Peak] driver: iwlwifi
    v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 1 bus-ID: 06:00.0
    chip-ID: 8086:2725 class-ID: 0280
  IF: wlp6s0 state: down mac: <filter>
  Info: services: NetworkManager, smbd, systemd-timesyncd, wpa_supplicant
Bluetooth:
  Device-1: Intel AX210 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0
    speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-8:12 chip-ID: 8087:0032
    class-ID: e001
  Report: btmgmt ID: hci0 rfk-id: 2 state: up address: <filter> bt-v: 5.3
    lmp-v: 12 status: discoverable: no pairing: no class-ID: 6c0104
Drives:
  Local Storage: total: 9.1 TiB used: 132.65 GiB (1.4%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Western Digital
    model: WDS100T3X0C-00SJG0 size: 931.51 GiB block-size: physical: 512 B
    logical: 512 B speed: 31.6 Gb/s lanes: 4 tech: SSD serial: <filter>
    fw-rev: 102000WD temp: 49.9 C scheme: GPT
  ID-2: /dev/nvme1n1 maj-min: 259:6 vendor: Seagate
    model: WDS200T3X0C-00SJG0 size: 1.82 TiB block-size: physical: 512 B
    logical: 512 B speed: 31.6 Gb/s lanes: 4 tech: SSD serial: <filter>
    fw-rev: 102430WD temp: 42.9 C scheme: GPT
  ID-3: /dev/sda maj-min: 8:0 vendor: Western Digital
    model: WD1002FAEX-00Z3A0 size: 931.51 GiB block-size: physical: 512 B
    logical: 512 B speed: 6.0 Gb/s tech: N/A serial: <filter> fw-rev: 1D05
    scheme: GPT
  ID-4: /dev/sdb maj-min: 8:16 vendor: Western Digital
    model: WD6003FZBX-00K5WB0 size: 5.46 TiB block-size: physical: 4096 B
    logical: 512 B speed: 6.0 Gb/s tech: HDD rpm: 7200 serial: <filter>
    fw-rev: 1A01 scheme: GPT
Partition:
  ID-1: / raw-size: 411.49 GiB size: 411.49 GiB (100.00%)
    used: 132.63 GiB (32.2%) fs: btrfs dev: /dev/nvme0n1p5 maj-min: 259:5
  ID-2: /boot/efi raw-size: 100 MiB size: 96 MiB (96.00%)
    used: 27.4 MiB (28.6%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
  ID-3: /home raw-size: 411.49 GiB size: 411.49 GiB (100.00%)
    used: 132.63 GiB (32.2%) fs: btrfs dev: /dev/nvme0n1p5 maj-min: 259:5
  ID-4: /var/log raw-size: 411.49 GiB size: 411.49 GiB (100.00%)
    used: 132.63 GiB (32.2%) fs: btrfs dev: /dev/nvme0n1p5 maj-min: 259:5
  ID-5: /var/tmp raw-size: 411.49 GiB size: 411.49 GiB (100.00%)
    used: 132.63 GiB (32.2%) fs: btrfs dev: /dev/nvme0n1p5 maj-min: 259:5
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
  ID-1: swap-1 type: zram size: 62.72 GiB used: 0 KiB (0.0%) priority: 100
    comp: zstd avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 16 dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 54.5 C mobo: 36.8 C gpu: amdgpu temp: 49.0 C
    mem: 65.0 C
  Fan Speeds (rpm): fan-2: 0 fan-3: 680 fan-4: 0 fan-5: 2177 fan-6: 679
    gpu: amdgpu fan: 0
Info:
  Memory: total: 64 GiB note: est. available: 62.73 GiB used: 7.06 GiB (11.3%)
  Processes: 378 Power: uptime: 2h 8m states: freeze,mem,disk suspend: deep
    avail: s2idle wakeups: 1 hibernate: platform avail: shutdown, reboot,
    suspend, test_resume image: 25.07 GiB services: upowerd Init: systemd
    v: 255 default: graphical tool: systemctl
  Packages: pm: pacman pkgs: 1839 libs: 546 tools: pacseek,paru Compilers:
    clang: 17.0.6 gcc: 14.1.1 Shell: garuda-inxi default: fish v: 3.7.1
    running-in: alacritty inxi: 3.3.34
Garuda (2.6.26-1):
  System install date:     2024-06-02
  Last full system update: 2024-06-14
  Is partially upgraded:   No
  Relevant software:       snapper NetworkManager dracut
  Windows dual boot:       Probably (Run as root to verify)
  Failed units:            

Edit 10: reinstalled swaylock… don’t know why that might be needed but seems to have given me a session… i’ll update tomarow morning, after a reboot, for now beds.
Edit 10.2:
noticed something i’ve been logging in and logging out several time to deal with an issue with brave not responding after turning off the main monitor… I wonder if the repeated login and logouts just somehow granted a session…
I still have no idea what the issue might be.

Hello and Welcome to the forum @TheWired !
First off I would like to ask you to add the output of garuda-inxi to your post otherwise it’ll get tagged “missing garuda-inxi” .
I’m an early adopter of hypridle/lock, run them on 2 machines since a couple month and all i did is install them, configure an run. I did not have the trouble you have. I won’t be able to help help you, that’s above me, but now you know that those binaries actually worked out of the box for me. May be after you upload your garuda-inxi somebody else is going to find some time to look into this.
The difference between Hyprland session and Garuda-Hyprland session is that the later sets a lot of environment variables.

1 Like

I have 2 systems running garuda linux right now, my desktop is the only one that i have issues with, laptop works fine.
same thing installed lyperidle/lock and it just worked, i don’t know why it’s not working on the desktop

Update 11:
I’ve reinstalled Garuda Linux, Haven’t messed with anything except installing hypridle and hyprlock, set those up, added an exec.conf and… i don’t have a valid session.
i’ve not touched anything but install hypridle and hyprlock, and it still doesn’t work on my desktop. NO issues on the laptop, just the desktop… i don’t get it.

Logind just doesn’t want to work on this machine I don’t know why. I guess i can try a different WM or DE but… yeah.

Tried XFCE4 can get a session attached each time,

                 x;XxXB%89b8:b8%b88:              ----------------------
              .8Xxd                8X:.           OS: Garuda Linux BirdOfPrey Soaring x86_64
            .8Xx;                    8x:.         Host: N7 B550
          .tt8x          .d            x88;       Kernel: Linux 6.9.5-zen1-1-zen
       .@8x8;          .db:              xx@;     Uptime: 44 seconds
     ,tSXX°          .bbbbbbbbbbbbbbbbbbbB8x@;    Packages: 1832 (pacman)[stable]
   .SXxx            bBBBBBBBBBBBBBBBBBBBbSBX8;    Shell: fish 3.7.1
 ,888S                                     pd!    Resolution: 3840x2160 2560x1440 1920x1080
8X88/                                       q     DE: Xfce4 4.18
8X88/                                             WM: Xfwm4 (X11)
GBB.                                              WM Theme: Default
 x%88        d888@8@X@X@X88X@@XX@@X@8@X.          Theme: Adwaita [GTK2/3/4]
   dxXd    dB8b8b8B8B08bB88b998888b88x.           Icons: elementary [GTK2/3/4]
    dxx8o                      .@@;.              Terminal: alacritty 0.13.2
      dx88                   .t@x.                Terminal Font: FiraCode Nerd Font Mono 12.0
        d:SS@8ba89aa67a853Sxxad.                  CPU: AMD Ryzen 7 5800X (16) @ 3.80 GHz
          .d988999889889899dd.                    GPU: AMD Radeon RX 7900 XTX @ 0.02 GHz [Discrete]
                                                  Memory: 2563 MiB / 64231 MiB

                                                  ████████████████████████
                                                  ████████████████████████

 ╭─sidious@sidious in ~
 ╰─λ loginctl session-status
2 - sidious (1000)
  Since: Tue 2024-06-18 13:50:29 EDT; 27s ago
  State: active
 Leader: 6448 (sddm-helper)
   Seat: seat0; vc2
    TTY: tty2
 Remote: no
Service: sddm
   Type: x11
  Class: user
Desktop: XFCE
   Idle: no
   Unit: session-2.scope
         ├─ 6448 /usr/lib/sddm/sddm-helper --socket /tmp/sddm-auth-15b59acb-1c45-41a2-b64f-94e9d358eb43 --id 1 --start startxfce4 --user sidious
         ├─ 6492 xfce4-session
         ├─ 6657 /usr/bin/ssh-agent -s
         ├─ 6695 xfwm4
         ├─ 6730 xfsettingsd
         ├─ 6739 xfce4-panel
         ├─ 6745 Thunar --daemon
         ├─ 6752 xfdesktop
         ├─ 6758 garuda-welcome
         ├─ 6759 /usr/bin/garuda-system-maintenance
         ├─ 6760 nm-applet
         ├─ 6764 /usr/bin/python /usr/bin/blueman-applet
         ├─ 6765 /usr/lib/geoclue-2.0/demos/agent
         ├─ 6767 /usr/bin/python3 /usr/share/system-config-printer/applet.py
         ├─ 6775 xfce4-power-manager
         ├─ 6776 /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
         ├─ 6822 /usr/lib/xfce4/panel/wrapper-2.0 /usr/lib/xfce4/panel/plugins/libsystray.so 6 12582924 systray "Status Tray Plugin" "Provides status notifier items (application indicators) and legacy systray items"
         ├─ 6825 /usr/lib/xfce4/panel/wrapper-2.0 /usr/lib/xfce4/panel/plugins/libxfce4powermanager.so 9 12582925 power-manager-plugin "Power Manager Plugin" "Display the battery levels of your devices and control the brightness of your display"
         ├─ 6827 /usr/lib/xfce4/panel/wrapper-2.0 /usr/lib/xfce4/panel/plugins/libnotification-plugin.so 10 12582926 notification-plugin "Notification Plugin" "Notification plugin for the Xfce panel"
         ├─ 6881 /usr/lib/xfce4/panel/wrapper-2.0 /usr/lib/xfce4/panel/plugins/libactions.so 14 12582927 actions "Action Buttons" "Log out, lock or other system actions"
         ├─ 6945 /usr/bin/python /usr/bin/blueman-tray
         ├─ 9531 alacritty
         ├─ 9551 /usr/bin/fish
         ├─13854 loginctl session-status
         └─13855 less

Jun 18 13:50:30 sidious-n7b550 systemd[1]: Started Session 2 of User sidious.
Jun 18 13:50:31 sidious-n7b550 garuda-welcome[6758]: QMetaObject::connectSlotsByName: No matching signal for on_buttonCryptpad_clicked()
Jun 18 13:50:31 sidious-n7b550 garuda-welcome[6758]: QMetaObject::connectSlotsByName: No matching signal for on_buttonBigbluebutton_clicked()
Jun 18 13:50:31 sidious-n7b550 garuda-welcome[6758]: QMetaObject::connectSlotsByName: No matching signal for on_buttonNextcloud_clicked()
Jun 18 13:50:31 sidious-n7b550 garuda-welcome[6758]: "btrfs"
Jun 18 13:50:52 sidious-n7b550 sudo[9592]:  sidious : a password is required ; TTY=pts/0 ; PWD=/home/sidious ; USER=root ; COMMAND=/usr/bin/true
Jun 18 13:50:55 sidious-n7b550 sudo[9616]:  sidious : a password is required ; TTY=pts/0 ; PWD=/home/sidious ; USER=root ; COMMAND=/usr/bin/true

so how do we figure out who’s issue this is i guess…

Update 13:
Lucky number 13 lol. Fitting as it seems after spending some time in the SystemD matrix server, it seems that all my issues with SystemD, LoginD, the Btrfs utility, waybar not working, just on Linux, and the main reason I switched from windows, my AMD drivers just crashing randomly for no reason with FFXIV seems to be a bad SSD. When I said that LoginD was but a symptom of a larger problem I meant it.
A Failing SSD wasn’t on my bingo list for computer problems on this desktop or for my switch to Linux, but it seems that was the cause, I’ll do a final update once i get the new SSD installed, and everything setup and will likely make a guide for these issues.
I’m kinda lucky that the SSD’s warranty doesn’t expire till December, and well… had I realized that my issues were all the SSD I would have pursued an RMA sooner.
But it goes to show my issues with windows continue to be hardware related, while my issues with Linux are usually software or the interface on the keyboard. i.e. me. Lol.

Update 14:
I love eating my words…

solution idea, take drive out, put it in laptop, reinstall all packages, put back in desktop… fun, i’ll mess with that later.

Update 15:
GAH… I’m pulling my hair out but i think I’ve fixed it.
so I did several things, I basically mirrored the settings from my laptop to the desktop.

  1. I installed XFCE4, this I know this grabs a session
  2. I disabled performance tweaks, i’m not sure if this helped…
  3. i removed proton custom whatever, i don’t think this helped…
  4. i ran grub install manually,
  5. THEN I went into garuda boot settings and removed a uuid from the kernel flags, and enabled splash themes.the removing of the UUID might have actually done the thing I needed.

SO Troubleshooting steps:

  1. see if a different DE or WM works
  2. If you can find one that works, check to see if performance tweaks are enabled: disable them.
  3. Make sure grub is properly installed,
  4. check your boot settings, if you see anything strange, look up what that setting does, and if you don’t think you need it remove it. (etc. the UUID setting)
  5. go one by one uninstalling individual packages until it works.
  6. go grab drink…

This is what my boot options are now i’m almost positive that fixing grub is what actually worked for fixing my system:

edit: I can’t spell…

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.