View previous topic :: View next topic |
Author |
Message |
rh1 Guru
Joined: 10 Apr 2010 Posts: 501
|
Posted: Mon Nov 01, 2010 12:01 pm Post subject: |
|
|
Quote: | I also noticed that the hibernate/suspend options don't appear when I click logout any more, only options are logout, restart, and shutdown. |
I missed it the first time i looked through the other threads ssuominen provided but adding this fixed the missing suspend/hibernate buttons in the logout window:
Code: | /var/lib/polkit-1/localauthority/50-local.d/org.freedesktop.upower.pkla
[Local Users]
Identity=unix-user:ali
Action=org.freedesktop.upower.*
ResultAny=yes
ResultInactive=no
ResultActive=yes
|
|
|
Back to top |
|
|
rh1 Guru
Joined: 10 Apr 2010 Posts: 501
|
Posted: Mon Nov 01, 2010 2:13 pm Post subject: |
|
|
Quote: | This is annoying, my logout window reboot/shut down buttons have become disabled and I have no idea why. Suspend still works fine. Trying to figure out what's going on...
|
I got around this by downgrading to shadow-4.1.4.2-r5. Seems like there is an issue with "-r6" revision. |
|
Back to top |
|
|
SamuliSuominen Retired Dev
Joined: 30 Sep 2005 Posts: 2133 Location: Finland
|
Posted: Mon Nov 01, 2010 3:04 pm Post subject: |
|
|
rh1 wrote: | Quote: | This is annoying, my logout window reboot/shut down buttons have become disabled and I have no idea why. Suspend still works fine. Trying to figure out what's going on...
|
I got around this by downgrading to shadow-4.1.4.2-r5. Seems like there is an issue with "-r6" revision. |
sys-apps/shadow-4.1.4.2-r6
sys-auth/consolekit-0.4.2-r4
sys-auth/pambase-20101024
These should work together... each one of them requiring another. Then full consolekit restart and users relogin is required for them to kick in.
And dont miss the kernel option warning when you emerge consolekit (if you get one)... |
|
Back to top |
|
|
rh1 Guru
Joined: 10 Apr 2010 Posts: 501
|
Posted: Tue Nov 02, 2010 12:50 am Post subject: |
|
|
Quote: | sys-apps/shadow-4.1.4.2-r6
sys-auth/consolekit-0.4.2-r4
sys-auth/pambase-20101024
These should work together... each one of them requiring another. Then full consolekit restart and users relogin is required for them to kick in. |
Thanks, but it doesn't work for me. If I use shadow-4.1.4.2-r5 , which forces me to downgrade to consolekit-0.4.1, i get:
Code: | Session1:
unix-user = '1000'
realname = '(null)'
seat = 'Seat1'
session-type = ''
active = TRUE
x11-display = ':0'
x11-display-device = '/dev/tty7'
display-device = '/dev/tty1'
remote-host-name = ''
is-local = TRUE
on-since = '2010-11-01T23:18:13.884367Z'
login-session-id = '4294967295' |
And shutdown,restart,ect.. works fine
If i upgrade to shadow-4.1.4.2-r6, I get this, regardless of consolekit version, I've tried both of them.:
Code: | Session1:
unix-user = '1000'
realname = '(null)'
seat = 'Seat1'
session-type = ''
active = FALSE
x11-display = ''
x11-display-device = ''
display-device = '/dev/tty1'
remote-host-name = ''
is-local = TRUE
on-since = '2010-11-02T00:13:34.066341Z'
login-session-id = '1'
idle-since-hint = '2010-11-02T00:14:06.001572Z' |
And of course shutdown,restart,ect.. doesn't work as user.
This only happens using startxfce4 from cli as a user, works fine if i use gdm.
I also created a testuser and tried but i had same results.
Just for verification, consolekit is started, use flags for packages look right, and the kernel option that is mentioned in consolekit ebuild is set.
Code: |
rh1@Gentoo-MPC ~ $ rc-status | grep consolekit
consolekit [ started ]
rh1@Gentoo-MPC ~ $ emerge -pv consolekit pambase shadow
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] sys-auth/consolekit-0.4.2-r4 USE="pam policykit -debug -doc -test" 0 kB
[ebuild R ] sys-auth/pambase-20101024 USE="consolekit cracklib sha512 -debug -gnome-keyring -kerberos -minimal -mktemp -passwdqc (-selinux) -ssh" 0 kB
[ebuild R ] sys-apps/shadow-4.1.4.2-r6 USE="cracklib nls pam -audit (-selinux) -skey" 0 kB
Total: 3 packages (3 reinstalls), Size of downloads: 0 kB
rh1@Gentoo-MPC ~ $ cat /proc/config.gz | gunzip | grep AUDITSYSCALL
CONFIG_AUDITSYSCALL=y
|
Oh yeah, as far as logging out completely, i just rebooted each time to make sure.
Please let me know if you have any other ideas or if there's any other info you want me to post.
Edit: Nevermind, as pointed out to me by ssuominen in the bug report i filed, i was starting xfce by running "startxfce4". I had to add "exec ck-launch-session startxfce4" to ~/.xinitrc and use startx. Fixed the problem
Last edited by rh1 on Wed Nov 03, 2010 11:19 pm; edited 1 time in total |
|
Back to top |
|
|
SamuliSuominen Retired Dev
Joined: 30 Sep 2005 Posts: 2133 Location: Finland
|
Posted: Wed Nov 03, 2010 10:29 pm Post subject: |
|
|
Xfce 4.8.0 pre1 should be out this Sunday. Also I updated a lot of Xfce4 packages today in Portage, among other new garcon and finally added KEYWORDS to xfdesktop-4.7.0. |
|
Back to top |
|
|
devilkin n00b
Joined: 18 Nov 2005 Posts: 17
|
Posted: Thu Nov 04, 2010 1:55 pm Post subject: |
|
|
Hey,
I'm interested in testing this out, but I'm not running ~ (bit of a mix actually, some things from ~, most from stable)
Is there a 'decent' way to get this thing emerged? I've added the following to the package.* files:
package.unmask
Code: | >=xfce-base/xfwm4-4.7.0
>=xfce-base/xfdesktop-4.7.0
>=xfce-base/xfce4-session-4.7.0
>=xfce-base/xfce-utils-4.7.0
>=xfce-base/exo-0.5.1
>=xfce-base/xfce4-settings-4.7.0
>=xfce-base/thunar-1.1.0
>=xfce-extra/thunar-volman-0.5
>=xfce-extra/thunar-media-tags-plugin-0.1.2-r1
>=xfce-base/xfce4-panel-4.7.0
xfce-extra/thunar-vfs
>=xfce-extra/xfce4-xkb-plugin-0.5.3.3-r9
>=xfce-base/libxfce4util-4.7.2
>=xfce-extra/thunar-thumbnailers-4.7.0
>=dev-util/xfce4-dev-tools-4.7.3
>=xfce-base/libxfcegui4-4.7.0
>=xfce-base/garcon-0.1.2
>=xfce-base/libxfce4ui-4.7.4
>=xfce-extra/xfce4-appfinder-4.7.1
>=xfce-base/xfdesktop-4.7.0
|
package.keyword
Code: | >=xfce-base/xfwm4-4.7.0 ~amd64
>=xfce-base/xfdesktop-4.7.0 ~amd64
>=xfce-base/xfce4-session-4.7.0 ~amd64
>=xfce-base/xfce-utils-4.7.0 ~amd64
>=xfce-base/exo-0.5.1 ~amd64
>=xfce-base/xfce4-settings-4.7.0 ~amd64
>=xfce-base/thunar-1.1.0 ~amd64
>=xfce-extra/thunar-volman-0.5 ~amd64
>=xfce-extra/thunar-media-tags-plugin-0.1.2-r1 ~amd64
>=xfce-base/xfce4-panel-4.7.0 ~amd64
xfce-extra/thunar-vfs ~amd64
>=xfce-extra/xfce4-xkb-plugin-0.5.3.3-r9 ~amd64
>=xfce-base/libxfce4util-4.7.2 ~amd64
>=xfce-extra/thunar-thumbnailers-4.7.0 ~amd64
>=dev-util/xfce4-dev-tools-4.7.3 ~amd64
>=xfce-base/libxfcegui4-4.7.0 ~amd64
>=xfce-base/garcon-0.1.2 ~amd64
>=xfce-base/libxfce4ui-4.7.4 ~amd64
>=xfce-extra/xfce4-appfinder-4.7.1 ~amd64
>=xfce-extra/tumbler-0.1.3 ~amd64
>=xfce-base/xfconf-4.7.3 ~amd64
>=xfce-base/xfdesktop-4.7.0 ~amd64
|
seems to all want to emerge allright:
Code: | # emerge --update --newuse --deep --ask world
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild N ] sys-apps/sdparm-1.03
[ebuild N ] sys-apps/sg3_utils-1.29
[ebuild N ] sys-apps/rescan-scsi-bus-1.29
[ebuild N ] app-text/scrollkeeper-dtd-1.0
[ebuild N ] net-libs/libproxy-0.2.3-r3 USE="python -gnome -kde -networkmanager -webkit -xulrunner"
[ebuild N ] net-libs/libsoup-2.30.2-r1 USE="ssl -debug -doc -gnome (-introspection)"
[ebuild NS ] app-text/docbook-xml-dtd-4.4-r2 [4.3-r1]
[ebuild U ] xfce-base/libxfce4util-4.7.3 [4.6.2]
[ebuild N ] app-text/gnome-doc-utils-0.20.1 USE="-debug"
[ebuild N ] app-text/rarian-0.8.1-r1 USE="-debug"
[ebuild N ] dev-libs/libatasmart-0.17
[ebuild N ] app-text/scrollkeeper-9999-r1
[ebuild N ] dev-libs/eggdbus-0.6 USE="largefile -debug -doc -test"
[ebuild U ] xfce-base/xfconf-4.7.3 [4.6.2]
[ebuild N ] sys-block/parted-2.3 USE="debug device-mapper nls readline (-selinux)"
[ebuild N ] sys-auth/polkit-0.96-r1 USE="nls pam -debug -doc -examples -expat"
[ebuild R ] sys-auth/consolekit-0.4.2-r4 USE="policykit*"
[ebuild N ] sys-fs/udisks-1.0.1-r1 USE="bash-completion nls -debug -doc -remote-access"
[ebuild N ] xfce-base/libxfce4ui-4.7.4 USE="startup-notification -debug -glade"
[ebuild N ] dev-libs/libunique-1.1.6 USE="dbus -debug -doc (-introspection) -test"
[ebuild U ] xfce-base/xfwm4-4.7.1 [4.6.2]
[ebuild U ] xfce-base/libxfcegui4-4.7.0 [4.6.4]
[ebuild U ] xfce-base/exo-0.5.4 [0.3.107]
[ebuild U ] xfce-base/xfce-utils-4.7.0 [4.6.2]
[ebuild U ] xfce-base/xfce4-session-4.7.1 [4.6.2] XFCE_PLUGINS="-logout%"
[ebuild U ] xfce-base/xfce4-settings-4.7.3 [4.6.5]
[ebuild R ] media-gfx/gimp-2.6.8 USE="-hal*"
[ebuild N ] sys-apps/gnome-disk-utility-2.30.1 USE="-avahi -doc -fat -gnome-keyring -nautilus -remote-access"
[ebuild N ] gnome-base/gnome-keyring-2.30.3 USE="pam -debug -doc -test"
[ebuild N ] gnome-base/libgnome-keyring-2.30.1 USE="-debug -doc -test"
[ebuild N ] net-libs/libsoup-gnome-2.30.2 USE="-debug -doc (-introspection)"
[ebuild N ] gnome-base/gvfs-1.6.3 USE="bash-completion cdda gdu http udev -archive -avahi -bluetooth -doc -fuse -gnome -gnome-keyring -gphoto2 -hal -iphone -samba"
[ebuild N ] xfce-extra/tumbler-0.1.3 USE="ffmpeg jpeg pdf -debug"
[ebuild U ] xfce-extra/thunar-thumbnailers-4.7.0 [0.4.1]
[blocks b ] <xfce-extra/thunar-thumbnailers-4.7.0 ("<xfce-extra/thunar-thumbnailers-4.7.0" is blocking xfce-extra/tumbler-0.1.3)
[ebuild N ] xfce-base/garcon-0.1.2 USE="-debug"
[ebuild U ] xfce-base/xfce4-panel-4.7.4 [4.6.4]
[ebuild U ] xfce-base/thunar-1.1.3 [1.0.2] USE="udev%* -libnotify%"
[ebuild U ] xfce-extra/thunar-volman-0.5.1 [0.3.80] USE="-libnotify%"
[ebuild U ] xfce-base/xfdesktop-4.7.1 [4.6.2] USE="-libnotify%"
[blocks b ] <xfce-base/xfdesktop-4.7.0 ("<xfce-base/xfdesktop-4.7.0" is blocking xfce-base/garcon-0.1.2)
|
|
|
Back to top |
|
|
SamuliSuominen Retired Dev
Joined: 30 Sep 2005 Posts: 2133 Location: Finland
|
Posted: Thu Nov 04, 2010 2:02 pm Post subject: |
|
|
devilkin wrote: | Hey,
I'm interested in testing this out, but I'm not running ~ (bit of a mix actually, some things from ~, most from stable)
|
The output looks fine to me, should be good to go. Perhaps make sure you get ~arch dbus and dbus-glib too.
Unmasking should be easy as...
# grep xfce /usr/portage/profiles/package.mask >> /etc/portage/package.unmask
# grep xfce /usr/portage/profiles/package.mask >> /etc/portage/package.keywords |
|
Back to top |
|
|
devilkin n00b
Joined: 18 Nov 2005 Posts: 17
|
Posted: Thu Nov 04, 2010 2:40 pm Post subject: |
|
|
Thanks.
I've bumped in the following compile error on xfwm4:
Code: |
/bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14 -pthread -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/xfce4 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/xfce4/libxfce4ui-1 -I/usr/include/gtk-2.0 -I/usr/include/xfce4 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14 -pthread -I/usr/include/xfce4/xfconf-0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/libwnck-1.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/startup-notification-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -DDATADIR=\"/usr/share\" -DSRCDIR=\"..\" -DLOCALEDIR=\"/usr/share/locale\" -DWNCK_I_KNOW_THIS_IS_UNSTABLE -O2 -march=core2 -fomit-frame-pointer -pipe -Wl,-O1 -Wl,--as-needed -o xfwm4-workspace-settings xfwm4_workspace_settings-workspace-settings.o -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 -pthread -ldbus-glib-1 -ldbus-1 -lpthread -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0 -lxfce4util -lglib-2.0 -pthread -lxfce4ui-1 -lgtk-x11-2.0 -lxfce4util -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 -pthread -lxfconf-0 -ldbus-glib-1 -ldbus-1 -lpthread -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0 -pthread -lwnck-1 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0
xfwm4-settings.c: In function 'xfwm_settings_shortcut_row_activated':
xfwm4-settings.c:2025: error: too many arguments to function 'xfce_shortcuts_provider_set_shortcut'
make[3]: *** [xfwm4_settings-xfwm4-settings.o] Error 1
make[3]: *** Waiting for unfinished jobs....
libtool: link: x86_64-pc-linux-gnu-gcc -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14 -pthread -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/xfce4/libxfce4ui-1 -I/usr/include/gtk-2.0 -I/usr/include/xfce4 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14 -pthread -I/usr/include/xfce4/xfconf-0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DDATADIR=\"/usr/share\" -DSRCDIR=\"..\" -DLOCALEDIR=\"/usr/share/locale\" -O2 -march=core2 -fomit-frame-pointer -pipe -Wl,-O1 -o xfwm4-tweaks-settings xfwm4_tweaks_settings-tweaks-settings.o -pthread -pthread -pthread -pthread -Wl,--as-needed -lxfce4ui-1 /usr/lib64/libgtk-x11-2.0.so -lxfce4util /usr/lib64/libgdk-x11-2.0.so /usr/lib64/libatk-1.0.so /usr/lib64/libgdk_pixbuf-2.0.so /usr/lib64/libgio-2.0.so -lresolv /usr/lib64/libpangocairo-1.0.so /usr/lib64/libpangoft2-1.0.so /usr/lib64/libcairo.so /usr/lib64/libpixman-1.so /usr/lib64/libpng14.so /usr/lib64/libXrender.so /usr/lib64/libX11.so /usr/lib64/libxcb.so /usr/lib64/libXau.so /usr/lib64/libXdmcp.so /usr/lib64/libpango-1.0.so -lm /usr/lib64/libfontconfig.so /usr/lib64/libfreetype.so -lz /usr/lib64/libexpat.so /usr/lib64/libgmodule-2.0.so -ldl -lxfconf-0 -ldbus-glib-1 -ldbus-1 /usr/lib64/libgobject-2.0.so /usr/lib64/libgthread-2.0.so -lpthread -lrt /usr/lib64/libglib-2.0.so -pthread
libtool: link: x86_64-pc-linux-gnu-gcc -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14 -pthread -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/xfce4 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/xfce4/libxfce4ui-1 -I/usr/include/gtk-2.0 -I/usr/include/xfce4 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14 -pthread -I/usr/include/xfce4/xfconf-0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/libwnck-1.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/startup-notification-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -DDATADIR=\"/usr/share\" -DSRCDIR=\"..\" -DLOCALEDIR=\"/usr/share/locale\" -DWNCK_I_KNOW_THIS_IS_UNSTABLE -O2 -march=core2 -fomit-frame-pointer -pipe -Wl,-O1 -o xfwm4-workspace-settings xfwm4_workspace_settings-workspace-settings.o -pthread -pthread -pthread -pthread -pthread -Wl,--as-needed -lxfce4ui-1 -lxfce4util -lxfconf-0 -ldbus-glib-1 -ldbus-1 /usr/lib64/libwnck-1.so /usr/lib64/libstartup-notification-1.so /usr/lib64/libxcb-aux.so /usr/lib64/libxcb-event.so /usr/lib64/libxcb-atom.so /usr/lib64/libSM.so -luuid /usr/lib64/libICE.so /usr/lib64/libXRes.so /usr/lib64/libXext.so /usr/lib64/libgtk-x11-2.0.so /usr/lib64/libgdk-x11-2.0.so /usr/lib64/libatk-1.0.so /usr/lib64/libgdk_pixbuf-2.0.so /usr/lib64/libgio-2.0.so -lresolv /usr/lib64/libpangocairo-1.0.so /usr/lib64/libpangoft2-1.0.so /usr/lib64/libcairo.so /usr/lib64/libpixman-1.so /usr/lib64/libpng14.so /usr/lib64/libXrender.so /usr/lib64/libX11.so /usr/lib64/libxcb.so /usr/lib64/libXau.so /usr/lib64/libXdmcp.so /usr/lib64/libpango-1.0.so -lm /usr/lib64/libfontconfig.so /usr/lib64/libfreetype.so -lz /usr/lib64/libexpat.so /usr/lib64/libgobject-2.0.so /usr/lib64/libgmodule-2.0.so -ldl /usr/lib64/libgthread-2.0.so -lpthread -lrt /usr/lib64/libglib-2.0.so -pthread
make[3]: Leaving directory `/var/tmp/portage/xfce-base/xfwm4-4.7.1/work/xfwm4-4.7.1/settings-dialogs'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/xfce-base/xfwm4-4.7.1/work/xfwm4-4.7.1/settings-dialogs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/xfce-base/xfwm4-4.7.1/work/xfwm4-4.7.1'
make: *** [all] Error 2
|
Does this ring a bell at all? |
|
Back to top |
|
|
SamuliSuominen Retired Dev
Joined: 30 Sep 2005 Posts: 2133 Location: Finland
|
Posted: Thu Nov 04, 2010 2:57 pm Post subject: |
|
|
devilkin wrote: | Thanks.
I've bumped in the following compile error on xfwm4:
|
Upgrade libxfcegui4 to 4.7.0 first, that solves the issue. I'll fix it in portage now
emerge -1 libxfcegui4 |
|
Back to top |
|
|
devilkin n00b
Joined: 18 Nov 2005 Posts: 17
|
Posted: Thu Nov 04, 2010 5:30 pm Post subject: |
|
|
Works fine, but some issues with policykit. I'm using slim as a login manager.
Code: |
$ ck-list-sessions
Session1:
unix-user = '1000'
realname = '(null)'
seat = 'Seat2'
session-type = ''
active = FALSE
x11-display = ':0.0'
x11-display-device = '/dev/tty7'
display-device = ''
remote-host-name = ''
is-local = FALSE
on-since = '2010-11-04T17:27:41.425222Z'
login-session-id = '4294967295'
|
Code: |
$ xfce4-power-manager --dump
---------------------------------------------------
Xfce power manager version 1.0.1
Without HAL support
With policykit support
With network manager support
With DPMS support
---------------------------------------------------
Can suspend: True
Can hibernate: True
Can spin down hard disks: True
Authorized to suspend: True
Authorized to hibernate: True
Authorized to shutdown: False
Authorized to spin down hard disks: False
Has brightness panel: True
Has power button: True
Has hibernate button: True
Has sleep button: True
Has LID: True
|
Can't get "Authorized to shutdown" or "Authorized to spin down hard disks" to become True for my user.
I installed the policykit files for upower and udisks, but that made little difference as far as I can tell. |
|
Back to top |
|
|
SamuliSuominen Retired Dev
Joined: 30 Sep 2005 Posts: 2133 Location: Finland
|
Posted: Thu Nov 04, 2010 5:34 pm Post subject: |
|
|
devilkin wrote: | Works fine, but some issues with policykit. I'm using slim as a login manager.
|
Try with gdm or kdm or plain startx (with ~/.xinitrc of 'exec ck-launch-session startxfce4').
I think slim might be hitting this bug: https://bugs.gentoo.org/show_bug.cgi?id=342345 |
|
Back to top |
|
|
devilkin n00b
Joined: 18 Nov 2005 Posts: 17
|
Posted: Fri Nov 05, 2010 9:12 am Post subject: |
|
|
ssuominen wrote: | Try with gdm or kdm or plain startx (with ~/.xinitrc of 'exec ck-launch-session startxfce4'). |
Seems to work. What's even stranger, since doing that it also works for sessions started through slim. Odd behaviour, will reboot to see if persists.
edit: doesn't persist. Seems to be a fluke. |
|
Back to top |
|
|
drphibes Guru
Joined: 30 Nov 2004 Posts: 432
|
Posted: Sat Nov 06, 2010 6:37 pm Post subject: |
|
|
Might anyone know why the logout dialog takes almost 30 secs to appear?
The program is xfce4-session-logout. No other serious issue to report, except it takes forever for the
logout/restart/shutdown dialog to appear. Note that I can logout immediately from a shell with
xfce4-session-logout --logout
but that very slow dialog is an issue in my view. |
|
Back to top |
|
|
Johnny_Bit Apprentice
Joined: 30 Aug 2005 Posts: 246 Location: Poland
|
Posted: Sat Nov 06, 2010 9:16 pm Post subject: |
|
|
I've hit another issue with consolekit vs xfce4-session
in /etc/xdg/xfce4/xinitrc there's this snippet of code:
Code: | if which xfce4-session >/dev/null 2>&1; then
xfce4-session
if test "$ssh_agent_kill_cmd"; then
echo "running '$ssh_agent_kill_cmd'" |
now, in http://www.mail-archive.com/xfce4-commits@xfce.org/msg16417.html there's a patch that changes the snippet above to:
Code: | if type xfce4-session >/dev/null 2>&1; then
if type ck-launch-session >/dev/null 2>&1; then
ck-launch-session xfce4-session
else
xfce4-session
fi
if test "$ssh_agent_kill_cmd"; then
echo "running '$ssh_agent_kill_cmd'"
|
Now I don't know if that one works, but I don't use ~/.xinitrc and currenty with newest packages I don't get consolekit started at al! (output of ck-list-sessions is empty)
//Changed now, reporting:
The change does this:
1. the startup takes ages... literally it took about 40 seconds on my rather fast dual-core machine!
2. Code: | $ ck-list-sessions
Session1:
unix-user = '1000'
realname = '(null)'
seat = 'Seat2'
session-type = ''
active = FALSE
x11-display = ':0.0'
x11-display-device = '/dev/tty7'
display-device = ''
remote-host-name = ''
is-local = FALSE
on-since = '2010-11-06T21:18:32.335760Z'
login-session-id = ''
|
So... Arght, neither active nor local... why?
//Edit2:
tried .xinitrc way, exec ck-launch-session startxfce4 aaand:
1. startup is slow.
2. Code: | $ ck-list-sessions
Session4:
unix-user = '1000'
realname = '(null)'
seat = 'Seat1'
session-type = ''
active = FALSE
x11-display = ''
x11-display-device = ''
display-device = '/dev/tty1'
remote-host-name = ''
is-local = TRUE
on-since = '2010-11-06T21:34:53.759168Z'
login-session-id = '3'
idle-since-hint = '2010-11-06T21:35:26.002509Z'
Session5:
unix-user = '1000'
realname = '(null)'
seat = 'Seat1'
session-type = ''
active = TRUE
x11-display = ':0'
x11-display-device = '/dev/tty7'
display-device = '/dev/tty1'
remote-host-name = ''
is-local = TRUE
on-since = '2010-11-06T21:34:58.333270Z'
login-session-id = '3'
Session6:
unix-user = '1000'
realname = '(null)'
seat = 'Seat1'
session-type = ''
active = FALSE
x11-display = ':0'
x11-display-device = '/dev/tty7'
display-device = '/dev/tty1'
remote-host-name = ''
is-local = TRUE
on-since = '2010-11-06T21:34:58.487566Z'
login-session-id = '3'
johnny@hell ~ $ xfce4-power-manager --dump
---------------------------------------------------
Xfce power manager version 1.0.1
Without HAL support
With policykit support
With network manager support
With DPMS support
---------------------------------------------------
Can suspend: True
Can hibernate: True
Can spin down hard disks: True
Authorized to suspend: False
Authorized to hibernate: False
Authorized to shutdown: False
Authorized to spin down hard disks: False
Has brightness panel: True
Has power button: True
Has hibernate button: True
Has sleep button: True
Has LID: True |
WUT? maybe it's because I set the patch in /etc/xdg/xfce4/xinitrc? will fix that and check again...
//Edit 3:
changed as said earlier and here are the results:
1. startup is about 4 times faster than before
2. Code: | $ ck-list-sessions
Session8:
unix-user = '1000'
realname = '(null)'
seat = 'Seat1'
session-type = ''
active = TRUE
x11-display = ':0'
x11-display-device = '/dev/tty7'
display-device = '/dev/tty1'
remote-host-name = ''
is-local = TRUE
on-since = '2010-11-06T21:51:35.896827Z'
login-session-id = '3'
Session4:
unix-user = '1000'
realname = '(null)'
seat = 'Seat1'
session-type = ''
active = FALSE
x11-display = ''
x11-display-device = ''
display-device = '/dev/tty1'
remote-host-name = ''
is-local = TRUE
on-since = '2010-11-06T21:34:53.759168Z'
login-session-id = '3'
idle-since-hint = '2010-11-06T21:52:03.002199Z'
johnny@hell ~ $ xfce4-power-manager --dump
---------------------------------------------------
Xfce power manager version 1.0.1
Without HAL support
With policykit support
With network manager support
With DPMS support
---------------------------------------------------
Can suspend: True
Can hibernate: True
Can spin down hard disks: True
Authorized to suspend: True
Authorized to hibernate: True
Authorized to shutdown: True
Authorized to spin down hard disks: True
Has brightness panel: True
Has power button: True
Has hibernate button: True
Has sleep button: True
Has LID: True |
So... this seems fixed, but it doesn't seem right to me. This way is waaay over to the hand written startup. What I would like to see is somehow fix the way ck-lauch-session is issued in /etc/xdg/xfce4/xinitrc, so slim may start session the simplest way.
//EDIT AGAIN:
I don't know where, but somewhere in the middle, gnome-keyring-daemon was hit and shot dead... so i found the fix on ArchLinux forums and gave it a try, so now my Slim.conf contains:
Code: | login_cmd exec ck-launch-session dbus-launch /bin/bash -login ~/.xinitrc %session >~/.xsession-errors 2>&1 |
my ~/.xinitrc contains:
aaand...
1. startup got slow again...
2. Code: | xfce4-power-manager --dump
---------------------------------------------------
Xfce power manager version 1.0.1
Without HAL support
With policykit support
With network manager support
With DPMS support
---------------------------------------------------
Can suspend: True
Can hibernate: True
Can spin down hard disks: True
Authorized to suspend: False
Authorized to hibernate: False
Authorized to shutdown: False
Authorized to spin down hard disks: False
Has brightness panel: True
Has power button: True
Has hibernate button: True
Has sleep button: True
Has LID: True
johnny@hell ~ $ ck-list-sessions
Session1:
unix-user = '1000'
realname = '(null)'
seat = 'Seat2'
session-type = ''
active = FALSE
x11-display = ':0.0'
x11-display-device = '/dev/tty7'
display-device = ''
remote-host-name = ''
is-local = FALSE
on-since = '2010-11-07T00:20:02.294542Z'
login-session-id = '' |
but at least gnome-keyring daemon works, right?
one big pile of configuration hell. |
|
Back to top |
|
|
Ant P. Watchman
Joined: 18 Apr 2009 Posts: 6920
|
Posted: Sun Nov 07, 2010 11:02 am Post subject: |
|
|
Things that don't work on my setup as of today:
- Same as above; even with ck-launch-session in .xinitrc, shutdown/reboot are disabled.
- xfpm dump says I can spin down hard disks, but the checkbox for that never stays checked.
I'm not happy about the gigantic dependency tree on gnome/lvm/etc (I thought this was supposed to be a lightweight DE?), but I guess that's entirely upstream's fault. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54421 Location: 56N 3W
|
Posted: Sun Nov 07, 2010 5:46 pm Post subject: |
|
|
ssuominen wrote: | 4.8.0_pre1 is out and it's already unmasked in ~arch |
_________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Johnny_Bit Apprentice
Joined: 30 Aug 2005 Posts: 246 Location: Poland
|
Posted: Mon Nov 08, 2010 12:26 am Post subject: |
|
|
I've updated the system to new packages, and tried to configure my authorisation system once more, so I emerged everything that I believed had direct on remote connection with xfce4-session, consolekit, pam etc... that said I also wanted to make dead sure NOT to use .xinitrc, startx or any other measure than plain slim with XSESSION set to "Xfce4".
Trying to get around the subject of getting gnome-keyring-manager AND consolekit working, I tried hard editing around pam stuff... but only for slim... now:
/etc/pam.d/slim:
Code: | auth include system-auth
auth optional pam_gnome_keyring.so
account include system-auth
password include system-auth
session include system-auth
session optional pam_gnome_keyring.so auto_start
session optional pam_loginuid.so
session optional pam_ck_connector.so |
Now... gnome-keyring-daemon works like a charm, so, no problem there... however... the consolekit is at it's best in not working properly:
Code: | $ xfce4-power-manager --dump
---------------------------------------------------
Xfce power manager version 1.0.1
Without HAL support
With policykit support
With network manager support
With DPMS support
---------------------------------------------------
Can suspend: True
Can hibernate: True
Can spin down hard disks: True
Authorized to suspend: False
Authorized to hibernate: False
Authorized to shutdown: False
Authorized to spin down hard disks: False
Has brightness panel: True
Has power button: True
Has hibernate button: True
Has sleep button: True
Has LID: True
johnny@hell ~ $ ck-list-sessions
Session1:
unix-user = '1000'
realname = '(null)'
seat = 'Seat2'
session-type = ''
active = FALSE
x11-display = ':0.0'
x11-display-device = ''
display-device = ''
remote-host-name = 'localhost'
is-local = FALSE
on-since = '2010-11-08T00:08:24.187035Z'
login-session-id = '1' |
Now: what one has to do to get that thing working? I see that when I start the console (which I believe uses login), the ck-list-sessions shows that everything's alright on tty... |
|
Back to top |
|
|
haarp Guru
Joined: 31 Oct 2007 Posts: 535
|
Posted: Mon Nov 08, 2010 12:28 am Post subject: |
|
|
Same problem here. Can't shutdown/reboot (grayed out) and can't suspend either. When I emerge power-manager without the policykit useflag, it says that I'm allowed to suspend, but fails when I try because apparently, I am still not. |
|
Back to top |
|
|
thunderrd n00b
Joined: 20 Aug 2010 Posts: 59
|
Posted: Mon Nov 08, 2010 4:24 pm Post subject: |
|
|
I have several small problems after the updates. All of these items previously worked properly in 4.6.2.
1 - The panel trash applet/plugin isn't working. It appears on the panel, but when clicked it reports:
Code: | "Failed to connect to the trash. Method "DisplayTrash" with signature "s" on interface "org.xfce.Trash" doesn't exist". |
Also, perhaps a connected problem; in a root instance of Thunar, there isn't any trash icon in the left hand area anymore.
2 - Removable devices show up automatically in Thunar as normal user, but I can't browse them anymore:
Code: | Failed to mount <drive name here>. Not authorized. |
As root user in Thunar, they do not appear at all. This includes thumb drives and DVD drives. None of these behaviors were present before the update.
3 - Like other reports here, I am unable to shutdown/reboot as normal user, either from CL or the menu buttons:
Code: | Unable to perform shutdown. Not authorized. |
I can shutdown/reboot from the CL as root user.
All of these problems look to me like some kind of permissions/policy problem? I also saw this thread: https://forums.gentoo.org/viewtopic-t-851768.html where some similar problems were discussed. I am not sure where to look for this configuration: XFCE_PLUGINS so I'd appreciate a bit of a push in the right direction. I am guessing it is properly set, though:
Code: | [ebuild R ] xfce-base/thunar-1.1.4 USE="dbus exif libnotify pcre startup-notification udev -debug -test" XFCE_PLUGINS="trash" 0 kB |
I have been running Gentoo for about 6 months after several years of running Debian Sid, so I'm a bit new to Gentoo tactics |
|
Back to top |
|
|
pyrsmk n00b
Joined: 16 Sep 2010 Posts: 5
|
Posted: Mon Nov 08, 2010 7:49 pm Post subject: |
|
|
Hi all
I join you with my sweet lot of bugs ^^
When I log into Xfce, it launches me several message boxes like : Failed to restart panel, It seems there's no running instance of xfce4-panel. Fortunately (even it wasn't the case before...), xfce4-panel starts well (my xfconf xml configuration is clean).
The big weird bug is that when I log it sets numlock on (as I'm on a Thinkpad X32, it isn't so pratical) and when I press capslock it also sets numlock on... And sometimes it appears Xfce sets it alone. |
|
Back to top |
|
|
thunderrd n00b
Joined: 20 Aug 2010 Posts: 59
|
Posted: Tue Nov 09, 2010 4:19 pm Post subject: |
|
|
Regarding my previous post, I have discovered that if I login as root in slim, everything works. I can automount and browse removable media in Thunar, and the trash applet seems to work properly. But only when I am actually logged in as root.
If I login as regular user, su to root, and run Thunar, none of the features mentioned will work correctly. Also the panel trash applet is unable to run with the message in my previous post.
Thanks for anyone who can shed some light on this. What could have changed with the updates when everything was working in 4.6? |
|
Back to top |
|
|
Johnny_Bit Apprentice
Joined: 30 Aug 2005 Posts: 246 Location: Poland
|
Posted: Tue Nov 09, 2010 10:56 pm Post subject: |
|
|
You know, I wonder whether it's a bug really somewhere in xfce or rather in slim... can someone try different manager, like gdm? i'll try the first thing in morning and report back. |
|
Back to top |
|
|
SamuliSuominen Retired Dev
Joined: 30 Sep 2005 Posts: 2133 Location: Finland
|
Posted: Tue Nov 09, 2010 11:02 pm Post subject: |
|
|
Johnny_Bit wrote: | You know, I wonder whether it's a bug really somewhere in xfce or rather in slim... can someone try different manager, like gdm? i'll try the first thing in morning and report back. |
slim is known to be broken with consolekit:
https://bugs.gentoo.org/show_bug.cgi?id=342345 (See Comment #2, this is what slim would need to work)
http://blog.flameeyes.eu/2010/10/24/anybody-hiring-me-for-pam
http://blog.flameeyes.eu/2010/11/09/pam-logging-in-and-changing-passwords
http://blog.flameeyes.eu/2010/10/24/new-pambase-choices
- 'exec ck-launch-session startxfce4' in ~/.xinitrc and running it with startx is known to be working with pam_ck_connector.so
- gdm is known to be working, for sure, gdm is smart enough it doesn't need consolekit's pam_ck_connector.so at all
- and if I don't remember wrong, kdm is known to be working
- slim is known to be broken, it's pam.d file fails to use pam_ck_connector.so properly
So all this authentication stuff isn't really a Xfce4 problem, rather it's pambase + slim problem (or possibly other broken way of starting X, consolekit is really picky) |
|
Back to top |
|
|
thunderrd n00b
Joined: 20 Aug 2010 Posts: 59
|
Posted: Wed Nov 10, 2010 1:07 am Post subject: |
|
|
I was with ssuominen on IRC last nite, unmerging slim and starting with startx definitely solved both the reboot/shutdown problem and the ability to browse removable media. He also had me emerge polkit-gnome as well. I'm not sure exactly how that related to the problem. I am now presented with a password dialog when browsing such media in Thunar, instead of a 'not authorized' message. An icon appears in the tray area after authorization, and the elevated privileges remain active until the icon is clicked (indicating that the user wants to relinquish the privileges).
I will try gdm and/or xdm later, but it sounds like gdm would be the answer (or just stay with startx, it doesn't have to be pretty).
Unmerging slim did not do anything to solve the trashbin problem, though. I have to look into that one some more, perhaps later on IRC again. Big thanks to samuli for taking time to help me out on IRC |
|
Back to top |
|
|
supernovae Tux's lil' helper
Joined: 22 Jun 2004 Posts: 82
|
Posted: Wed Nov 10, 2010 3:21 am Post subject: |
|
|
Have you guys removed hal completely or are you still running it along side udev? I was on stable but am bored so have decided to move across to ~amd64. *fingers crossed* |
|
Back to top |
|
|
|