You are not logged in.

#1 2024-11-12 04:20:46

LaeMat
Member
Registered: 2024-11-12
Posts: 5

XFCE black screen and cursor loop

Hello. Recently I updated my laptop (sudo pacman -Syu) and I came back to it looping between the terminal and a cursor. I rebooted and it persists, rendering it unusable. I can access TTY through the usual shortcuts. I do have network access, so I can install and uninstall packages if needed. I'm not sure what to start with, as many of the results on the forums and wiki are unrelated (I'm using a Celeron N3060 with an iGPU, nothing Nvidia. I also can't access the greeter or see the login screen.) I have provided the systemctl and startx logs. For extra clarification, I installed this last year through archinstall with the XFCE profile. Thanks.

systemctl:
https://pastebin.com/hPMqmH2t

Xorg.1.log:
https://pastebin.com/FUNcjjp2

Offline

#2 2024-11-12 04:53:49

jocheem67
Member
Registered: 2009-11-09
Posts: 244

Re: XFCE black screen and cursor loop

Just my two cents, disable lightdm and start from xinitrc...(if you didn´t try that already).

https://wiki.archlinux.org/title/Xfce -> pretty much high up on the page..

Offline

#3 2024-11-12 05:07:01

LaeMat
Member
Registered: 2024-11-12
Posts: 5

Re: XFCE black screen and cursor loop

jocheem67 wrote:

Just my two cents, disable lightdm and start from xinitrc...(if you didn´t try that already).

That's not something I had tried yet. Not sure how I didn't realize I could do that.
XFCE boots, but stuff such as xfce4-panels does not load. Not sure what to do next.

Last edited by LaeMat (2024-11-12 05:11:14)

Offline

#4 2024-11-12 14:31:04

seth
Member
Registered: 2012-09-03
Posts: 58,997

Re: XFCE black screen and cursor loop

This ha nothing to do w/ xfce

