You are not logged in.
The issue is what the title. For my desktop environment, I have xfce4-panel, and xfce4-power-manager installed alongside a mostly vanilla i3 configuration. I feel like one of my other issues, pressing the power button does nothing, when set to ask. I think this has something to do with permissions, but I'm not sure.
Last edited by thehexagon (2021-07-29 06:01:54)
NZ - UTC+12, or UTC+13 (depends on DST) | HP ENVY x360 2-in-1 Laptop 15-EW0009TX
Offline
How are you starting it?
Edit: I think it needs a working dbus session
Last edited by ewaller (2021-07-06 00:24:00)
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
With LightDM, and the GTK greeter. nothing special.
NZ - UTC+12, or UTC+13 (depends on DST) | HP ENVY x360 2-in-1 Laptop 15-EW0009TX
Offline
Okay, I'd expect that to work
That should instantiate a working dbus session.
I don't have any more suggestions, so I'll allow someone else to help out. Sorry.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
No worries!
NZ - UTC+12, or UTC+13 (depends on DST) | HP ENVY x360 2-in-1 Laptop 15-EW0009TX
Offline
This post is a edit of an accidental post. Please ignore this, unless you want to help.
Last edited by thehexagon (2021-07-14 07:49:34)
NZ - UTC+12, or UTC+13 (depends on DST) | HP ENVY x360 2-in-1 Laptop 15-EW0009TX
Offline
should
Et tu, Eric?
loginctl session-statusCan you
systemctl poweroff # NOT! sudo - and obviously if thiw works the system will shut down and power offBut you'll likely require https://archlinux.org/packages/extra/x8 … 4-session/ and https://wiki.archlinux.org/title/Xfce#U … ow_manager for the GUI stuff to work here.
Offline
loginctl session -status
2 - parmjot (1000)
Since: Tue 2021-07-13 17:27:13 NZST; 1 day 14h ago
Leader: 725 (lightdm)
Seat: seat0; vc7
Display: :0
Service: lightdm; type x11; class user
Desktop: i3
State: active
Unit: session-2.scope
├─ 725 lightdm --session-child 14 21
├─ 748 i3
├─ 761 nm-applet
├─ 763 xfce4-panel --disable-wm-check
├─ 765 picom -f
├─ 769 dunst
├─ 775 /usr/bin/bash /home/parmjot/scripts/wallpaper.sh
├─ 777 xfce4-power-manager
├─ 779 /usr/bin/python /usr/bin/autotiling
├─ 852 /usr/lib/xfce4/panel/wrapper-2.0 /usr/lib/xfce4/panel/plugins/libcpugraph.so 4 20971527 cpugraph "CPU Graph" "Graphical representation of the CPU load"
├─ 853 /usr/lib/xfce4/panel/wrapper-2.0 /usr/lib/xfce4/panel/plugins/libsystray.so 6 20971528 systray "Status Tray Plugin" "Provides status notifier items (application indicators) and legacy systray items"
├─ 854 /usr/lib/xfce4/panel/wrapper-2.0 /usr/lib/xfce4/panel/plugins/libxfce4powermanager.so 9 20971529 power-manager-plugin "Power Manager Plugin" "Display the battery levels of your devices and control the brightness of your display"
├─ 855 /usr/lib/xfce4/panel/wrapper-2.0 /usr/lib/xfce4/panel/plugins/libnotification-plugin.so 10 20971530 notification-plugin "Notification Plugin" "Notification plugin for the Xfce panel"
├─ 865 /usr/lib/xfce4/panel/wrapper-2.0 /usr/lib/xfce4/panel/plugins/libactions.so 14 20971531 actions "Action Buttons" "Log out, lock or other system actions"
├─97339 sleep 5m
├─97369 xfce4-terminal
├─97383 zsh
└─97422 loginctl session-status
Jul 14 19:35:05 archcrypt sudo[95129]: pam_systemd_home(sudo:account): systemd-homed is not available: Unit dbus-org.freedesktop.home1.service not found.
Jul 14 19:35:05 archcrypt sudo[95129]: parmjot : TTY=pts/0 ; PWD=/home/parmjot ; USER=root ; COMMAND=/usr/bin/pacman -U --noconfirm --config /etc/pacman.conf -- /home/parmjot/.cache/yay/yay/yay-10.3.0-1-x86_64.pkg.tar.zst
Jul 14 19:35:05 archcrypt sudo[95129]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=1000)
Jul 14 19:35:06 archcrypt sudo[95129]: pam_unix(sudo:session): session closed for user root
Jul 14 19:35:06 archcrypt sudo[95134]: pam_systemd_home(sudo:account): systemd-homed is not available: Unit dbus-org.freedesktop.home1.service not found.
Jul 14 19:35:06 archcrypt sudo[95134]: parmjot : TTY=pts/0 ; PWD=/home/parmjot ; USER=root ; COMMAND=/usr/bin/pacman -R -u --noconfirm --config /etc/pacman.conf -- go
Jul 14 19:35:06 archcrypt sudo[95134]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=1000)
Jul 14 19:35:11 archcrypt sudo[95134]: pam_unix(sudo:session): session closed for user root
Jul 14 19:39:16 archcrypt sudo[95794]: pam_systemd_home(sudo:account): systemd-homed is not available: Unit dbus-org.freedesktop.home1.service not found.
Jul 14 19:39:16 archcrypt sudo[95796]: pam_systemd_home(sudo:account): systemd-homed is not available: Unit dbus-org.freedesktop.home1.service not found.I will test systemctl poweroff after this post, and I already have xfce4-session installed, and have checked the wiki page.
Note: I installed i3 first, and then got xfce4-panel only, plus a couple of panel plugins. Not the usual way to do i3 + xfce.
NZ - UTC+12, or UTC+13 (depends on DST) | HP ENVY x360 2-in-1 Laptop 15-EW0009TX
Offline
systemctl poweroff does what is expected, which is powering off a machine.
I might have found something important. Since I don't have any use for logging out my machine, I have never pressed the logout button, but I just checked it, and it tells me:
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.xfce.SessionManager was not provided by any .service filesThis error is pretty weird, as I already have xfce4-session installed.
NZ - UTC+12, or UTC+13 (depends on DST) | HP ENVY x360 2-in-1 Laptop 15-EW0009TX
Offline
Merely installing it doesn't cut it - you want to run an xfce4-session (but exchange the WM so it runs i3 instead)
The session is active (as it should™ be ;-) so the problem is really just about the xfce infrastructure.
Offline