BOSSoNe0013 / track-o-bot

The friendly Hearthstone Tracker (Linux port)
https://trackobot.com
GNU Lesser General Public License v2.1
39 stars 6 forks source link

The hardcoded :0.0 display number does not work on my fedora 22 #13

Closed philip-bl closed 9 years ago

philip-bl commented 9 years ago

On my system track-o-bot crashes with an error about mit-magic-cookie-1. I decided to debug and find the problem and I found it - on my computer echo $DISPLAY returns :1, and this function call returns NULL meaning that it could not open a display with name :0.0 - see xlib-docs. Therefore the Display variable is NULL and is passed in some other function and that causes SIGSEGV.