components/desktop/xscreensaver/patches/18-bug-15141135.patch
changeset 5561 0416d82f7f55
parent 5560 61114c4b4667
child 5562 880dc66054d5
--- a/components/desktop/xscreensaver/patches/18-bug-15141135.patch	Mon Mar 07 13:01:10 2016 -0800
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,28 +0,0 @@
-15141135 SUNBT4802301 xscreensaver should not tell root to "xhost +localhost"
-
-Upstream's opinion differs from our requirements here.
----
- driver/demo-Gtk.c |   11 +----------
- 1 files changed, 1 insertions(+), 10 deletions(-)
-
-diff --git a/driver/demo-Gtk.c b/driver/demo-Gtk.c
---- a/driver/demo-Gtk.c
-+++ b/driver/demo-Gtk.c
-@@ -1058,16 +1058,7 @@ await_xscreensaver (state *s)
-         strcat (buf, STFU
- 	  _("You are running as root.  This usually means that xscreensaver\n"
-             "was unable to contact your X server because access control is\n"
--            "turned on.  Try running this command:\n"
--            "\n"
--            "                        xhost +localhost\n"
--            "\n"
--            "and then selecting `File / Restart Daemon'.\n"
--            "\n"
--            "Note that turning off access control will allow anyone logged\n"
--            "on to this machine to access your screen, which might be\n"
--            "considered a security problem.  Please read the xscreensaver\n"
--            "manual and FAQ for more information.\n"
-+            "turned on.\n"
-             "\n"
-             "You shouldn't run X as root. Instead, you should log in as a\n"
-             "normal user, and `su' as necessary."));