Launchpad has imported 16 comments from the remote bug at
https://bugzilla.xfce.org/show_bug.cgi?id=9952.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2013-03-27T00:41:34+00:00 nirik wrote:

With:

http://cgit.freedesktop.org/upower/commit/?id=9843589d2d80e6dc2b3f51338e64bd1da1c53860

upower is deprecating suspend/hibernate interface.

http://lists.freedesktop.org/archives/devkit-
devel/2013-January/001339.html

It looks like xfce4-session doesn't include upower.h, but has it's own
interface to upower?

Reply at:
https://bugs.launchpad.net/xfce4-session/+bug/1178373/comments/0

------------------------------------------------------------------------
On 2013-03-29T18:13:55+00:00 nirik wrote:

http://www.freedesktop.org/wiki/Software/systemd/logind

has information about the logind dbus interface.

Reply at:
https://bugs.launchpad.net/xfce4-session/+bug/1178373/comments/1

------------------------------------------------------------------------
On 2013-03-29T19:58:04+00:00 nirik wrote:

Prelim patch:

http://pkgs.fedoraproject.org/cgit/xfce4-session.git/diff/xfce4-session-4.10.0
-add-systemd-support.patch?id=54a810e82ab5251ed42e7505025a12d5af6ced82

Reply at:
https://bugs.launchpad.net/xfce4-session/+bug/1178373/comments/2

------------------------------------------------------------------------
On 2013-03-29T20:03:46+00:00 8-nick wrote:

To upower is deprecating the suspend/hibernate api in favour of using
systemd?

Reply at:
https://bugs.launchpad.net/xfce4-session/+bug/1178373/comments/3

------------------------------------------------------------------------
On 2013-03-29T20:07:12+00:00 Rex Dieter wrote:

Yes, if built with --enable-systemd option, now it will use systemd
suspend/hibernate methods instead of upower.

Reply at:
https://bugs.launchpad.net/xfce4-session/+bug/1178373/comments/4

------------------------------------------------------------------------
On 2013-04-10T14:22:12+00:00 Mikhefr wrote:

Created attachment 4995
Add-systemd-logind-support-for-suspend-hibernate.patch

Patch for current master branch.

Reply at:
https://bugs.launchpad.net/xfce4-session/+bug/1178373/comments/5

------------------------------------------------------------------------
On 2013-04-19T11:59:52+00:00 Mikhefr wrote:

Created attachment 5004
Add-systemd-logind-support-for-suspend-hibernate2.patch

Updated patch with 'lock screen' support.

Reply at:
https://bugs.launchpad.net/xfce4-session/+bug/1178373/comments/6

------------------------------------------------------------------------
On 2013-07-01T17:56:35+00:00 Lionel Le Folgoc wrote:

Created attachment 5085
Add logind runtime detection

I took the patch from this bug report and from Bug #10076 to combine
them (suspend/hibernate support + logind runtime detection). It could
probably be done in a nicer way, but it seems to work fine.

(I tested with the 4.10.1 release tarball so it won't apply as is over
git, e.g. replace configure.ac with configure.ac.in in the patch.)

Reply at:
https://bugs.launchpad.net/xfce4-session/+bug/1178373/comments/24

------------------------------------------------------------------------
On 2013-07-15T11:54:13+00:00 Samuli Suominen wrote:

yeap, the logind / ConsoleKit detection(s) should be done at runtime, so
user can boot with whatever init= he has, in Gentoo's case, OpenRC
(ConsoleKit) _or_ systemd (logind)

just saying :)

Reply at:
https://bugs.launchpad.net/xfce4-session/+bug/1178373/comments/29

------------------------------------------------------------------------
On 2013-08-08T09:26:49+00:00 Guido Berhoerster wrote:

Created attachment 5117
support suspend/hibernate through logind