Nov 11 21:52:43 kefka systemd-coredump[519]: Process 488 (lightdm-gtk-gre) of user 970 terminated abnormally with signal 6/ABRT, processing...
Nov 11 21:52:43 kefka systemd[1]: Created slice Slice /system/systemd-coredump.
Nov 11 21:52:43 kefka systemd[1]: Started Process Core Dump (PID 519/UID 0).
Nov 11 21:52:44 kefka systemd[1]: NetworkManager-dispatcher.service: Deactivated successfully.
Nov 11 21:52:44 kefka systemd-coredump[520]: Process 488 (lightdm-gtk-gre) of user 970 dumped core.
                                             
                                             Stack trace of thread 488:
                                             #0  0x00007d3becde63f4 n/a (libc.so.6 + 0x963f4)
                                             #1  0x00007d3becd8d120 raise (libc.so.6 + 0x3d120)
                                             #2  0x00007d3becd744c3 abort (libc.so.6 + 0x244c3)
                                             #3  0x00007d3bed1c811b n/a (libglib-2.0.so.0 + 0x1e11b)
                                             #4  0x00007d3bed238249 g_assertion_message_error (libglib-2.0.so.0 + 0x8e249)
                                             #5  0x00007d3bed7a66b0 n/a (libgtk-3.so.0 + 0x1a66b0)
                                             #6  0x00007d3bed7a6a90 n/a (libgtk-3.so.0 + 0x1a6a90)
                                             #7  0x00007d3bed7a6df0 n/a (libgtk-3.so.0 + 0x1a6df0)
                                             #8  0x00007d3bed7bf7a3 n/a (libgtk-3.so.0 + 0x1bf7a3)
                                             #9  0x00007d3bed6fa616 n/a (libgtk-3.so.0 + 0xfa616)
                                             #10 0x00007d3bed70868a n/a (libgtk-3.so.0 + 0x10868a)
                                             #11 0x00007d3bed7bbdeb n/a (libgtk-3.so.0 + 0x1bbdeb)
                                             #12 0x00007d3bed8904fc n/a (libgtk-3.so.0 + 0x2904fc)
                                             #13 0x00007d3bed890aeb gtk_widget_get_preferred_height (libgtk-3.so.0 + 0x290aeb)
                                             #14 0x00007d3bed7f6e61 n/a (libgtk-3.so.0 + 0x1f6e61)
                                             #15 0x00007d3bed6fa616 n/a (libgtk-3.so.0 + 0xfa616)
                                             #16 0x00007d3bed70868a n/a (libgtk-3.so.0 + 0x10868a)
                                             #17 0x00007d3bed7eee2e n/a (libgtk-3.so.0 + 0x1eee2e)
                                             #18 0x00007d3bed88fe9d n/a (libgtk-3.so.0 + 0x28fe9d)
                                             #19 0x00007d3bed890d45 gtk_widget_get_preferred_height_and_baseline_for_width (libgtk-3.so.0 + 0x290d45)
                                             #20 0x00007d3bed7f5cd8 n/a (libgtk-3.so.0 + 0x1f5cd8)
                                             #21 0x00007d3bed6fa616 n/a (libgtk-3.so.0 + 0xfa616)
                                             #22 0x00007d3bed70868a n/a (libgtk-3.so.0 + 0x10868a)
                                             #23 0x00007d3bed7eed5e n/a (libgtk-3.so.0 + 0x1eed5e)
                                             #24 0x00007d3bed88fe9d n/a (libgtk-3.so.0 + 0x28fe9d)
                                             #25 0x00007d3bed890d45 gtk_widget_get_preferred_height_and_baseline_for_width (libgtk-3.so.0 + 0x290d45)
                                             #26 0x00007d3bed8904fc n/a (libgtk-3.so.0 + 0x2904fc)
                                             #27 0x00007d3bed890d45 gtk_widget_get_preferred_height_and_baseline_for_width (libgtk-3.so.0 + 0x290d45)
                                             #28 0x00007d3beda1493c n/a (libgtk-3.so.0 + 0x41493c)
                                             #29 0x00007d3bed81c770 n/a (libgtk-3.so.0 + 0x21c770)
                                             #30 0x00007d3bed675728 n/a (libgtk-3.so.0 + 0x75728)
                                             #31 0x00007d3bede03e1c n/a (libgobject-2.0.so.0 + 0x32e1c)
                                             #32 0x00007d3bede03f32 g_signal_emit_valist (libgobject-2.0.so.0 + 0x32f32)
                                             #33 0x00007d3bede03ff4 g_signal_emit (libgobject-2.0.so.0 + 0x32ff4)
                                             #34 0x00007d3bed81c1f5 n/a (libgtk-3.so.0 + 0x21c1f5)
                                             #35 0x00007d3bed81c30e n/a (libgtk-3.so.0 + 0x21c30e)
                                             #36 0x00007d3bed81c3ff n/a (libgtk-3.so.0 + 0x21c3ff)
                                             #37 0x00007d3bede03e1c n/a (libgobject-2.0.so.0 + 0x32e1c)
                                             #38 0x00007d3bede03f32 g_signal_emit_valist (libgobject-2.0.so.0 + 0x32f32)
                                             #39 0x00007d3bede03ff4 g_signal_emit (libgobject-2.0.so.0 + 0x32ff4)
                                             #40 0x00007d3bed9487fa gtk_widget_realize (libgtk-3.so.0 + 0x3487fa)
                                             #41 0x00007d3bed94d999 gtk_widget_set_parent (libgtk-3.so.0 + 0x34d999)
                                             #42 0x00007d3bed69b3bc n/a (libgtk-3.so.0 + 0x9b3bc)
                                             #43 0x00007d3bedde14f3 g_cclosure_marshal_VOID__OBJECTv (libgobject-2.0.so.0 + 0x104f3)
                                             #44 0x00007d3bede03e1c n/a (libgobject-2.0.so.0 + 0x32e1c)
                                             #45 0x00007d3bede03f32 g_signal_emit_valist (libgobject-2.0.so.0 + 0x32f32)
                                             #46 0x00007d3bede03ff4 g_signal_emit (libgobject-2.0.so.0 + 0x32ff4)
                                             #47 0x00007d3bed6f7396 gtk_container_add (libgtk-3.so.0 + 0xf7396)
                                             #48 0x000057efe2ad2257 n/a (lightdm-gtk-greeter + 0xf257)
                                             #49 0x000057efe2ad41e1 greeter_background_connect (lightdm-gtk-greeter + 0x111e1)
                                             #50 0x000057efe2ace0b5 main (lightdm-gtk-greeter + 0xb0b5)
                                             #51 0x00007d3becd75e08 n/a (libc.so.6 + 0x25e08)
                                             #52 0x00007d3becd75ecc __libc_start_main (libc.so.6 + 0x25ecc)
                                             #53 0x000057efe2acf1b5 _start (lightdm-gtk-greeter + 0xc1b5)
