|
|
|
@ -32,6 +32,7 @@
|
|
|
|
|
#include <unistd.h>
|
|
|
|
|
#include <fcntl.h>
|
|
|
|
|
#include <netdb.h>
|
|
|
|
|
#include <errno.h>
|
|
|
|
|
|
|
|
|
|
/******************************************************************************/
|
|
|
|
|
/**
|
|
|
|
@ -1202,6 +1203,7 @@ process_server_paint_rect_shmem(struct mod *amod, struct stream *s)
|
|
|
|
|
amod->screen_shmem_id = 0;
|
|
|
|
|
amod->screen_shmem_pixels = 0;
|
|
|
|
|
amod->screen_shmem_id_mapped = 0;
|
|
|
|
|
log_message(LOG_LEVEL_ERROR, "g_shmat() returned error, errno: %d\nIs X11rdp running on the same host as xrdp?\n", errno);
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
@ -1313,6 +1315,7 @@ process_server_paint_rect_shmem_ex(struct mod *amod, struct stream *s)
|
|
|
|
|
amod->screen_shmem_id = 0;
|
|
|
|
|
amod->screen_shmem_pixels = 0;
|
|
|
|
|
amod->screen_shmem_id_mapped = 0;
|
|
|
|
|
log_message(LOG_LEVEL_ERROR, "g_shmat() returned error, errno: %d\nIs X11rdp running on the same host as xrdp?\n", errno);
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|