Comment 12 for bug 197581

Revision history for this message
miked (miked11) wrote : Re: update-manager crashed with RuntimeError in <module>() : RuntimeError: could not open display

O.K. Here is what is happening.
I start my computer, Ubuntu loads up and auto-logs on and in. Since it loads up a user that probably doesn't have sudo rights. I open up another terminal to access root. [F7] Terminal to [Ctrl]+[Alt]+[F1]Terminal. Then I run commmands like: sudo apt-get update, sudo apt-get upgrade, sudo apt-get dist-upgrade, and sudo update-manager -c -d. I understand I could do that from a terminal window, I perfer to use this method for public access computers being upgraded real-time, while users continue to use the machines.
When I type the command: sudo update-manager -c -d from the console while a [F7] Terminal is open in the background, I get this error message, and a bug report is produced.
I expect to be able to open up multiple terminals with or with out gdm, startx, or whatever gui interface, on more that one terminal at a time.
Thanks, let me know if i'm expecting to much, or if there is a better option for upgrading real-time and sending it to background, so it doesn't bother no sudo users.