[   775.800] (==) Log file: "/home/matt/.local/share/xorg/Xorg.1.log", Time: Mon Nov 11 20:54:04 2024

Is not from a ligtdm start, you'll find that in /var/log (as well as the lightdm logs)

pacman -Qikk lightdm-gtk-greeter lightdm gtk3

Possibly your gtk theme?

In doubt see https://wiki.archlinux.org/title/Core_d … _core_dump and https://wiki.archlinux.org/title/Debuginfod for a full backtrace.

Regardless of that, if this is a de-facto single-user system I tend to agree w/ jocheem67 and skip any DM  and boot straight into a (in doubt locked) GUI session.

Offline

#5 2024-11-12 15:52:41

LaeMat
Member
Registered: 2024-11-12
Posts: 5

Re: XFCE black screen and cursor loop

I was able to get it working again. In lightdm.conf, the greeter-session was commented out. I set it to this, and it now works as intended.

greeter-session=lightdm-gtk-greeter

I was able to run xfce4-panels with dbus-launch (After a MIME update and session cache clear), and that seems to have brought back panels, but I don't know if every app works.

Offline

#6 2024-11-12 15:59:42

seth
Member
Registered: 2012-09-03
Posts: 58,997

Re: XFCE black screen and cursor loop

I was able to run xfce4-panels with dbus-launch

Not good, this indicates a degenerated session bus.

echo $DBUS_SESSION_BUS_ADDRESS
loginctl session-status

Offline

#7 2024-11-12 16:16:48

LaeMat
Member
Registered: 2024-11-12
Posts: 5

Re: XFCE black screen and cursor loop

seth wrote:

Not good, this indicates a degenerated session bus.

echo $DBUS_SESSION_BUS_ADDRESS
unix:path=/run/user/1000/bus
loginctl session-status:
2 - matt (1000)
  Since: Tue 2024-11-12 10:42:02 EST; 1min 25s ago
  State: active
 Leader: 601 (lightdm)
   Seat: seat0; vc7
    TTY: tty7
 Remote: no
Service: lightdm
   Type: x11
  Class: user
Desktop: xfce
   Idle: no
   Unit: session-2.scope
         ├─ 601 lightdm --session-child 13 20
         ├─ 632 xfce4-session
         ├─ 703 /usr/bin/ssh-agent -s
         ├─ 718 xfwm4 --display :0.0 --sm-client-id 285ffc0b3-0e10-40c1-9f62-82ec872c772f
         ├─ 725 xfsettingsd --display :0.0 --sm-client-id 2b9211bef-abad-4718-9a2e-4b08ca0050eb
         ├─ 730 xfce4-panel --display :0.0 --sm-client-id 25bf2e8aa-ab4e-4448-abee-9658c2fd66e0
         ├─ 735 xfdesktop --display :0.0 --sm-client-id 2f7c3d3c7-6038-48de-927d-8b6f2d096f1f
         ├─ 740 xfce4-power-manager --restart --sm-client-id 2a2a16b7a-b4f3-4095-953a-2778d28bb29f
         ├─ 754 nm-applet
         ├─ 759 /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
         ├─ 762 xfce4-screensaver
         ├─ 763 /usr/lib/xfce4/panel/wrapper-2.0 /usr/lib/xfce4/panel/plugins/libsystray.so 6 16777228 systray "Status Tra
