Die Lösung erstreckt sich über mehrere Posts. Den letzten davon habe ich als Lösung markiert.
Ich habe die Datei ~/.config/xfce4/xinitrc
gelöscht. Dann hat das Einloggen wieder funktioniert.
–
Nach dem letzten System-Update und Kernel-Update kann ich mich nicht mehr mit meinem USer einloggen in xfce. Das Login-Fenster (DisplayManager) erscheint, ich kann meinen User auswählen und mein Passwort eingeben, es nimmt es ohne Fehlermeldung an, dann erscheint für ca. 3 Sek. ein schwarzer Bildschirm und das Login-Fenster erscheint erneut. Ich kann mich als root einloggen. Sowohl in xfce als auch im Terminal.
Zuerst dachte ich es liegt am DisplayManager und habe den sddm
ausprobiert:
sudo pacman -S sddm
sudo systemctl enable sddm.service --force
=> Dasselbe Verhalten.
Dann habe ich wieder den lightdm installiert:
pacman -S lightdm lightdm-gtk-greeter lightdm-gtk-greeter-settings
sudo systemctl enable lightdm.service --force
systemctl start lightdm
systemctl reboot
Habe ich das richtig gemacht oder irgendetwas zu viel oder zu wenig gemacht? => Leider immer noch dasselbe Verhalten. Mit
lightdm --test-mode --debug
Habe ich einige Fehlermeldungen bekommen und dafür [re]installiert:
pacman -S plymouth
systemctl enable lightdm-plymouth.service --force
pacman -S xorg
Jetzt bleibt noch 1 Fehler übrig
Failed to use bus name org.freedesktop.DisplayManager, do you have appropriate permissions?
lightdm-plymouth.service: Two services allocated for the same bus name org.freedesktop.DisplayManager, refusing operation.
Der erste steht am Ende von (\#
soll # bedeuten: Bin als root eingeloggt):
\# lightdm --test-mode --debug
[+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.00s] DEBUG: Starting Light Display Manager 1.32.0, UID=0 PID=11496
[+0.00s] DEBUG: Loading configuration dirs from /usr/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /var/lib/snapd/desktop/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /usr/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /usr/local/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /var/lib/flatpak/exports/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /root/.local/share/flatpak/exports/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /etc/xdg/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf
[+0.00s] DEBUG: Using Xephyr for X servers
[+0.00s] DEBUG: Registered seat module local
[+0.00s] DEBUG: Registered seat module xremote
[+0.00s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
[+0.00s] DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
[+0.00s] DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
[+0.00s] DEBUG: _g_io_module_get_default: Found default implementation gvfs (GDaemonVfs) for ?gio-vfs?
[+0.00s] DEBUG: Monitoring logind for seats
[+0.00s] DEBUG: New seat added from logind: seat0
[+0.00s] DEBUG: Seat seat0: Loading properties from config section Seat:*
[+0.00s] DEBUG: Seat seat0 has property CanMultiSession=no
[+0.00s] DEBUG: Seat seat0: Starting
[+0.00s] DEBUG: Seat seat0: Creating greeter session
[+0.00s] DEBUG: Seat seat0: Creating display server of type x
[+0.01s] DEBUG: Using VT 7
[+0.01s] DEBUG: Seat seat0: Starting local X display on VT 7
[+0.01s] DEBUG: XServer 1: Logging to /var/log/lightdm/x-1.log
[+0.01s] DEBUG: XServer 1: Writing X server authority to /run/lightdm/root/:1
[+0.01s] DEBUG: XServer 1: Launching X Server
[+0.01s] DEBUG: Launching process 11502: /usr/bin/Xephyr :1 -seat seat0 -auth /run/lightdm/root/:1 -nolisten tcp vt7 -novtswitch
[+0.01s] DEBUG: XServer 1: Waiting for ready signal from X server :1
[+0.01s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.01s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
Failed to use bus name org.freedesktop.DisplayManager, do you have appropriate permissions?
Den Zweiten hatte ich hier oder hier. Sehe ihn jetzt aber nicht mehr. Jetzt erscheint ein anderer gkr-pam: unable to locate daemon control file
:
\# journalctl -xeu lightdm.service
…
\# journalctl -xe
…
Feb 24 14:18:33 lenovo-a systemd[10109]: Created slice Slice /app/dbus-:1.4-org.a11y.atspi.Registry.
░░ Subject: A start job for unit UNIT has finished successfully
░░ Defined-By: systemd
░░ Support: https://forum.manjaro.org/c/support
░░
░░ A start job for unit UNIT has finished successfully.
░░
░░ The job identifier is 104.
Feb 24 14:18:33 lenovo-a systemd[10109]: Started dbus-:1.4-org.a11y.atspi.Registry@0.service.
░░ Subject: A start job for unit UNIT has finished successfully
░░ Defined-By: systemd
░░ Support: https://forum.manjaro.org/c/support
░░
░░ A start job for unit UNIT has finished successfully.
░░
░░ The job identifier is 83.
Feb 24 14:18:33 lenovo-a at-spi2-registryd[10159]: SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry
Feb 24 14:20:45 lenovo-a lightdm[10175]: gkr-pam: unable to locate daemon control file
Feb 24 14:20:45 lenovo-a lightdm[10175]: gkr-pam: stashed password to try later in open session
Feb 24 14:20:45 lenovo-a systemd[1]: Stopping Session c10 of User lightdm...
░░ Subject: A stop job for unit session-c10.scope has begun execution
░░ Defined-By: systemd
░░ Support: https://forum.manjaro.org/c/support
░░
░░ A stop job for unit session-c10.scope has begun execution.
░░
░░ The job identifier is 5167.
Feb 24 14:20:45 lenovo-a bluetoothd[910]: Endpoint registered: sender=:1.614 path=/MediaEndpoint/A2DPSource/ldac
…
Ich kann mich im Terminal als User einloggen dann erscheint:
[9999.999999] usb 1-4: 1:1: usb_set_interface failed (-32)
[9999.999999] usb 1-4: 1:1: usb_set_interface failed (-32)
…
[9999.999999] usb 1-4: 1:1: cannot set freq 44100 to ep 0x81
…
Diese Liste hört nicht von alleine auf. Manchmal bleibt sie stehen. Ich kann sie mit ctrl-C abbrechen und bekomme den Prompt. Wenn ich mich als root im Terminal einlogge, dann erscheint diese FehlerListe nicht und sofort der Prompt.
-
Frage: Habe ich lightdm richtig installiert und wie bekomme ich den Fehler
Failed to use bus name org.freedesktop.DisplayManager, do you have appropriate permissions?
weg? -
Wichtige Frage: Wie kann ich meinen User wieder in xfce nutzen und mich dort einloggen?
-
Frage: Wie bekomme ich die FehlerMeldungen im Terminal weg, wenn ich mich dort als User einlogge?
\# inxi -Fazy
System:
Kernel: 6.6.16-2-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
clocksource: tsc avail: acpi_pm
parameters: BOOT_IMAGE=/boot/vmlinuz-6.6-x86_64
root=UUID=91fd6b56-6a04-4fdb-84cc-e8fa536e4a87 rw apparmor=1
security=apparmor resume=UUID=3970456f-45fa-42d0-9a6a-84bad24a433b
udev.log_priority=3
Desktop: Xfce v: 4.18.1 tk: Gtk v: 3.24.36 wm: xfwm4 v: 4.18.0
with: xfce4-panel tools: light-locker vt: 7 dm: LightDM v: 1.32.0
Distro: Manjaro base: Arch Linux
Machine:
Type: Mini-pc System: LENOVO product: 11DT003RGE v: ThinkCentre M70q
serial: <filter> Chassis: type: 35 serial: <filter>
Mobo: LENOVO model: 316E v: NOK serial: N/A
part-nu: LENOVO_MT_11DT_BU_Think_FM_ThinkCentre M70q
uuid: 4dcd79a0-ceaa-11eb-bdb8-7279b02d2400 UEFI: LENOVO v: M2WKT46A
date: 04/16/2021
CPU:
Info: model: Intel Core i5-10400T socket: U3E1 bits: 64 type: MT MCP
arch: Comet Lake gen: core 10 level: v3 note: check built: 2020
process: Intel 14nm family: 6 model-id: 0xA5 (165) stepping: 3
microcode: 0xF8
Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 1.5 MiB desc: 6x256 KiB
L3: 12 MiB desc: 1x12 MiB
Speed (MHz): avg: 817 high: 1007 min/max: 800/3600 base/boost: 1881/3600
scaling: driver: intel_pstate governor: powersave volts: 0.7 V
ext-clock: 100 MHz cores: 1: 800 2: 800 3: 800 4: 800 5: 800 6: 800 7: 1007
8: 800 9: 800 10: 800 11: 800 12: 800 bogomips: 48019
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities:
Type: gather_data_sampling mitigation: Microcode
Type: itlb_multihit status: KVM: VMX disabled
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: mmio_stale_data mitigation: Clear CPU buffers; SMT vulnerable
Type: retbleed mitigation: Enhanced IBRS
Type: spec_rstack_overflow status: Not affected
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: Enhanced / Automatic IBRS, IBPB: conditional,
RSB filling, PBRSB-eIBRS: SW sequence
Type: srbds mitigation: Microcode
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: Intel CometLake-S GT2 [UHD Graphics 630] vendor: Lenovo
driver: i915 v: kernel arch: Gen-9.5 process: Intel 14nm built: 2016-20
ports: active: HDMI-A-1 empty: DP-1, DP-2, HDMI-A-2, HDMI-A-3
bus-ID: 00:02.0 chip-ID: 8086:9bc8 class-ID: 0300
Display: x11 server: X.Org v: 21.1.11 with: Xwayland v: 23.2.4
compositor: xfwm4 v: 4.18.0 driver: X: loaded: modesetting unloaded: vesa
alternate: fbdev dri: iris gpu: i915 display-ID: :0.0 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
s-diag: 582mm (22.93")
Monitor-1: HDMI-A-1 mapped: HDMI-1 model: Medion MD 20889 serial: <filter>
built: 2012 res: 1920x1080 hz: 60 dpi: 96 gamma: 1.2
size: 509x286mm (20.04x11.26") diag: 584mm (23") ratio: 16:9 modes:
max: 1920x1080 min: 720x400
API: OpenGL Message: Unable to show GL data. glxinfo is missing.
Audio:
Device-1: Intel Comet Lake PCH cAVS vendor: Lenovo driver: snd_hda_intel
v: kernel alternate: snd_soc_skl,snd_sof_pci_intel_cnl bus-ID: 00:1f.3
chip-ID: 8086:06c8 class-ID: 0403
Device-2: Google Android Open Accessory device (audio)
driver: snd-usb-audio type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0
bus-ID: 1-4:70 chip-ID: 18d1:2d02 class-ID: 0102 serial: <filter>
Device-3: EGO SYStems Dr. DAC nano driver: hid-generic,snd-usb-audio,usbhid
type: USB rev: 1.1 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-5.1:5
chip-ID: 0a92:0054 class-ID: 0102
API: ALSA v: k6.6.16-2-MANJARO status: kernel-api with: aoss
type: oss-emulator tools: alsactl,alsamixer,amixer
Server-1: JACK v: 1.9.22 status: off tools: N/A
Server-2: PipeWire v: 1.0.3 status: active with: 1: pipewire-pulse
status: off 2: wireplumber status: active 3: pipewire-alsa type: plugin
tools: pactl,pw-cat,pw-cli,wpctl
Network:
Device-1: Intel Comet Lake PCH CNVi WiFi driver: iwlwifi v: kernel
bus-ID: 00:14.3 chip-ID: 8086:06f0 class-ID: 0280
IF: wlo1 state: down mac: <filter>
Device-2: Intel Ethernet I219-V vendor: Lenovo driver: e1000e v: kernel
port: N/A bus-ID: 00:1f.6 chip-ID: 8086:0d4d class-ID: 0200
IF: eno2 state: up speed: 1000 Mbps duplex: full mac: <filter>
Info: services: NetworkManager,systemd-timesyncd
Bluetooth:
Device-1: Intel AX201 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0
speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-14:6 chip-ID: 8087:0026
class-ID: e001
Report: rfkill ID: hci0 rfk-id: 1 state: up address: see --recommends
Drives:
Local Storage: total: 14.79 TiB used: 2.79 TiB (18.9%)
SMART Message: Required tool smartctl not installed. Check --recommends
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: SK Hynix model: HFS256GDE9X081N
size: 238.47 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
lanes: 4 tech: SSD serial: <filter> fw-rev: 41710C20 temp: 29.9 C
scheme: GPT
ID-2: /dev/sda maj-min: 8:0 vendor: Western Digital model: WD60EDAZ-11U78B0
size: 5.46 TiB block-size: physical: 4096 B logical: 512 B type: USB rev: 2.1
spd: 480 Mb/s lanes: 1 mode: 2.0 tech: HDD rpm: 5400 serial: <filter>
fw-rev: 1031 scheme: GPT
ID-3: /dev/sdb maj-min: 8:16 vendor: Western Digital
model: WD40EZRZ-00GXCB0 size: 3.64 TiB block-size: physical: 4096 B
logical: 512 B type: USB rev: 2.1 spd: 480 Mb/s lanes: 1 mode: 2.0
tech: HDD rpm: 5400 serial: <filter> fw-rev: 1019 scheme: GPT
ID-4: /dev/sdc maj-min: 8:32 vendor: Western Digital
model: WD60EDAZ-11U78B0 size: 5.46 TiB block-size: physical: 4096 B
logical: 512 B type: USB rev: 3.1 spd: 5 Gb/s lanes: 1 mode: 3.2 gen-1x1
tech: HDD rpm: 5400 serial: <filter> fw-rev: 1031 scheme: GPT
Partition:
ID-1: / raw-size: 218.16 GiB size: 213.68 GiB (97.94%)
used: 133.04 GiB (62.3%) fs: ext4 block-size: 4096 B dev: /dev/nvme0n1p2
maj-min: 259:2
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
used: 300 KiB (0.1%) fs: vfat block-size: 512 B dev: /dev/nvme0n1p1
maj-min: 259:1
Swap:
Kernel: swappiness: 60 (default) cache-pressure: 100 (default) zswap: yes
compressor: zstd max-pool: 20%
ID-1: swap-1 type: partition size: 20.01 GiB used: 0 KiB (0.0%)
priority: -2 dev: /dev/nvme0n1p3 maj-min: 259:3
Sensors:
System Temperatures: cpu: 23.0 C pch: 29.0 C mobo: N/A
Fan Speeds (rpm): N/A
Info:
Memory: total: 8 GiB available: 7.5 GiB used: 3.36 GiB (44.7%) igpu: 32 MiB
Processes: 311 Power: uptime: 1d 1h 55m states: freeze,mem,disk
suspend: deep avail: s2idle wakeups: 2 hibernate: platform avail: shutdown,
reboot, suspend, test_resume image: 2.99 GiB
services: upowerd,xfce4-power-manager Init: systemd v: 255
default: graphical tool: systemctl
Packages: pm: pacman pkgs: 1395 libs: 425 tools: pamac,yay pm: flatpak
pkgs: 0 Compilers: clang: 16.0.6 gcc: 13.2.1 Shell: Bash v: 5.2.26
running-in: xfce4-terminal inxi: 3.3.33