Remote debugging don't find video device


I’m trying to remotely debug my SDL application from Eclipse.

So the application starts with the shared Library which contains SDL calls but when the lib calls SDL_Init(), it returns with the message “No available video device”.

The application works well when I starts it locally from the Rasp.

I saw some posts about guys remotely debugging X11 applications so I guess the problem doesn’t from this environment.

Could the problem come from using the VC4 driver or because in that case gdbserver is launched outside the X11 environment?

In that case the only solution is to manually starts the app locally with gdbserver started from an X11 terminal then attach Eclipse to the app right?