y Plugin" "Provides status notifier items (application indicators) and legacy systray items"
         ├─ 768 /usr/lib/xfce4/panel/wrapper-2.0 /usr/lib/xfce4/panel/plugins/libpulseaudio-plugin.so 8 16777229 pulseaudi
o "PulseAudio Plugin" "Adjust the audio volume of the PulseAudio sound system"
         ├─ 778 /usr/lib/xfce4/panel/wrapper-2.0 /usr/lib/xfce4/panel/plugins/libxfce4powermanager.so 9 16777230 power-man
ager-plugin "Power Manager Plugin" "Display the battery levels of your devices and control the brightness of your display"
         ├─ 784 /usr/lib/xfce4/panel/wrapper-2.0 /usr/lib/xfce4/panel/plugins/libnotification-plugin.so 10 16777231 notifi
cation-plugin "Notification Plugin" "Notification plugin for the Xfce panel"
         ├─ 853 /usr/lib/xfce4/panel/wrapper-2.0 /usr/lib/xfce4/panel/plugins/libactions.so 14 16777232 actions "Action Bu
ttons" "Log out, lock or other system actions"
         ├─1044 /usr/bin/xfce4-terminal
         ├─1050 bash
         ├─1056 loginctl session-status
         └─1057 more

Nov 12 10:42:02 kefka systemd[1]: Started Session 2 of User matt.
Nov 12 10:42:08 kefka pkexec[857]: pam_unix(polkit-1:session): session opened for user root(uid=0) by matt(uid=1000)
Nov 12 10:42:08 kefka pkexec[857]: matt: Executing command [USER=root] [TTY=unknown] [CWD=/home/matt] [COMMAND
=/usr/bin/xfpm-power-backlight-helper --set-brightness-switch 0]
Nov 12 10:42:36 kefka pkexec[954]: pam_unix(polkit-1:session): session opened for user root(uid=0) by matt(uid=1000)
Nov 12 10:42:36 kefka pkexec[954]: matt: Executing command [USER=root] [TTY=unknown] [CWD=/home/matt] [COMMAND
=/usr/bin/xfpm-power-backlight-helper --set-brightness 937]
Nov 12 11:08:26 kefka xfce4-screensaver-dialog[1004]: pam_systemd_home(xfce4-screensaver:auth): New sd
-bus connection (system-bus-pam-systemd-home-1004) opened.
Nov 12 11:08:28 kefka xfce4-screensaver-dialog[1004]: pam_warn(xfce4-screensaver:account): function=[pam_sm_ac
ct_mgmt] flags=0 service=[xfce4-screensaver] terminal=[:0.0] user=[matt] ruser=[<unknown>] rhost=[<unknown>]

Offline

#8 2024-11-12 16:20:39

seth
Member
Registered: 2012-09-03
Posts: 58,997

Re: XFCE black screen and cursor loop

That looks ok and there's a xfce4-panel that doesn't look dbus-launched at all?
What happens if you don't dbus-launch and just run xfce4-panel ?
If it's just about the panel not starting w/ the xfce4 session, that's probably rather the session config.
https://wiki.archlinux.org/title/Xfce#R … t_settings

Offline

#9 2024-11-12 17:06:43

LaeMat
Member
Registered: 2024-11-12
Posts: 5

Re: XFCE black screen and cursor loop

seth wrote:

That looks ok and there's a xfce4-panel that doesn't look dbus-launched at all?
What happens if you don't dbus-launch and just run xfce4-panel ?
If it's just about the panel not starting w/ the xfce4 session, that's probably rather the session config.

If I quit xfce4-panel and relaunch it, it now works fine. It opens on startup anyway. I'm not sure what changed, because before doing so, i'd get this:

Error spawning command line "dbus-launch --autolaunch=aa6b8a2079d041c4be9a36afce7ce74f --binary-syntax --close-stderr": Child process exited with code 1

Last edited by LaeMat (2024-11-12 17:07:19)

Offline

Board footer

Powered by FluxBB