diff -Nru xorg-7.4~5ubuntu12/debian/changelog xorg-7.4~5ubuntu13/debian/changelog --- xorg-7.4~5ubuntu12/debian/changelog 2009-02-04 05:08:06.000000000 -0500 +++ xorg-7.4~5ubuntu13/debian/changelog 2009-02-16 04:31:27.000000000 -0500 @@ -1,3 +1,9 @@ +xorg (1:7.4~5ubuntu13) jaunty; urgency=low + + * failsafeXinit: remove options that run gedit as root. (LP: #310126) + + -- Anders Kaseorg Mon, 16 Feb 2009 04:30:20 -0500 + xorg (1:7.4~5ubuntu12) jaunty; urgency=low * control: Reverse the -evdev /-input-all Depends order, hopefully diff -Nru xorg-7.4~5ubuntu12/debian/local/Failsafe/failsafeXinit xorg-7.4~5ubuntu13/debian/local/Failsafe/failsafeXinit --- xorg-7.4~5ubuntu12/debian/local/Failsafe/failsafeXinit 2009-01-25 14:38:57.000000000 -0500 +++ xorg-7.4~5ubuntu13/debian/local/Failsafe/failsafeXinit 2009-02-16 04:32:53.000000000 -0500 @@ -73,10 +73,7 @@ --text "What information would you like to review?" \ --width $app_width --height $app_height \ --column "" --column "Choice" --column "" \ - TRUE VIEW_XORG_LOG "Review the xserver log file" \ - FALSE VIEW_GDM_LOG "Review the startup errors" \ - FALSE EDIT_CONFIG "Edit configuration file" \ - FALSE SAVE_CONFIG_LOGS "Archive configuration and logs" \ + TRUE SAVE_CONFIG_LOGS "Archive configuration and logs" \ --hide-column 2 # TODO: 5 VERIFY_XORGCONF "Check configuration file" # TODO: 6 EXIT_TO_CONSOLE "Exit to console" \ @@ -134,25 +131,11 @@ fi } -view_xorg_log() { - gedit $xorg_log -} - -view_gdm_log() { - gedit $gdm_log -} - verify_xorgconf() { # Run Alberto's xorg.conf checker (once it's available in main) zenity --error --text "Sorry, this option is not implemented yet" } -edit_config() { - backup_xorg_conf || return 1 - - gksu gedit "/etc/X11/xorg.conf" -} - save_config_logs() { xorg_backup_name=failsafeX-backup-${timestamp} xorg_backup_dir=$(mktemp -d -t ${xorg_backup_name}.XXX) @@ -199,10 +182,7 @@ SELECT_BACKUP ) choice="RECONFIGURE"; ;; ## Troubleshooting Menu ## - VIEW_XORG_LOG ) choice="TROUBLESHOOT"; view_xorg_log ;; - VIEW_GDM_LOG ) choice="TROUBLESHOOT"; view_gdm_log ;; VERIFY_XORGCONF ) choice="TROUBLESHOOT"; verify_xorgconf ;; - EDIT_CONFIG ) choice="TROUBLESHOOT"; edit_config ;; SAVE_CONFIG_LOGS ) choice="TROUBLESHOOT"; save_config_logs ;; EXIT_TO_CONSOLE ) with_gdm=""; break ;;