I am trying to run an application compiled in VisualGDB on my Raspberry Pi. In Visual Studio debugging works fine, but I need to run this application on an HDMI monitor. I tried to run the file on RPi, changing the directory to "Project\Debug" and using the command "./MyApp" but it says "MyApp: cannot connect to X server". I am using Raspbian Lite. Since I am an ultra beginner and not really familiar with Linux I don't know how to deal with this problem.