2020-05-26 03:28 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?
Сan anyone help?
Best regards
Alexander.