[Bug 883618] Re: Console upgrade useless.. XSet warnings all over the screen
Thanks a lot Hunter, you tips saved my day:) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/883618 Title: Console upgrade useless.. XSet warnings all over the screen To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/883618/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 883618] Re: Console upgrade useless.. XSet warnings all over the screen
I experienced this bug on 11.10 -> 12.04 using 1:0.152.25.9, and got spammed to heck by this message. Found a decent solution though: did ps aux | grep "xdg" and found this: root 16097 0.0 0.0 1916 440 pts/20 S+ 15:08 0:00 /bin/sh -c while true; do /usr/bin/xdg-screensaver reset; sleep 30; done in the output. Killed that process, nothing further. Thought that future users might find this useful. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/883618 Title: Console upgrade useless.. XSet warnings all over the screen To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/883618/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 883618] Re: Console upgrade useless.. XSet warnings all over the screen
This bug was fixed in the package update-manager - 1:0.156.8 --- update-manager (1:0.156.8) precise; urgency=low [ Robert Roth ] * Update icon name to use FD.o standard (LP: #921310) [ Julien Lavergne ] * DistUpgrade/DistUpgrade.cfg, DistUpgrade/removal_blacklist.cfg, UpdateManager/Core/utils.py, AutoUpgradeTester/profile/lubuntu/DistUpgrade.cfg: - Add Lubuntu support, and don't upgrade gnome-components which have been removed from Lubuntu installation (LP: #945215) [ Barry Warsaw ] * Improve the warning issued when i8xx graphics hardware is detected. (LP: #941172) [ Brian Murray ] * DistUpgrade/removal_blacklist.cfg: - blacklist gnome-session so that users can always login after a failed partial upgrade (LP: #946539) [ James Hunt ] * Only attempt to stop screensaver if DISPLAY set, and throw away xdg-screensaver output. (LP: #883618) [ Colin Watson ] * Use 'from dbus.mainloop.glib import DBusGMainLoop; DBusGMainLoop(set_as_default=True)' to set up the main loop, rather than importing the deprecated dbus.glib. [ Gabor Kelemen ] * Fix misplaced parentheses. LP: #952959 -- Michael VogtTue, 13 Mar 2012 15:29:59 +0100 ** Changed in: update-manager (Ubuntu) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/883618 Title: Console upgrade useless.. XSet warnings all over the screen To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/883618/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 883618] Re: Console upgrade useless.. XSet warnings all over the screen
Another reason why should the X11 messing thrown out: Someone might have set his X11 to blank, say, in 20 seconds (ie on open cellphone, not sure if GTA04 runs ubuntu, but it definitely could). do-release-upgrade would then turn the screen off and on repeatedly. Which is even worse with OLED displays, needlessly shortening their lives and wasting energy So if polling is the best you can do, please don't do anything at all. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/883618 Title: Console upgrade useless.. XSet warnings all over the screen To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/883618/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 883618] Re: Console upgrade useless.. XSet warnings all over the screen
** Changed in: update-manager (Ubuntu) Status: Triaged => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/883618 Title: Console upgrade useless.. XSet warnings all over the screen To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/883618/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 883618] Re: Console upgrade useless.. XSet warnings all over the screen
** Branch linked: lp:update-manager -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/883618 Title: Console upgrade useless.. XSet warnings all over the screen To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/883618/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 883618] Re: Console upgrade useless.. XSet warnings all over the screen
Because those who want to can run the "while true do xdg-screensaver reset; sleep 20; done" loop manually. Maybe an extra parameter called "mess with X11" that would default to off? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/883618 Title: Console upgrade useless.. XSet warnings all over the screen To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/883618/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 883618] Re: Console upgrade useless.. XSet warnings all over the screen
** Branch linked: lp:~jamesodhunt/update-manager/fix-for-bug-883618 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/883618 Title: Console upgrade useless.. XSet warnings all over the screen To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/883618/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 883618] Re: Console upgrade useless.. XSet warnings all over the screen
Yeah, that would be a little bit better. but what about this solution: Not calling xdg-screensaver at all do-release-upgrade is a console application. Let the GUIs handle the screensaver if necessary. (And perhaps just by telling the screensaver to disable?) Also: what about upgrades ran over ssh with X11 forwarding enabled? The queries needlessly consume the (possibly quite limited) bandwidth. another example: I use ubuntu on pandaboard, which has slow SD card, the upgrade-related IO takes long to finish. I am glad I know I have to unset "DISPLAY" to prevent the screen from shining quite bringht whole night. Thanks -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/883618 Title: Console upgrade useless.. XSet warnings all over the screen To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/883618/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 883618] Re: Console upgrade useless.. XSet warnings all over the screen
xdg-screensaver is being called (up to twice a minute) I think to stop any possibility of a screensaver starting. Each time it is called, it checks DPMS. A better fix than I suggested in #11 would be for update-manager simply not to call xdg-screensaver if DISPLAY is not set. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/883618 Title: Console upgrade useless.. XSet warnings all over the screen To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/883618/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 883618] Re: Console upgrade useless.. XSet warnings all over the screen
Hey.. there is somewhat like one message per minute, maybe more. Is xdg-screensaver checking, if the DPMS is enabled every minute?? Hiding such problem is not a good idea. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/883618 Title: Console upgrade useless.. XSet warnings all over the screen To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/883618/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 883618] Re: Console upgrade useless.. XSet warnings all over the screen
This xset problem is caused by update-manager calling /usr/bin/xdg- screensaver which in turns calls xset. DistUpgrade/DistUpgradeQuirks.py in update-manager invokes 'xdg- screensaver reset' repeatedly and xdg-screensaver makes a number of calls to xprop and xset. An example of a problematic call to xset by xdg-screensaver: xset -q | grep 'DPMS is Enabled' > /dev/null 2> /dev/null If DISPLAY is not set (as will be the case on a VT), 'xset -q' will write the following text to stderr: xset: unable to open display "" xdg-screensaver should probably be calling xset like this: xset -q 2>/dev/null | grep 'DPMS is Enabled' > /dev/null 2> /dev/null However, the easiest and quickest fix is to have update-manager invoke xdg-screensaver with stdout+stderr redirected to /dev/null. What is not clear at this stage is what is causing the failing calls to xprop since all the calls made by xdg-screensaver appear to be safe. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/883618 Title: Console upgrade useless.. XSet warnings all over the screen To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/883618/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 883618] Re: Console upgrade useless.. XSet warnings all over the screen
James, can you please have a look at this one? ** Changed in: update-manager (Ubuntu) Assignee: Canonical Foundations Team (canonical-foundations) => James Hunt (jamesodhunt) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/883618 Title: Console upgrade useless.. XSet warnings all over the screen To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/883618/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 883618] Re: Console upgrade useless.. XSet warnings all over the screen
** Changed in: update-manager (Ubuntu) Assignee: (unassigned) => Canonical Foundations Team (canonical-foundations) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/883618 Title: Console upgrade useless.. XSet warnings all over the screen To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/883618/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 883618] Re: Console upgrade useless.. XSet warnings all over the screen
** Tags added: dist-upgrade lucid2precise -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/883618 Title: Console upgrade useless.. XSet warnings all over the screen To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/883618/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 883618] Re: Console upgrade useless.. XSet warnings all over the screen
** Tags added: rls-mgr-p-tracking -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/883618 Title: Console upgrade useless.. XSet warnings all over the screen To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/883618/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs