Closed berkay-repos closed 2 years ago
XCB_CONN_CLOSED_PARSE_ERR
How are you launching the WM? What's the output of echo $DISPLAY
, is it correct?
After I login to my account, I use Hypr
to launch the WM. echo $DISPLAY
outputs nothing. I tried to set it to :0 by running DISPLAY=':0'
but it still gave the same error.
From what you're saying, I am guessing you are just launching Hypr
from a tty. That's not the correct way to launch an Xorg WM.
Put exec Hypr
in ~/.xinitrc
and type startx
.
Thank you. I'm a beginner to Linux. I didn't know that was the way to start window managers, Sorry for the trouble 😅.
But for some reason now I can't use keybindings. I'm just copying the example config from the repo to ~/.config/hypr/hypr.conf. When I change the config WM reloads and I can see the difference but keybindings won't work. I tried SUPER and ALT but to no avail. The log
restart xorg. if that doesn't fix it, post your config.
I rebooted my pc but it still doesn't work. 😞 https://ghostbin.com/E9zM6
That is very weird, I've never come across this. What it seems is happening (judging by the previous log) is that the WM doesn't recieve any key press events. I'll add some more logging and we'll see what happens.
recompile and try now, then show me the log. (Try to also hit stuff like super+r, super+q, super+g)
I pulled the latest commit from the repo and rebuilt it. The new log: https://ghostbin.com/UwasW
Something must be off on your end. Xorg doesn't recieve keyboard input. (or it doesn't pass it to the WM).
It does not seem like an issue with the window manager.
Try to disable all unnecessary stuff at X start.
also, add
exec-once=kitty
(kitty or your favorite terminal emulator)
and let me know if you can type inside it. If not, congrats, you found the issue. If yes, I have never seen such a weird bug.
I pulled the latest commit from the repo and rebuilt it. The new log: https://ghostbin.com/UwasW
I guess it works on your system.
If you use example/hypr.conf,
there is no wallpaper.
You should start for your self.
You could use Super + Enter
to launch xterm
, if xterm
on you system.
Then you could set wallpaper use feh --bg-fill /usr/share/backgrounds/forest.jpg
=============================================================================
If you want to autostart,
please see my ~/.config/hypr/hypr.conf for reference.
I use exec-once=~/.config/hypr/autostart
.
and see my ~/.config/hypr/autostart.
search keyword: feh
Try to disable all unnecessary stuff at X start.
weirdly, numlockx was causing issues. I can successfully run the program without any errors but when I do, keybindings doesn't work. The program doesn't cause any problems with other window managers though. Weird... Thank you for your help. <3
@samwhelp Thanks for the advice!
Please describe the bug Cannot connect to the X server.
Steps to reproduce: run
Hypr
Expected behavior Connect to the X server.
Log file: [LOG] Hypr debug log. Built on Dec 26 2021 at 19:02:29 [LOG] Pipes done! Forking! [LOG] Parent continuing! [CRITICAL] Connection Failed! Return: 5 [LOG] Child says Hello World! [CRITICAL] Connection Failed! Return: 5 [ERR] Bar exited with code 5! https://ghostbin.com/blVwM