Skip to main content
AShva.1
Associate III
May 26, 2020
Question

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

  • May 26, 2020
  • 0 replies
  • 797 views

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.

This topic has been closed for replies.