You are not logged in.
Pages: 1
Hi, I updated my Arch Linux laptop after a few months and after logging in, I am getting a black screen and only the cursor is showing. However, I can access tty and upon seeing the journal logs I cannot find the issue. Would someone be able to help me with this?
Offline
You're logging from lightdm into an xfce4 session?
loginctl session-status 2 would list the XFCE session (but the index is historic, based on the journal - in doubt check "loginctl list-sessions")
Once you made sure you found the xfce4 session, post it
loginctl session-status 2 | curl -F 'file=@-' 0x0.stIn doubt try to disable the compositor and post your xorg log
https://wiki.archlinux.org/title/Xfwm#Composite_manager
https://wiki.archlinux.org/title/Xorg#General
Offline
Output of
loginctl session-status 2I am not using xfce. I think it might be loaded as well (used to use this earlier before switching to i3). Also, openbox here actually points to i3. Sorry for my bad configuration.
Output of xorg logs.
In the xorg logs, I can see these errors-
[ 5.929] (EE) AIGLX error: dlopen of /usr/lib/dri/i965_dri.so failed (/usr/lib/dri/i965_dri.so: cannot open shared object file: No such file or directory)
[ 5.929] (EE) AIGLX error: unable to load driver i965Are they the reason for the black screen?
Offline
Possibly. Certainly get rid of xf86-video-intel
Do you also use eg. picom?
Also, openbox here actually points to i3
Otherwise we might have to go at that…
Offline
After removing xf86-video-intel, link to the logs. I am getting this error now (still the black screen though)-
[ 5.862] (II) LoadModule: "intel"
[ 5.863] (WW) Warning, couldn't open module intel
[ 5.863] (EE) Failed to load module "intel" (module does not exist, 0)I am not using any compositor- picom or anything else.
Offline
You've a config File that explicitly references the Driver - remove that.
Offline
Ok, is there a way to find out which package is using the driver? I am unable to find a package config which uses that driver.
Offline
grep -ri intel /{etc,usr/share}/X11/xorg.conf*
Offline
Unfortunately, there was a keyboard backlight conf file and after removing it I am still getting the same error in the logs.
Offline
Please post your Xorg log, https://wiki.archlinux.org/title/Xorg#General
What's the current output of
grep -ri intel /{etc,usr/share}/X11/xorg.conf*?
Offline
Xorg log link.
The output of the grep command is empty.
Offline
And where do you see any error there?
You can also remove the other xf86-video-* packages, does the original problem still exist?
If yes, we'll have to look at your session, you're aware that on default i3 you'd basically just get a black screen and a cursor if you're not autostarting anything else?
Are any processes running you'd expect to display windows?
Offline
I think there is an error line in the logs-
[ 5.731] (EE) Failed to load module "intel" (module does not exist, 0)Isn't that a cause of concern?
Even after removing the xf86-video-* packages, I am still getting the same error.
Okay let me check regarding the i3 issue, I am aware that there is a black screen on the default i3. I am loading the sxhkd, polybar as well after loading i3, but nothing is being displayed and no sxhkd shortcuts are working. I will need to narrow down the program which might be causing the issue.
Offline
Isn't that a cause of concern?
No, the server will consider all matching drivers and step over them. That's absolutely normal.
No idea why this is marked as an error, but it's not fatal and no concern.
After logging into a black screen and from a login on a different tty, check what processes are actually running. You can also
loginctl session-status <index>w/ "<index>" likely being "2" but that depends on the session history (strict increment)
Offline
Hi, I got a little busy at work and was trying to solve the issue. What I found out was that the i3 was being loaded correctly, but, other programs like systemctl, sxhkd, polybars and others were giving errors as these packages were not found. I then set my PATH variable in .xprofile and everything started working normally. I don't know how the PATH variable got erased after the update.
Also, after removing the xf86-video-intel package, now XF86MonBrightness* is not working, which package is a suitable replacement for changing the brightness?
Offline
which package is a suitable replacement for changing the brightness?
https://archlinux.org/packages/extra/any/acpilight/
I then set my PATH variable in .xprofile and everything started working normally. I don't know how the PATH variable got erased after the update.
That's bad and wrong - my money is on you actually running nix stuff
├─805 /home/sudddddd/.nix-profile/bin/zsh --login /etc/lightdm/Xsession /usr/bin/openbox-session
├─810 /usr/bin/python3.10 /home/sudddddd/.local/bin/safeeyes
└─818 /nix/store/pwkb43q48dskasafiw8bk1fsci84jf4w-i3-4.22/bin/i3why are we using nix tbw? All of that is in the repos.
Offline
I just wanted to try nix. I could not work it out as smoothly as the packages in the repos. I am planning to remove the nix packages.
Thanks for all the help and patience in solving my issue. I learnt a lot in the process.
Offline
Pages: 1