Skip to content
This repository has been archived by the owner on Jan 26, 2024. It is now read-only.

DWL not launching as GDM session #503

Open
seagoj opened this issue Oct 30, 2023 · 5 comments
Open

DWL not launching as GDM session #503

seagoj opened this issue Oct 30, 2023 · 5 comments
Labels
A: bug Something isn't working

Comments

@seagoj
Copy link

seagoj commented Oct 30, 2023

Info

dwl version: 0.4
wlroots version: 0.16.2

Description

I understand this is likely not at all, or at least not entirely, DWL's problem, but when I launch the DWL session from GDM, I just get a black screen that does not respond to any keyboard commands. This GDM instance is also running wayland, so my first thought was an issue launching the compositor.

Thanks for your time!

@seagoj seagoj added the A: bug Something isn't working label Oct 30, 2023
@fauxmight
Copy link

@seagoj Are you able to run dwl without GDM?

Have you set any particular bindings in your config.h file?

@PalanixYT
Copy link
Contributor

the black black screen is alright as dwl does not ship a background by default.
Have you checked if you are using the correct keybindings? By default, dwl uses the alt key instead of the super key.

@seagoj
Copy link
Author

seagoj commented Oct 30, 2023

Yes, none of the bindings I've added work and alt+p doesn't launch bemenu and shift+alt+q doesn't kill it.

Something is happening though, because the screen does change from totally black to a slightly lighter black.

I can launch dwl from the TTL just fine. It only fails via GDM

@fauxmight
Copy link

@seagoj Modify the .desktop file used for launching dwl from GDM to redirect stderr (like /path/to/dwl 2>/tmp/dwl.log) and see if dwl is even starting.

@seagoj
Copy link
Author

seagoj commented Oct 30, 2023

@fauxmight

amdgpu: amdgpu_cs_ctx_create2 failed. (-13)
00:00:00.043 [ERROR] [xwayland/sockets.c:63] Failed to bind socket @/tmp/.X11-unix/X0: Address already in use
00:00:00.043 [ERROR] [xwayland/sockets.c:63] Failed to bind socket @/tmp/.X11-unix/X1: Address already in use
00:00:00.072 [ERROR] [backend/x11/backend.c:695] X11 error: op ChangeProperty (no minor), code Atom (no extension), sequence 62, value 0
00:00:00.072 [ERROR] [backend/x11/backend.c:695] X11 error: op ChangeProperty (no minor), code Atom (no extension), sequence 63, value 0
00:00:00.072 [ERROR] [backend/x11/backend.c:695] X11 error: op ChangeProperty (no minor), code Atom (no extension), sequence 64, value 0

Compared to launching from the TTY:

amdgpu: amdgpu_cs_ctx_create2 failed. (-13)
00:00:00.062 [ERROR] [xwayland/sockets.c:63] Failed to bind socket @/tmp/.X11-unix/X0: Address already in use

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants