Hottest Free Downloads - DownloadPipe.com Over 197,000 downloads! Bookmark Now!
DownloadPipe.com - New Downloads Every Minute
 SEARCH:
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Bug#550042: xscreensaver still starts automatically in KDE..

 
   Linux (Home) -> Bugs Dist RSS
Next:  [PATCH 00/23] Removal of binary sysctl support  
Author Message
Yitzchak Gale

External


Since: Jan 24, 2006
Posts: 6



(Msg. 1) Posted: Sun Nov 08, 2009 9:25 am
Post subject: Bug#550042: xscreensaver still starts automatically in KDE sessions
Archived from groups: linux>debian>bugs>dist (more info?)

reopen 550042 =
severity 550042 important
thanks

In the proposed fix for this bug, the Xsession.d item
was replaced by an xdg autostart item. So xscreensaver
still starts automatically for every desktop session.

In a KDE session, this causes a conflict between
xscreensaver and KDE's own screen saver service.
The xscreensaver daemon should not be launched
during a KDE session.

On my system, if a KDE session is left untouched for
a while, the session locks in a way that makes it
impossible to unlock: any keyboard or mouse activity
brings up the xscreensaver unlock dialogue, and even
the correct password is rejected. Unless it is possible
to log in remotely and take some action as root, the
system has become completely unusable. Therefore,
I have upgraded the severity to "important", though
perhaps it ought to be "grave".

In my opinion, this package should not cause any
automatic startup at all of the xscreensaver
daemon. It is the responsibility of each desktop
environment and window manager to decide
what automatic screen saver services, if any,
to provide by default.

Thanks,
Yitz



--
To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST.DeleteThis@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.DeleteThis@lists.debian.org
Back to top
Login to vote
Jose Luis Rivas

External


Since: Nov 08, 2009
Posts: 1



(Msg. 2) Posted: Sun Nov 08, 2009 10:25 am
Post subject: Bug#550042: xscreensaver still starts automatically in KDE sessions [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Sun, Nov 8, 2009 at 7:59 AM, Yitzchak Gale <gale DeleteThis @sefer.org> wrote:
> reopen 550042 =
> severity 550042 important
> thanks
>
> In the proposed fix for this bug, the Xsession.d item
> was replaced by an xdg autostart item. So xscreensaver
> still starts automatically for every desktop session.
>
> In a KDE session, this causes a conflict between
> xscreensaver and KDE's own screen saver service.
> The xscreensaver daemon should not be launched
> during a KDE session.

With XscreenSaver 5.10-3 we shipped xdg and the Xsession.d file wasn't
removed, please remove the Xsession.d and test. This bug (shipping
both files) is going to be fixed on next upload.
>
> On my system, if a KDE session is left untouched for
> a while, the session locks in a way that makes it
> impossible to unlock: any keyboard or mouse activity
> brings up the xscreensaver unlock dialogue, and even
> the correct password is rejected. Unless it is possible
> to log in remotely and take some action as root, the
> system has become completely unusable. Therefore,
> I have upgraded the severity to "important", though
> perhaps it ought to be "grave".
>
> In my opinion, this package should not cause any
> automatic startup at all of the xscreensaver
> daemon. It is the responsibility of each desktop
> environment and window manager to decide
> what automatic screen saver services, if any,
> to provide by default.

So KDE will provide it only for kscreensaver and GNOME only
gnome-screensaver. If someone is new and doesn't know how to set it up
automatic startup for xscreensaver it can't do it. Right? Sorry but I
don't think so. With the xdg.desktop it's suppossed you can deactivate
it on your window manager - startup manager.

Regards.
--
Jose Luis Rivas. San Cristóbal, Venezuela.
GPG 0xCACAB118 0x7C4DF50D
http://joseluisrivas.net/acerca - http://ghostbar.ath.cx/about



--
To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST DeleteThis @lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster DeleteThis @lists.debian.org
Back to top
Login to vote
Yitzchak Gale

External


Since: Jan 24, 2006
Posts: 6



