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?

Сan anyone help?

Best regards

Alexander.

0 REPLIES 0