This seems to be the problematic code, in /usr/bin/xfailsafedialog: class FailSafeDialog: def __init__(self): self.options = FailSafeOptions() # Homage to glade gtk.window_set_default_icon_name("display-capplet") header = _("Ubuntu is running in low-graphics mode") msg = _("Your screen and graphics card could not be detected " "correctly. To use higher resolutions, visual effects " "or multiple screens, you have to configure the display " "yourself.") ... dia.add_button(_("_Shut Down"), RESPONSE_SHUTDOWN) ... elif res == RESPONSE_SHUTDOWN: print "shutdown" os.system("/sbin/shutdown now")
Not sure why shutdown now is leaving the user at a prompt though. Anyone got an idea there? xfailsafedialog is getting called via gksu: /usr/bin/gksu -u root "/usr/bin/xfailsafedialog" However come to think of it, I've never seen the root password prompt. Anyone got a better solution that causes a password to be prompted for? Re-filing to displayconfig-gtk since the primary issue seems localized to its code in any case. ** Changed in: displayconfig-gtk (Ubuntu) Sourcepackagename: xorg => displayconfig-gtk -- privilege escalation when canceling the low-graphics warning prompt https://bugs.launchpad.net/bugs/190370 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs