You are not logged in.
After a
pacman -Syu
and no other changes,
dwm
doesn't start and gives a
dwm: cannot open display
Anyone tips what it could be?
Last edited by early_adopter (2024-09-11 06:13:16)
Offline
How are you trying to start it (startx/xinit, DM, etc)?
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Via gdm and an xsession file pared back to just the dwm command
Offline
Well that's an odd combination - I cant help with GDM, but you could narrow down where the problem is by trying to start other WMs via GDM and by trying to start dwm with startx.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
https://wiki.archlinux.org/title/Displa … figuration
And the AUR package ships https://aur.archlinux.org/cgit/aur.git/ … ktop?h=dwm
Offline
Via gdm and an xsession file pared back to just the dwm command
I've done that :-)
Please share the xsession file. I preferred to call a script that ran dwm with the associated programs for the full desktop, it worked well.
Para todos todo, para nosotros nada
Offline
After some searching I found the problem. It wasn't dwm itself.
My dwm starts a terminal. The termcmd I have is urxvt. My urxvt uses the Perl extensions and was trying to load a libperl.so from a directory with a version that no longer existed after the pacman update. Reinstalling urxvt solved it.
More details here https://bbs.archlinux.org/viewtopic.php?id=256928
Thanks to all who helped with suggestions.
Offline
:colbertemoji:
The only way I can see this causing the original message is if urxvt actually is the session keeping process, it fails to start, the X11 server terminates and when you're trying to start dwm it cannot reach X11 anymore.
Offline
That was exactly the issue, the uxrvt was the session-keeping process so when it couldn't find the .so it failed and took dwm down with it.
Offline