19033N/A4802301 xscreensaver should not tell root to "xhost +localhost"
19033N/A---
19033N/A driver/demo-Gtk.c | 11 +----------
19033N/A 1 files changed, 1 insertions(+), 10 deletions(-)
19033N/A
19033N/Adiff --git xscreensaver-5.12/driver/demo-Gtk.c xscreensaver-5.12/driver/demo-Gtk.c
19033N/A--- xscreensaver-5.12/driver/demo-Gtk.c
19033N/A+++ xscreensaver-5.12/driver/demo-Gtk.c
19117N/A@@ -1065,16 +1065,7 @@ await_xscreensaver (state *s)
19033N/A strcat (buf, STFU
19033N/A _("You are running as root. This usually means that xscreensaver\n"
19033N/A "was unable to contact your X server because access control is\n"
19033N/A- "turned on. Try running this command:\n"
19033N/A- "\n"
19033N/A- " xhost +localhost\n"
19033N/A- "\n"
19033N/A- "and then selecting `File / Restart Daemon'.\n"
19033N/A- "\n"
19033N/A- "Note that turning off access control will allow anyone logged\n"
19033N/A- "on to this machine to access your screen, which might be\n"
19033N/A- "considered a security problem. Please read the xscreensaver\n"
19033N/A- "manual and FAQ for more information.\n"
19033N/A+ "turned on.\n"
19033N/A "\n"
19033N/A "You shouldn't run X as root. Instead, you should log in as a\n"
19033N/A "normal user, and `su' as necessary."));
19033N/A