a7b462
diff -ru screen-4.9.0.orig/screen.c screen-4.9.0/screen.c
a7b462
--- screen-4.9.0.orig/screen.c  2022-01-28 15:06:02.694612196 +0100
a7b462
+++ screen-4.9.0/screen.c       2022-12-27 13:12:29.464261795 +0100
a7b462
@@ -1145,9 +1145,11 @@
a7b462
 /* if SOCKDIR is not defined, the socket is in $HOME.
a7b462
    in that case it does not make sense to compare uids. */
a7b462
a7b462
+#ifndef __midipix__
a7b462
     if ((int)st.st_uid != real_uid)
a7b462
       Panic(0, "You are not the owner of %s.", SockPath);
a7b462
 #endif
a7b462
+#endif
a7b462
   }
a7b462
a7b462
   if ((st.st_mode & 0777) != 0700)