cancel
Showing results for 
Search instead for 
Did you mean: 

I have 2 problems on installed st-example-image-x11.

AShva.1
Associate II

I installed st-example-image-x11.

0693W000000WyObQAK.jpg

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.

1 REPLY 1
O. Mz. - 7
Associate III

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.