2

I'm developing my own library for I/O purposes in D, and so far I managed to make my window to open up, but when I close it, I get an error like this:

X connection to :0 broken (explicit kill or server shutdown).

I cannot find anything related to this, and most guides instead recommend me to use some preexisting library for the same purposes, except they often come with very serious caveats (SDL2's audio didn't work for me at all, SFML and a lot of other libraries use the older DirectInput library instead of something newer, etc).

top 1 comments
sorted by: hot top controversial new old
[-] ShaunaTheDead@kbin.social 1 points 1 year ago

I've seen similar errors before. It's referring to what the xorg server considers to be "monitor 0". Maybe your xorg.conf file has an error in it, or perhaps that monitor is unplugged? If you're running an NVIDIA card, you can run sudo nvidia-xconfig for it to overwrite your xorg.conf file which is in /etc/X11 on my machine, note that the X in X11 is capitalized.

this post was submitted on 06 Nov 2023
2 points (100.0% liked)

Linux

6 readers
2 users here now

founded 2 years ago