(In reply to Lionel Le Folgoc from comment #7)
> Created attachment 5085 [details]
> Add logind runtime detection
> 
> I took the patch from this bug report and from Bug #10076 to combine them
> (suspend/hibernate support + logind runtime detection). It could probably be
> done in a nicer way, but it seems to work fine.
> 
> (I tested with the 4.10.1 release tarball so it won't apply as is over git,
> e.g. replace configure.ac with configure.ac.in in the patch.)

Your patch calls g_object_unref() on potentially uninitialized or NULL
pointers (shutdown->consolekit and shutdown->systemd in xfce4-session
/xfsm-shutdown.c:xfsm_shutdown_finalize()). The attached patch fixes
that and also moves the LOGIND_RUNNING macro into xfce4-session/xfsm-
systemd.h and caches its result in xfce4-session/xfsm-shutdown.c. It
applies to current git.

Reply at:
https://bugs.launchpad.net/xfce4-session/+bug/1178373/comments/30

------------------------------------------------------------------------
On 2013-10-24T19:32:24+00:00 Yves-Alexis Perez wrote:

What's the status on these patches?

Reply at:
https://bugs.launchpad.net/xfce4-session/+bug/1178373/comments/31

------------------------------------------------------------------------
On 2013-11-14T15:18:56+00:00 b3nmore wrote:

(In reply to Guido Berhoerster from comment #9)
> Created attachment 5117 [details]
> support suspend/hibernate through logind

Would it be possible to implement the HybridSleep() method as well?

Reply at:
https://bugs.launchpad.net/xfce4-session/+bug/1178373/comments/32

------------------------------------------------------------------------
On 2013-11-14T16:34:44+00:00 Vladimír Čunát wrote:

Is there some reason why no solution of some kind has been integrated
into the official repository? People still can even work around it by
passing --enable-deprecated to upower's configure (as we do on NixOS
now), but in time most distros will need a better solution.

Reply at:
https://bugs.launchpad.net/xfce4-session/+bug/1178373/comments/33

------------------------------------------------------------------------
On 2013-11-14T17:22:22+00:00 Yves-Alexis Perez wrote:

(In reply to Vladimír Čunát from comment #12)
> Is there some reason why no solution of some kind has been integrated into
> the official repository? People still can even work around it by passing
> --enable-deprecated to upower's configure (as we do on NixOS now), but in
> time most distros will need a better solution.

Because nobody volunteered for maintaining xfce4-session long term,
unfortunately.

Reply at:
https://bugs.launchpad.net/xfce4-session/+bug/1178373/comments/34

------------------------------------------------------------------------
On 2014-05-29T16:37:33+00:00 Eric Koegel wrote:

Created attachment 5498
Suspend/hibernate upower 0.99 (no logind)

Since everyone else is doing the logind piece, I wrote a small patch so
xfce4-session will work with upower 0.99 but without logind.

Reply at:
https://bugs.launchpad.net/xfce4-session/+bug/1178373/comments/35

------------------------------------------------------------------------
On 2014-05-29T23:09:00+00:00 Guido Berhoerster wrote:

(In reply to Eric Koegel from comment #14)
> Created attachment 5498 [details]
> Suspend/hibernate upower 0.99 (no logind)
> 
> Since everyone else is doing the logind piece, I wrote a small patch so
> xfce4-session will work with upower 0.99 but without logind.

Although I  think it would be a good thing not to rely on logind, please
do not extend this crude and ugly sudo hack that BSD and Solaris users
have to put up with, but replace xfsm-shutdown-helper with a small DBus
service and use PolicyKit to authorize access to shutdown/suspend
methods. xfsm-shutdown-helper should just go away, PolicyKit is nowadays
available even on the BSDs and Solaris.

Reply at:
https://bugs.launchpad.net/xfce4-session/+bug/1178373/comments/36


** Changed in: xfce4-session
       Status: Unknown => Confirmed

** Changed in: xfce4-session
   Importance: Unknown => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1178373

Title:
  Restart spawns a password box

To manage notifications about this bug go to:
https://bugs.launchpad.net/xfce4-session/+bug/1178373/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to