(Msg. 3) Posted: Sun Nov 08, 2009 1:25 pm
Post subject: Bug#550042: xscreensaver still starts automatically in KDE sessions [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

> With XscreenSaver 5.10-3 we shipped xdg and the Xsession.d file wasn't
> removed,

Yes, thanks. I did figure that out though.

> please remove the Xsession.d and test.

I did that. The problem still occurs. When I
also remove xscreensaver-daemon.desktop,
the problem is fixed.

>> In my opinion, this package should not cause any
>> automatic startup at all of the xscreensaver
>> daemon.

> So KDE will provide it only for kscreensaver

No, KDE will not provide it at all. KDE runs
xscreensaver hacks inside its own screen saver
service. The xscreensaver daemon should never
run in a KDE session.

> and GNOME only gnome-screensaver.

I don't know how GNOME's screen saver service
works, but I suspect that also for GNOME it is
a bug for xscreensaver daemon to run. It's not
clear yet if that bug is so severe that the system
freezes up in GNOME as it does in KDE, but it's
still a bug. See #519061.

> If someone is new and doesn't know how to set it up
> automatic startup for xscreensaver it can't do it. Right?

It depends what kind of environment they are using. In
KDE and GNOME, the desktop manager will automatically
set up whatever needs to be set up. In fact, they already
do that - without us trying to force xscreensaver daemon
down their throats. The same is true for any other environment
that is designed for screen savers to work without configuration,
each in its own way.

In raw X with a minimalist window manager, such as
xmonad or dwm or twm, it is definitely the user's
responsibility to start xscreensaver daemon. That matches
the "stay out of my way" philosophy of those environments,
and it is clearly explained in their documentation. So it is
also a bug to start xscreensaver daemon automatically in
that type of environment. Someone who is "new and doesn't
know how to set it up" - and doesn't want to learn how -
should not be using xmonad and friends.

There are many other window managers and desktop
environments, each with its own philosophy. For some,
perhaps it may be right for xscreensaver daemon to
launch automatically. For many it is definitely very wrong.
It is impossible for this package to do exactly the
right thing for every environment every time. Just install
xscreensaver, and let each environment decide for itself
if and how it gets launched.

> With the xdg.desktop it's suppossed you can deactivate
> it on your window manager - startup manager.

No, xdg autostart items are just that - they start automatically.
If you put "crash_my_system.desktop" into that folder, the
system will crash, and that is a serious bug. Similarly, if
you put "works_for_gnome_but_crashes_kde.desktop"
in there, it will do just that. The only things you can install
into that folder are things that are guaranteed to work
for *every* desktop environment. In this case, it breaks
KDE, and I suspect that it also breaks GNOME.

Some environments do have a "startup manager" UI to
manage start-up items, but that doesn't give us permission
to install broken things there.

Actually, I think you have pointed out another possible
issue. The X startup procedure for Debian should
not launch the items in the xdg autostart folder unless an
xdg-compliant desktop environment is being launched.
For people who are only running a simple window manager
and not running a desktop environment, these items should
not be run.

But in our case, that is irrelevant. xscreensaver daemon
should *never* start automatically, unless a specific
window manager or desktop environment calls for it.

Thanks,
Yitz



--
To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST.RemoveThis@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.RemoveThis@lists.debian.org
Back to top
Login to vote
Tormod Volden

External


Since: May 06, 2007
Posts: 10



(Msg. 4) Posted: Mon Nov 09, 2009 11:25 am
Post subject: Bug#550042: xscreensaver still starts automatically in KDE sessions [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Yitz,
Both KDE and GNOME ship by default their own screensaver daemons
(kscreensaver and gnome-screensaver). I am most familiar with
gnome-screensaver so I will use it as the example, but I think
kscreensaver does the same. The gnome-screensaver package ships its
own desktop file which is active by default. It is not the "desktop
environment" which is activating it, it is the desktop file from the
screensaver package which makes it start.

We offer the xscreensaver as a substitute, for those who do not like
gnome-screensaver for some reason. If they remove the
gnome-screensaver package and install xscreensaver instead, they
expect xscreensaver to be activated by default. This is also the case.
Otherwise it would be considered a security issue that a screensaver
package is not active after installation.

Users of any other xdg-compliant desktop environment will also expect
that xscreensaver is starting if they install it.

We expect those who install both packages, to have a special reason
for this, because a normal user on the other hand will just use
gnome-screensaver which comes with GNOME. The special users will have
to choose which one to use in their sessions.

I don't know if you fall into any of those categories. Why do you
install the xscreensaver package?

If you have an elegant solution which caters for all needs, I would be
very interested. I don't see why xscreensaver should be more defensive
than gnome-screensaver in the both-installed corner case. Maybe the
desktop environments (whatever function is sourcing the desktops)
should note that two screensavers are installed and only start one of
them?



--
To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST.RemoveThis@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.RemoveThis@lists.debian.org
Back to top
Login to vote
Jose Luis Rivas

External


Since: Nov 10, 2009
Posts: 1



(Msg. 5) Posted: Tue Nov 10, 2009 4:26 pm
Post subject: Bug#550042: xscreensaver still starts automatically in KDE sessions [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

We are waiting for your answer.

On Mon, Nov 9, 2009 at 11:08 AM, Tormod Volden <debian.tormod.DeleteThis@gmail.com> wrote:
> Yitz,
> Both KDE and GNOME ship by default their own screensaver daemons
> (kscreensaver and gnome-screensaver). I am most familiar with
> gnome-screensaver so I will use it as the example, but I think
> kscreensaver does the same. The gnome-screensaver package ships its
> own desktop file which is active by default. It is not the "desktop
> environment" which is activating it, it is the desktop file from the
> screensaver package which makes it start.
>
> We offer the xscreensaver as a substitute, for those who do not like
> gnome-screensaver for some reason. If they remove the
> gnome-screensaver package and install xscreensaver instead, they
> expect xscreensaver to be activated by default. This is also the case.
> Otherwise it would be considered a security issue that a screensaver
> package is not active after installation.
>
> Users of any other xdg-compliant desktop environment will also expect
> that xscreensaver is starting if they install it.
>
> We expect those who install both packages, to have a special reason
> for this, because a normal user on the other hand will just use
> gnome-screensaver which comes with GNOME. The special users will have
> to choose which one to use in their sessions.
>
> I don't know if you fall into any of those categories. Why do you
> install the xscreensaver package?
>
> If you have an elegant solution which caters for all needs, I would be
> very interested. I don't see why xscreensaver should be more defensive
> than gnome-screensaver in the both-installed corner case. Maybe the
> desktop environments (whatever function is sourcing the desktops)
> should note that two screensavers are installed and only start one of
> them?
>
>
>



--
Jose Luis Rivas. San Cristóbal, Venezuela.
GPG 0xCACAB118 0x7C4DF50D
http://joseluisrivas.net/acerca - http://ghostbar.ath.cx/about



--
To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST.DeleteThis@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.DeleteThis@lists.debian.org
Back to top
Login to vote
Yitzchak Gale

External


Since: Jan 24, 2006
Posts: 6



(Msg. 6) Posted: Tue Nov 10, 2009 8:28 pm
Post subject: Bug#550042: xscreensaver still starts automatically in KDE sessions [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

> We are waiting for your answer.

Hi Jose and Tormod, sorry for the delay. Smile

Tormod Volden wrote:
>> The gnome-screensaver package ships its
>> own desktop file which is active by default. It is not the "desktop
>> environment" which is activating it, it is the desktop file from the
>> screensaver package which makes it start.

OK. It is from a package that is specifically for gnome though.
That's what I meant by the "provided by desktop environment".
Sorry for being imprecise.

>> We offer the xscreensaver as a substitute, for those who do not like
>> gnome-screensaver for some reason.

No, that's not why we offer it. xscreensaver daemon is not
designed to run in a desktop environment. It is not a substitute
for gnome-screensaver or kscreensaver.

We offer this package to use with classic X Windows, *without*
a desktop manager like Gnome or KDE running on top. That's what
xscreensaver was designed for, and that's how it's still used today.
Increasingly so - with a number simple but powerful window managers
available today, many people are going back to classic X Windows.

People using a desktop manager who want a screen saver
should install the special package for their desktop manager -
like gnome-screensaver or kscreensaver. That will provide
them with the capability to run all of the xscreensaver hacks in a
way that fits in with their desktop manager. And that is what happens
by default in the standard Gnome and KDE installations.

>> If they remove the
>> gnome-screensaver package and install xscreensaver instead, they
>> expect xscreensaver to be activated by default.

Why would anyone expect that? The xscreensaver daemon has nothing
to do with Gnome. If they remove gnome-screensaver, then their
Gnome screen saver won't run, what's so surprising?

Anyway, KDE and Gnome users expect all screen saver configuration
to happen inside the GUI provided for that, not by installing
or removing packages.

>> Otherwise it would be considered a security issue that a screensaver
>> package is not active after installation.

If they install packages without knowing what they are,
there will be plenty of security issues.

xscreensaver is not a replacement for the native screen saver
service in a desktop environment.

>> Users of any other xdg-compliant desktop environment will also expect
>> that xscreensaver is starting if they install it.

The xscreensaver daemon was never designed to run in a general
xdg-compliant environment.

>> We expect those who install both packages, to have a special reason
>> for this, because a normal user on the other hand will just use
>> gnome-screensaver which comes with GNOME. The special users will have
>> to choose which one to use in their sessions.

I agree.

>> I don't know if you fall into any of those categories. Why do you
>> install the xscreensaver package?

Because some of my users use X Windows without any
desktop manager, just a window manager. (I myself am
one of those - I use xmonad.) Some of those want to run
the xscreensaver daemon - so I have it installed on the system.
Any of those users who want to use xscreensaver can run it from their
..xinit file. That has always been the standard in X Windows, and
it's what those people expect.

Other users on the system are running KDE. They get kscreensaver
by default, as is standard for KDE. They can turn it off if they
want, using the KDE Control Center. They would be shocked
if xscreensaver then runs - they turned *off* the screen saver!

>> If you have an elegant solution which caters for all needs, I would be
>> very interested.

I really think that simple is best here. xscreensaver is designed to
be started manually. Leave it that way, and there won't be any
problems.

Perhaps add text to the package description, like:
"If you are using Gnome or KDE, consider using gnome-screensaver
or kscreensaver instead."

>> I don't see why xscreensaver should be more defensive
>> than gnome-screensaver in the both-installed corner case.

Why is that a corner case? Most multi-user systems that give
their users a choice of session type - which is built-in to kdm
by default - will be set up that way.

And it's not being defensive. It's just configuring xscreensaver
the way it was designed to work, and the way it has always worked,
for years.

>> Maybe the
>> desktop environments (whatever function is sourcing the desktops)
>> should note that two screensavers are installed and only start one of
>> them?

Why implement buggy behavior and then write scripts to try
to work around it?

Thanks,
Yitz



--
To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST.TakeThisOut@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.TakeThisOut@lists.debian.org
Back to top
Login to vote
Yitzchak Gale

External


Since: Jan 24, 2006
Posts: 6



(Msg. 7) Posted: Wed Nov 11, 2009 5:27 am
Post subject: Bug#550042: xscreensaver still starts automatically in KDE sessions [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I wrote:
>> No, that's not why we offer it. xscreensaver daemon is not
>> designed to run in a desktop environment. It is not a substitute
>> for gnome-screensaver or kscreensaver.

Jamie Zawinski wrote:
> As the author of xscreensaver, I can tell you that your ideas about what it
> is designed for, and what it is suitable for, are categorically false.

OK, that's great news!

So we currently have the following issues:

1. It is a serious bug for two screen saver daemons to *run* simultaneously.
That bug must be fixed.

