--- a/src/util.c
+++ b/src/util.c
@@ -38,7 +38,7 @@
 				"%s/wayvncctl", xdg_runtime);
 	else
 		snprintf(buffer, sizeof(buffer),
-				"/tmp/wayvncctl-%d", getuid());
+				"@TERMUX_PREFIX@/tmp/wayvncctl-%d", getuid());
 	return buffer;
 }
 
