You are not logged in.

#1 2024-09-10 21:12:36

early_adopter
Member
Registered: 2011-03-30
Posts: 24

[SOLVED] dwm: cannot open display

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

#2 2024-09-10 21:28:40

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,330
Website

Re: [SOLVED] dwm: cannot open display

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

#3 2024-09-10 21:32:44

early_adopter
Member
Registered: 2011-03-30
Posts: 24

Re: [SOLVED] dwm: cannot open display

Via gdm and an xsession file pared back to just the dwm command

Offline

#4 2024-09-10 21:52:36

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,330
Website

Re: [SOLVED] dwm: cannot open display

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

#5 2024-09-11 05:38:58

seth
Member
Registered: 2012-09-03
Posts: 60,787

Offline

#6 2024-09-11 05:47:07

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 8,732
Website

Re: [SOLVED] dwm: cannot open display

early_adopter wrote:

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

#7 2024-09-11 06:12:53

early_adopter
Member
Registered: 2011-03-30
Posts: 24

Re: [SOLVED] dwm: cannot open display

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

#8 2024-09-11 06:17:32

seth
Member
Registered: 2012-09-03
Posts: 60,787

Re: [SOLVED] dwm: cannot open display

: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

#9 2024-09-11 08:01:04

early_adopter
Member
Registered: 2011-03-30
Posts: 24

Re: [SOLVED] dwm: cannot open display

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

Board footer

Powered by FluxBB