Xfce Forum

Sub domains
 

You are not logged in.

#1 2016-01-04 08:17:06

jd63
Member
Registered: 2016-01-04
Posts: 5

[SOLVED] No suspend/hibernate

Hi,

I've installed Xfce on a netbook but there are no options in the logout window for suspend/hibernate (only Logout, Restart, and Shutdown). Running xfce4-power-manager in debug mode reveals that suspend/hibernate are not authorized but I don't know how to configure it to authorize them or change permissions. Or perhaps I need to add another xfce package?

Thanks in advance for any help.

P.S. Looking at the xfce docs this problem comes up in the FAQ. One possible reason could be that the kernel wasn't compiled with suspend/hibernate options but I can rule this out because suspend works ok when doing "pm-suspend" from a terminal.

Last edited by jd63 (2016-01-06 09:30:16)

Offline

#2 2016-01-04 11:14:03

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,000

Re: [SOLVED] No suspend/hibernate

Hello and welcome.

This is most probably an issue with consolekit or policykit. What version of Xfce and which distro are you running? How are you starting Xfce?


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2016-01-04 13:01:25

jd63
Member
Registered: 2016-01-04
Posts: 5

Re: [SOLVED] No suspend/hibernate

Hi ToZ,

I'm using version 4.10 of Xfce with a Slackware based distro called Salix (the 32 bit Xfce version downloaded from http://www.salixos.org/download.html). Xfce is started by default. Salix gives you several options when installing -- "full" or "basic" (the latter only installs packages for a basic graphical environment). I have the full version on my desktop and suspend/hibernate are on the logout window but I selected the "basic" install for my netbook, which made me think that maybe there is a needed package missing, although I have both the Xfce settings and session managers installed.

Last edited by jd63 (2016-01-04 13:04:50)

Offline

#4 2016-01-04 15:50:14

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,000

Re: [SOLVED] No suspend/hibernate

jd63 wrote:

Xfce is started by default.

Does the distro use a display manager (login screen)? If so, do you know which one (lightdm, gdm, etc). Is there a difference between the full and basic packages with respect to the display manager being used?

Salix gives you several options when installing -- "full" or "basic" (the latter only installs packages for a basic graphical environment). I have the full version on my desktop and suspend/hibernate are on the logout window but I selected the "basic" install for my netbook, which made me think that maybe there is a needed package missing, although I have both the Xfce settings and session managers installed.

Since you've installed both the full and basic versions on two different systems, query a listing of the installed packages on both and look for differences with respect to the policykit and/or consolekit packages. Perhaps one of them is missing in the basic install.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#5 2016-01-04 17:17:17

jd63
Member
Registered: 2016-01-04
Posts: 5

Re: [SOLVED] No suspend/hibernate

Hi ToZ,

The distro uses gdm. I compared the packages and the consolekit package is installed in both, but here is a list of the packages in my Desktop which are NOT in the netbook:

a52dec-0.7.4-i486-1tm
apr-1.4.6-i486-1
apr-1.5.0-i486-1_slack14.1
apr-util-1.5.1-i486-1
apr-util-1.5.3-i486-1_slack14.1
at-spi2-atk-2.8.1-i486-1
at-spi2-core-2.8.0-i486-1
atkmm-2.22.7-i486-1_msb
babl-0.1.10-i486-1
bash-4.2.045-i486-1
bash-4.2.053-i486-1_slack14.1
bc-1.06.95-i486-1
bluez-4.99-i486-3
bluez-firmware-1.2-i486-1
bluez-hcidump-2.4-i486-1
btrfs-progs-20130418-i486-1
btrfs-progs-20150213-i486-1
ca-certificates-20130906-noarch-1
ca-certificates-20150426-noarch-2_slack14.1
cairo-1.12.16-i486-1_slack14.1
cairo-1.12.16-i486-2gv
cairomm-1.10.0-i486-1gv
catfish-0.3.2-i486-3gv
celt-0.11.1-i486-1gv
chmlib-0.40-i486-2
claws-mail-3.9.2-i486-1gv
cups-1.5.4-i486-4_slack14.1
curl-7.35.0-i486-1_slack14.1
curl-7.45.0-i486-1_slack14.1
cxxlibs-6.0.18-i486-1
depfinder-1.4.1-i486-1gv
dhcpcd-6.0.5-i486-2
dhcpcd-6.0.5-i486-3_slack14.1
djvulibre-3.5.25.3-i486-1
exaile-3.3.2-i486-1gv
exiv2-0.23-i486-1
faac-1.28-i686-1tm
faad2-2.7-i486-2dj
ffmpeg-2.1.5-i486-1gv
fftw-3.3.3-i486-1
flash-plugin-11.2.202.559-i686-1gv
fluidsynth-1.1.6-i486-1gv
foomatic-filters-4.0.12-i486-1
freetype-2.5.0.1-i486-1
freetype-2.5.5-i486-1_slack14.1
galculator-2.1.2-i486-1gv
gdk-pixbuf2-2.28.2-i486-1
gdk-pixbuf2-2.28.2-i486-2_slack14.1
gegl-0.2.0-i486-2
gftp-2.0.19-i486-3
ghostscript-9.07-i486-2
ghostscript-fonts-std-8.11-noarch-1
gigolo-0.4.1-i486-4gv
glibmm-2.36.2-i486-1_msb
gnsu-0.2-noarch-1gv
gnsu-0.2.1-noarch-1gv
gnupg-1.4.16-i486-1_slack14.1
gnupg-1.4.19-i486-2_slack14.1
gnupg2-2.0.22-i486-1
gnupg2-2.0.24-i486-1_slack14.1
gnutls-3.1.21-i486-1_slack14.1
gnutls-3.3.17.1-i486-1_slack14.1
gparted-0.17.0-i486-1tjb
gslapt-0.5.3i-i486-1gv
gslapt-0.5.3j-i486-1gv
gst-ffmpeg-0.10.13-i486-1gv
gst-libav-1.2.2-i486-1gv
gst-plugins-bad-0.10.23-i486-2gv
gst-plugins-bad1-1.2.2-i486-1gv
gst-plugins-base-0.10.36-i486-2
gst-plugins-good-0.10.31-i486-5
gst-plugins-good1-1.2.2-i486-1gv
gst-plugins-ugly-0.10.19-i486-2gv
gst-plugins-ugly1-1.2.2-i486-1gv
gst-python-0.10.22-i486-1gv
gstreamer-0.10.36-i486-2
gtk+3-3.8.2-i486-2
gtk-xfce-engine-3.0.1-i486-1
gtkman-0.7.2-noarch-1gv
gtkmm-2.24.4-i486-1_msb
gtkspell-2.0.16-i486-1
gutenprint-5.2.9-i486-1
gvfs-1.16.3-i486-2
gvfs-1.16.4-i486-1gv
hplip-3.13.11-i486-1gv
icedtea-web-1.4.1-i486-1alien
ilmbase-1.0.3-i486-1
imagemagick-6.8.6_10-i486-1
ipw2100-fw-1.3-fw-1
ipw2200-fw-3.1-fw-1
iso-codes-3.41-noarch-1
iw-3.5-i486-1
jasper-1.900.1-i486-3
jasper-1.900.1-i486-4_slack14.1
keybinder-0.3.0-i486-2
lame-3.99.5-i486-1gv
lcms2-2.4-i486-1
libXevie-1.0.3-i486-1
libaio-0.3.109-i486-1
libass-0.10.2-i486-1gv
libavc1394-0.5.4-i486-1lm
libbluray-0.4.0-i486-1gv
libburn-1.3.4-i486-1gv
libcaca-0.99.beta18-i486-2
libcanberra-0.29-i486-1
libcdaudio-0.99.12p2-i486-1gv
libcuefile-r475-i486-1gv
libdca-0.0.5-i486-1gv
libdv-1.0.0-i486-1gv
libdvdcss-1.2.13-i486-1gv
libdvdnav-4.2.0-i486-1gv
libdvdread-4.2.0-i486-1
libetpan-1.2-i486-1gv
libevent-2.0.21-i486-1
libgphoto2-2.5.2-i486-1
libgpod-0.8.2-i486-1
libhangul-0.1.0-i486-1
libical-1.0-i486-1
libid3tag-0.15.1b-i486-4
libiec61883-1.2.0-i486-1gv
libiodbc-3.52.8-i486-1_slack14.1
libisofs-1.3.4-i486-1gv
libkate-0.4.1-i486-1gv
libmms-0.6.2-i486-1gv
libmodplug-0.8.8.4-i486-1gv
libmpeg2-0.5.1-i486-1gv
libmtp-1.1.6-i486-1
libmusicbrainz-2.1.5-i486-1gv
libplist-1.8-i486-1
libpng-1.4.12-i486-1
libpng-1.4.19-i486-1_slack14.1
libquicktime-1.2.4-i486-2gv
libreoffice-5.0.1-i686-1dj
libreplaygain-r475-i486-1gv
libsecret-0.15-i486-1gv
libsecret-0.16-i486-1gv
libshout-2.3.1-i486-1gv
libsidplay-1.36.59-i486-1gv
libsigc++-2.2.11-i486-1_msb
libspectre-0.2.7-i486-1
libtasn1-3.3-i486-1
libtasn1-3.6-i486-1_slack14.1
libvpx-1.2.0-i486-1gv
libwmf-0.2.8.4-i486-5
libxfcegui4-4.10.0-i486-2
lilosetup-0.3.2-noarch-1gv
madplay-0.15.2b-i486-4
mariadb-5.5.43-i486-1_slack14.1
mate-dialogs-1.6.2-i486-1gv
mate-dialogs-1.8.0-i486-1gv
mate-document-viewer-1.8.0-i486-1gv
mate-file-archiver-1.8.0-i486-1gv
meld-1.8.2-i486-1gv
menumaker-0.99.7-i486-1_SBo
midori-0.5.7-i486-1gv
midori-0.5.8-i486-2gv
mjpegtools-2.1.0-i486-1gv
mozilla-nss-3.20.1-i486-1_slack14.1
mpg123-1.15.4-i486-1
musepack-tools-r475-i486-1gv
mutagen-1.22-i486-1gv
ndisgtk-0.8.5-i486-1gv
ndiswrapper-1.59-i486-3.10.17.smp.1rl
notify-python-0.1.1-i486-3
ntp-4.2.6p5-i486-3gv
ntp-4.2.8p4-i486-1_slack14.1
obex-data-server-0.4.6-i486-2
obexfs-0.12-i486-1
obexftp-0.23-i486-9
openal-soft-1.15.1-i486-1gv
opencore-amr-0.1.3-i486-1gv
openexr-1.7.1-i486-1
openjre-7u51_b31-i486-2gv
openobex-1.5-i486-1
openssh-6.4p1-i486-1_slack14.1
openssh-6.7p1-i486-2_slack14.1
openssl-1.0.1f-i486-1_slack14.1
openssl-1.0.1q-i486-1_slack14.1
openssl-solibs-1.0.1q-i486-1_slack14.1
opus-1.1-i486-2gv
orage-4.8.4-i486-2
p7zip-9.20.1-i486-1gv
pangomm-2.34.0-i486-1_msb
parole-0.5.4-i486-1gv
patch-2.7-i486-2
patch-2.7.4-i486-1_slack14.1
pcre-8.33-i486-1
pcre-8.38-i486-1_slack14.1
perl-File-BaseDir-0.03-i486-6tjb
perl-File-DesktopEntry-0.08-i486-1tjb
perl-File-MimeInfo-0.21-i486-1tjb
perl-cairo-1.104-i486-1tjb
perl-extutils-depends-0.306-i486-1gv
perl-extutils-pkgconfig-1.15-i486-1gv
perl-glib-1.303-i486-1tjb
perl-gtk2-1.249-i486-1tjb
perl-pango-1.224-i486-1tjb
pidgin-2.10.11-i486-1_slack14.1
pil-1.1.7-i486-4
poppler-0.24.3-i486-1
poppler-data-0.4.6-noarch-1
ppp-2.4.5-i486-2
ppp-2.4.5-i486-3_slack14.1
pycups-1.9.61-i486-1
pycurl-7.19.0-i486-2
pysetuptools-1.3.1-i486-1gv
pyxdg-0.25-i486-1gv
qt-4.8.7-i486-1_slack14.1
rtmpdump-2.4-i486-1gv
rxvt-unicode-9.19-i486-1tjb
sakis3g-0.2.0e-noarch-1gv
salix-update-notifier-0.6.0-noarch-1gv
salixtools-1.8.10-noarch-1gv
salixtools-1.8.5-noarch-1gv
samba-4.1.17-i486-1_slack14.1
sane-1.0.24-i486-1
schroedinger-1.0.11-i486-1gv
slang1-1.4.9-i486-1
slapt-get-0.10.2p-i486-4gv
slapt-get-0.10.2q-i486-2gv
slapt-src-0.3.2e-i486-6gv
slapt-src-0.3.2f-i486-1gv
sound-theme-freedesktop-0.7-noarch-1
soundtouch-1.7.1-i486-1gv
sourcery-0.9.2-noarch-1gv
sourcery-0.9.5-noarch-1gv
speex-1.2rc1-i486-1tm
spi-0.3-noarch-1gv
spi-0.5-noarch-1gv
sshfs-fuse-2.4-i486-1gv
sudo-1.8.12-i486-1_slack14.1
sudo-1.8.6p8-i486-1
syslinux-4.06-i486-1
taglib-1.8-i486-2
taglib-extras-1.0.1-i486-1
thunar-archive-plugin-0.3.1-i486-1gv
thunar-media-tags-plugin-0.2.1-i486-1rl
transmission-2.82-i486-1gv
tumbler-0.1.25-i486-4
twolame-0.3.13-i486-1gv
udisks-1.0.4-i486-2
udisks-1.0.5-i486-1_slack14.1
udisks2-2.1.0-i486-1
udisks2-2.1.3-i486-1_slack14.1
unetbootin-585-i486-1rl
upower-0.9.17-i486-1
urlgrabber-3.9.1-i486-2gv
urwid-1.0.1-i486-1
usb_modeswitch-2.0.1-i486-1
v4l-utils-0.9.5-i486-1gv
viewnior-1.3-i486-1gv
vorbis-tools-1.4.0-i486-1
wavpack-4.60.1-i486-1
webkitgtk-2.2.4-i486-1gv
webkitgtk-2.2.5-i486-1gv
wget-1.14-i486-2
wget-1.14-i486-3_slack14.1
wicd-1.7.2.4-i486-4
wireless-tools-29-i486-9
wpa_supplicant-2.0-i486-1gv
wxGTK-2.8.12.1-i486-1ab
x264-20131106-i486-1gv
xchm-1.23-i486-1gv
xdg-user-dirs-0.14-i486-1
xdg-utils-1.1.0_rc1-noarch-2
xdg-utils-1.1.0rc1-noarch-1dj
xfburn-0.4.3-i686-3gv
xfce4-clipman-plugin-1.2.3-i486-2
xfce4-cpufreq-plugin-1.1.0-i486-1gv
xfce4-cpugraph-plugin-1.0.5-i486-2rl
xfce4-diskperf-plugin-2.5.4-i486-2rl
xfce4-genmon-plugin-3.4-i486-2gv
xfce4-mixer-4.8.0-i486-1
xfce4-netload-plugin-1.2.0-i486-1gv
xfce4-notes-plugin-1.7.7-i486-3gv
xfce4-places-plugin-1.5.0-i486-1gv
xfce4-quicklauncher-plugin-1.9.4-i486-3rl
xfce4-screenshooter-1.8.1-i486-2
xfce4-systemload-plugin-1.1.1-i486-2
xfce4-taskmanager-1.0.0-i486-2
xfce4-verve-plugin-1.0.0-i486-3rl
xfce4-volumed-0.1.13-i486-1
xfce4-wavelan-plugin-0.5.11-i486-1gv
xfce4-weather-plugin-0.8.4-i486-1gv_salix14.1
xfce4-xkb-plugin-0.5.6-i486-1gv
xorg-server-1.14.3-i486-2
xorg-server-1.14.3-i486-3_slack14.1
xorg-server-xephyr-1.14.3-i486-2
xorg-server-xephyr-1.14.3-i486-3_slack14.1
xorg-server-xnest-1.14.3-i486-2
xorg-server-xnest-1.14.3-i486-3_slack14.1
xorg-server-xvfb-1.14.3-i486-2
xorg-server-xvfb-1.14.3-i486-3_slack14.1
xscreensaver-5.22-i486-2
xscreensaver-5.29-i486-1_slack14.1
xterm-297-i486-1
xvidcore-1.3.2-i486-2gv
zd1211-firmware-1.4-fw-1
zim-0.60-i486-1tjb
zope.interface-4.0.5-i486-1rl

Any suggestions? Thanks for your patience.

ToZ: added code tags

Last edited by ToZ (2016-01-05 03:10:56)

Offline

#6 2016-01-05 00:33:58

MountainDewManiac
Member
From: Where Mr. Bankruptcy is Prez
Registered: 2013-03-24
Posts: 1,115

Re: [SOLVED] No suspend/hibernate

Yes. Since that list is quite extensive and wide-ranging, why not check each one in Synaptic Package Manager (or whatever your distro uses as a package manager), read the descriptions of each, and then recreate the list with those that appear to almost certainly NOT be possibilities removed? It'd reduce the work for those who are able to help - with the additional benefit of you learning about your distro. Also, there might be a chance that you will suddenly realize that a certain file seems, by its description, to be the one that you should install on your netbook.

Just a suggestion. I've seen people like ToZ go to great lengths to help people who started out by providing almost no information at all, lol, so not doing the above probably won't get you ignored.

Regards,
MDM


Mountain Dew Maniac

How to Ask for Help <=== Click on this link

Offline

#7 2016-01-05 03:14:22

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,000

Re: [SOLVED] No suspend/hibernate

Can you post back the results of:

xfce4-power-manager --dump

...from both of your systems.

And also the result of:

groups

Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#8 2016-01-05 08:46:53

