holgersson-overlay/x11-wm/xpra/files/xpra-2.0-suid-warning.patch

12 lines
617 B
Diff
Raw Normal View History

--- xpra-2.0/xpra/scripts/config.py
+++ xpra-2.0/xpra/scripts/config.py
@@ -127,7 +127,7 @@
xorg_stat = os.stat(xorg_bin)
if (xorg_stat.st_mode & stat.S_ISUID)!=0:
if (xorg_stat.st_mode & stat.S_IROTH)==0:
- warn("%s is suid and not readable, Xdummy support unavailable" % xorg_bin)
+ debug("%s is suid and not readable, Xdummy support unavailable" % xorg_bin)
return get_Xvfb_command()
debug("%s is suid and readable, using the xpra_Xdummy wrapper" % xorg_bin)
use_wrapper = True