2. We should support several screen savers *installed* simultaneously,
because different users on a system may have different needs for
configuring their sessions.

3. We need an interface to determine which screen saver daemon
runs.

For regular X Windows, (3) is easy - no screen saver should run unless
you configure it manually.

For desktop environments, Jose was assuming that the interface should
be that whichever is installed should run. That won't work because of (2).

Here are some alternative proposals:

A. There is a package "xscreensaver-gnome" that configures Gnome to
use xscreensaver daemon instead of gnome-screensaver. Similarly
for KDE.

B. Provide a debconf script where one can configure this.

Neither of those seem very satisfying to me, because this should
be a per-session setting, not a global setting. But for Gnome and
KDE, the way to configure sessions is within the interface they provide,
and they do not provide a way to disable their own screen saver
services in favor of something else.

One way to configure this per session would be:

C. Define session types Gnome-Xscreensaver and KDE-Xscreensaver.

Thanks,
Yitz



--
To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST DeleteThis @lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster DeleteThis @lists.debian.org
Back to top
Login to vote
Tormod Volden

External


Since: May 06, 2007
Posts: 10



(Msg. 8) Posted: Sun Nov 15, 2009 6:25 pm
Post subject: Bug#550042: xscreensaver still starts automatically in KDE sessions [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I am also not totally happy with shipping a desktop file in /etc/xdg,
I would have preferred if there was a /usr/share/xdg to put it in, so
a system administrator could override it easily in /etc/xdg if he
installs several screensavers or just wants to hide it. Note that also
gnome-screensaver ships its activated desktop file in /etc/xdg, but it
is maybe not a good example to follow.

We should have a way that people can easily make the screensaver
active by turning it on in their desktop environment autostart manager
(like gnome-session-properties), unless it is enabled by default.
Coping system files around is not really satisfactory.

Back to the original issue, xscreensaver will refuse to start if
another screensaver like xscreensaver or gnome-screensaver is already
running. Maybe kscreensaver is missing this check? If kscreensaver
would be fixed, this whole story would be a non-issue. Seems like
xscreensaver is the only intelligent and "polite" one among its peers.



--
To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST.TakeThisOut@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.TakeThisOut@lists.debian.org
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Bug#546633: xscreensaver has new upstream versions - Package: xscreensaver Version: 5.05-3+nmu1 Severity: wishlist Hi, Could you upgrade the debian package to one of the newer versions available upstream? It's not particularly bad, but the thing that most annoys me about 5.05 is that you have to click on...

Bug#335859: xscreensaver: Memscroller font problem - Package: xscreensaver Version: 4.21-7 Severity: minor When scaled bitmap fonts are unavailable, memscroller starts with the following error message: memscroller: couldn't load "-*-courier-medium-r-*-*-*-1400-*-*-m-*-*-*", using..

Bug#358950: xscreensaver-gnome: Should depend on netpbm - Package: xscreensaver-gnome Severity: normal This package should depend on netpbm, because the webcollage screensaver hack relies on a binary from that package (ppmmake). -- System Information: Debian Release: testing/unstable APT prefers testing ....

Bug#549551: xscreensaver re-activates DPMS even when it's .. - Package: xscreensaver Version: 5.10-2 Severity: normal Hi, I have a problem with xscreensaver which reactivates the screen (DPMS). I've disabled all monitor controls in xscreensaver, set the screensaver activation time to 1 minute (and it doesn't work....

Bug#327720: xscreensaver: Run hacks by name from command-l.. - Package: xscreensaver Version: 4.21-3 Severity: wishlist It would be nice to be able to say: xscreensaver-command -demo carousel instead of xscreensaver-command -demo 239 (or whatever number carousel is) At the very least, have ..
       Linux (Home) -> Bugs Dist All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Categories:
 Windows Forums
 Game Forums
  Linux Forums
 Mac Forums
 PDA Forums
 Mobile Forums
  Top  |  Store  |  RSS Feeds RSS  |  Data Feeds  |  Advertise  |  Submit  |  Bookmark  |  Newsletter  |  Contact