jd63
Member
Registered: 2016-01-04
Posts: 5

Re: [SOLVED] No suspend/hibernate

NETBOOK:

users lp wheel floppy dialout audio video cdrom plugdev power netdev scanner

---------------------------------------------------
       Xfce power manager version 1.2.0
With policykit support
With network manager support
With DPMS support
---------------------------------------------------
Can suspend: False
Can hibernate: False
Can spin down hard disks: True
Authorised to suspend: False
Authorised to hibernate: False
Authorised to shutdown: True
Authorised to spin down hard disks: True
Has battery: False
Has brightness panel: True
Has power button: True
Has hibernate button: True
Has sleep button: True
Has LID: False

DESKTOP:

users lp wheel floppy audio video cdrom plugdev power netdev scanner

       Xfce power manager version 1.2.0
With policykit support
With network manager support
With DPMS support
---------------------------------------------------
Can suspend: True
Can hibernate: True
Can spin down hard disks: True
Authorised to suspend: True
Authorised to hibernate: True
Authorised to shutdown: True
Authorised to spin down hard disks: True
Has battery: False
Has brightness panel: False
Has power button: True
Has hibernate button: True
Has sleep button: True
Has LID: False

Offline

#9 2016-01-05 11:31:59

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,000

Re: [SOLVED] No suspend/hibernate

Can you try installing upower on your netbook and see if that helps? Post back the results of those commands again afterwards.

Note: embed your responses in [ c o d e ] [ / c o d e ] (no spaces) tags to make them easier to read.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#10 2016-01-05 13:39:39

jd63
Member
Registered: 2016-01-04
Posts: 5

Re: [SOLVED] No suspend/hibernate

Hi ToZ,

SUCCESS!

After installing upower and logging out/in the suspend and hibernate buttons are on the logout window. Thanks very much for your help. :^)

Offline

Board footer

Powered by FluxBB