[Bug 883618] Re: Console upgrade useless.. XSet warnings all over the screen
James Hunt
883618 at bugs.launchpad.net
Thu Mar 1 16:13:22 UTC 2012
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
Foundations Bugs, which is subscribed to update-manager in Ubuntu.
https://bugs.launchpad.net/bugs/883618
Title:
Console upgrade useless.. XSet warnings all over the screen
Status in “update-manager” package in Ubuntu:
Triaged
Bug description:
Console upgrade via do-release-upgrade of kubuntu desktop is a real pain. (from a Virtual Terminal, no X11 running)
Unless you are watching every upgrade's move, there is no way to determine which question got asked.
It gets scrolled away with line this: xset: Unable to open display ""
also the line gets mis-aligned.
I was not aware of the issue and watched >1h the screen filled with
those error messages.. While the upgrade process waited for my
answer.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/883618/+subscriptions
More information about the foundations-bugs
mailing list