2020-05-06 01:17 AM
I installed st-example-image-x11.
Matchbox windows manager started on foto.
And ! have 2 problem. Till.
1st problem.
I can not change the orientation of the matchbox panel. I changed the lines in the /usr/bin/matchbox-session file: matchbox-panel --orientation south
but the screen orientation has not changed
2nd problem
I can't again connect to the X server. Part of my program:
int main( void )
{
Display *d;
Window w;
XEvent e;
char *msg = "Hello, World!";
int s;
if( ( d = XOpenDisplay(DISPLAY) ) == NULL )
{ // Connect X server
printf( "Can't connect X server: %s\n", strerror( errno ) );
exit( 1 );
}
return 0;
}
And I get in the terminal:
Can't connect X server: Success
What am I doing wrong?
Best regards
Alexander.
2020-09-08 01:29 AM
I had some problems with the display on the MP157C-DK2 with orientation, character recognition, etc.
I calibrated display, read the posts. etc. But the problem was that the connector between the display and the board has moved a bit from its proper position. It happened when I was accessing the GPIO pins on the CN2.
I re-inserted the connector and it started to work fine again.