Remotely authenticate SDDM from tty/ssh

Hello Garuda users.

Please read the following template before requesting assistance:

Please post the terminal/konsole input and output as text (no pictures) from the following command:

Kernel: 6.6.2-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
clocksource: hpet available: acpi_pm
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=462b9cd5-5f21-4f43-a4eb-afbc5488d975 rw rootflags=subvol=@
quiet rd.luks.uuid=3f9c700c-27cb-4d44-af3c-0d6ba0d21e0f loglevel=3
radeon.si_support=0 amdgpu.si_support=1 radeon.cik_support=0
amdgpu.cik_support=1 ibt=off
Desktop: KDE Plasma v: 5.27.9 tk: Qt v: 5.15.11 wm: kwin_wayland vt: 1
dm: SDDM Distro: Garuda Linux base: Arch Linux
Type: Laptop System: LENOVO product: 80TJ v: Lenovo ideapad 110-15ACL
serial: <superuser required> Chassis: type: 10 v: Lenovo ideapad 110-15ACL
serial: <superuser required>
Mobo: LENOVO model: Nano 5A8 v: SDK0J40679 WIN
serial: <superuser required> UEFI: Lenovo v: 1QCN32WW date: 08/18/2016
ID-1: BATT charge: 0 Wh (0.0%) condition: 1.6/23.8 Wh (6.7%) volts: 7.5
min: 10.8 model: LENOVO LCFC type: Unknown serial: <filter> status: charging
Info: model: AMD A8-7410 APU with AMD Radeon R5 Graphics bits: 64 type: MCP
arch: Puma level: v2 built: 2014-15 process: GF 28nm family: 0x16 (22)
model-id: 0x30 (48) stepping: 1 microcode: 0x7030105
Topology: cpus: 1x cores: 4 smt: <unsupported> cache: L1: 256 KiB
desc: d-4x32 KiB; i-4x32 KiB L2: 2 MiB desc: 1x2 MiB
Speed (MHz): avg: 2296 high: 2396 min/max: 1000/2200 boost: enabled
scaling: driver: acpi-cpufreq governor: performance cores: 1: 2302 2: 2396
3: 2094 4: 2395 bogomips: 17566
Flags: avx ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Vulnerabilities: <filter>
Device-1: AMD Mullins [Radeon R4/R5 Graphics] vendor: Lenovo driver: amdgpu
v: kernel alternate: radeon arch: GCN-2 code: Sea Islands
process: GF/TSMC 16-28nm built: 2013-17 ports: active: eDP-1
empty: HDMI-A-1 bus-ID: 00:01.0 chip-ID: 1002:9851 class-ID: 0300
Device-2: AMD Sun XT [Radeon HD 8670A/8670M/8690M / R5 M330 M430 Radeon
520 Mobile] vendor: Lenovo driver: amdgpu v: kernel alternate: radeon
arch: GCN-1 code: Southern Islands process: TSMC 28nm built: 2011-20 pcie:
gen: 2 speed: 5 GT/s lanes: 2 link-max: gen: 3 speed: 8 GT/s lanes: 8
bus-ID: 01:00.0 chip-ID: 1002:6660 class-ID: 0380 temp: 57.0 C
Device-3: IMC Networks EasyCamera driver: uvcvideo type: USB rev: 2.0
speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 2-1.2:4 chip-ID: 13d3:a745
class-ID: 0e02 serial: <filter>
Display: wayland server: v: with: Xwayland v: 23.2.2
compositor: kwin_wayland driver: X: loaded: amdgpu unloaded: modesetting
alternate: fbdev,vesa dri: radeonsi gpu: amdgpu,amdgpu display-ID: 0
Monitor-1: eDP-1 res: 1366x768 size: N/A modes: N/A
API: EGL v: 1.5 hw: drv: amd radeonsi platforms: device: 0 drv: radeonsi
device: 1 drv: radeonsi device: 2 drv: swrast gbm: drv: radeonsi
surfaceless: drv: radeonsi wayland: drv: radeonsi x11: drv: radeonsi
API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 23.2.1-arch1.2
glx-v: 1.4 direct-render: yes renderer: AMD Radeon R5 Graphics (kabini LLVM
16.0.6 DRM 3.54 6.6.2-zen1-1-zen) device-ID: 1002:9851 memory: 1000 MiB
unified: no display-ID: :1.0
API: Vulkan v: 1.3.269 layers: 3 device: 0 type: integrated-gpu name: AMD
Radeon R5 Graphics (RADV KABINI) driver: mesa radv v: 23.2.1-arch1.2
device-ID: 1002:9851 surfaces: xcb,xlib,wayland device: 1
type: discrete-gpu name: AMD Radeon R5 M330 (RADV HAINAN)
driver: mesa radv v: 23.2.1-arch1.2 device-ID: 1002:6660
surfaces: xcb,xlib,wayland device: 2 type: cpu name: llvmpipe (LLVM
16.0.6 256 bits) driver: mesa llvmpipe v: 23.2.1-arch1.2 (LLVM 16.0.6)
device-ID: 10005:0000 surfaces: xcb,xlib,wayland
Device-1: AMD Kabini HDMI/DP Audio vendor: Lenovo driver: snd_hda_intel
v: kernel bus-ID: 00:01.1 chip-ID: 1002:9840 class-ID: 0403
Device-2: AMD FCH Azalia vendor: Lenovo driver: snd_hda_intel v: kernel
bus-ID: 00:14.2 chip-ID: 1022:780d class-ID: 0403
API: ALSA v: k6.6.2-zen1-1-zen status: kernel-api tools: N/A
Server-1: PipeWire v: 1.0.0 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
Device-1: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter
vendor: Lenovo driver: ath10k_pci v: kernel pcie: gen: 1 speed: 2.5 GT/s
lanes: 1 bus-ID: 02:00.0 chip-ID: 168c:0042 class-ID: 0280
IF: wlp2s0 state: up mac: <filter>
Device-2: Realtek RTL810xE PCI Express Fast Ethernet vendor: Lenovo
driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: 1000
bus-ID: 03:00.0 chip-ID: 10ec:8136 class-ID: 0200
IF: enp3s0 state: down mac: <filter>
Device-1: Qualcomm Atheros driver: btusb v: 0.8 type: USB rev: 2.0
speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 2-1.1:3 chip-ID: 0cf3:e360
class-ID: e001
Report: btmgmt ID: hci0 rfk-id: 4 state: up address: <filter> bt-v: 4.1
lmp-v: 7 status: discoverable: no pairing: no class-ID: 7c010c
Local Storage: total: 223.58 GiB used: 9.84 GiB (4.4%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda maj-min: 8:0 vendor: Seagate model: WDC WDS240G2G0A-00JH30
size: 223.58 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
tech: SSD serial: <filter> fw-rev: 0000 scheme: GPT
ID-1: / raw-size: 76.6 GiB size: 76.6 GiB (100.00%) used: 9.84 GiB (12.8%)
fs: btrfs dev: /dev/dm-0 maj-min: 254:0
mapped: luks-3f9c700c-27cb-4d44-af3c-0d6ba0d21e0f
ID-2: /boot/efi raw-size: 500 MiB size: 499 MiB (99.80%)
used: 720 KiB (0.1%) fs: vfat dev: /dev/sda1 maj-min: 8:1
ID-3: /home raw-size: 76.6 GiB size: 76.6 GiB (100.00%)
used: 9.84 GiB (12.8%) fs: btrfs dev: /dev/dm-0 maj-min: 254:0
mapped: luks-3f9c700c-27cb-4d44-af3c-0d6ba0d21e0f
ID-4: /var/log raw-size: 76.6 GiB size: 76.6 GiB (100.00%)
used: 9.84 GiB (12.8%) fs: btrfs dev: /dev/dm-0 maj-min: 254:0
mapped: luks-3f9c700c-27cb-4d44-af3c-0d6ba0d21e0f
ID-5: /var/tmp raw-size: 76.6 GiB size: 76.6 GiB (100.00%)
used: 9.84 GiB (12.8%) fs: btrfs dev: /dev/dm-0 maj-min: 254:0
mapped: luks-3f9c700c-27cb-4d44-af3c-0d6ba0d21e0f
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
ID-1: swap-1 type: zram size: 6.68 GiB used: 245.8 MiB (3.6%)
priority: 100 comp: zstd avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 4
dev: /dev/zram0
System Temperatures: cpu: 70.0 C mobo: N/A
Fan Speeds (rpm): N/A
GPU: device: amdgpu temp: 57.0 C device: amdgpu temp: 68.0 C
Processes: 252 Uptime: 1h 33m wakeups: 1 Memory: total: 8 GiB note: est.
available: 6.68 GiB used: 3.65 GiB (54.7%) Init: systemd v: 254
default: graphical tool: systemctl Compilers: gcc: 13.2.1 Packages:
pm: pacman pkgs: 1366 libs: 408 tools: octopi,pamac,paru Shell: fish
v: 3.6.1 running-in: konsole inxi: 3.3.31
Garuda (2.6.19-2):
System install date:     2023-11-28
Last full system update: 2023-11-28
Is partially upgraded:   No
Relevant software:       snapper NetworkManager dracut
Windows dual boot:       Probably (Run as root to verify)
Failed units:

I am looking at creating a application for android which would allow the user to authenticate his system from his android, i am establishing a SSH connection to the system and unsure what would be a feasible approach.

  • I have looked at loginctl unlock-sessions but that only works after a session has started and not when the user is signing in for the first time.

  • I have also looked at stopping SDDM and using startx but i cant tell my head from my elbow in regards to X server.

NOTE - i am designing this for personal use only.

Same here LOL. But maybe there is something good here: ssh - log in to a desktop manager using commands typed on a different tty - Unix & Linux Stack Exchange

Yeah that’s where I found the startx approach which gave me a bunch of errors, I’ll get back to you tomorrow with those errors.

1 Like

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