You are not logged in.
Pages: 1
Had to move my entire setup to a new disk recently and just about everything is fine, but strangely xfce no longer remembers my session. 'Session and Startup > Automatically save session on logout' is ticked. As far as I know I changed nothing, except that it's a new disk with new partition labels and of course new disk serial number -- which can't possibly matter. How can I dig into this? Tx.
Last edited by rayandrews (2023-12-26 23:27:56)
Offline
Check the ownership and permissions of the ~/.cache/sessions folder. Alternatively, delete ~/.cache/sessions when not logged in as your user.
If your distro writes to ~/.xsession-errors, review that log file or alternatively, "journalctl --user -b 0" for the current user log in a systemd system.
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
Check the ownership and permissions of the ~/.cache/sessions folder.
I'm running as root so expecting permissions not to be an issue.
Alternatively, delete ~/.cache/sessions when not logged in as your user.
Will try if nothing else works.
If your distro writes to ~/.xsession-errors, review that log file or alternatively,
I'll delete the file then try a restart in order to get 'fresh' messages. In the mean time: (Not that I'm expecting you to wade thru all this ...)
Xsession: X session started for root at Tue 26 Dec 2023 07:40:48 AM PST
WARNING: tempfile is deprecated; consider using mktemp instead.
dbus-update-activation-environment: setting DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/0/bus
dbus-update-activation-environment: setting DISPLAY=:0
dbus-update-activation-environment: setting XAUTHORITY=/root/.Xauthority
localuser:root being added to access control list
dbus-update-activation-environment: setting GTK_MODULES=gail:atk-bridge
dbus-update-activation-environment: setting QT_ACCESSIBILITY=1
/usr/bin/x-session-manager: X server already running on display :0
/usr/bin/iceauth: creating new authority file /run/user/0/ICEauthority
xfce4-session-Message: 07:40:50.239: SSH authentication agent is already running
gpg-agent: a gpg-agent is already running - not starting a new one
(xfwm4:870): xfwm4-WARNING **: 07:40:51.794: Pixmap definition contains invalid number attributes (expecting at least 4, got 0)
(xfwm4:870): xfwm4-WARNING **: 07:40:52.632: Pixmap definition contains invalid number attributes (expecting at least 4, got 0)
Connection failure: Connection refused
pa_context_connect() failed: Connection refused
(xfce4-panel:914): garcon-CRITICAL **: 07:40:54.886: garcon_gtk_menu_get_desktop_actions_menu: assertion 'actions != NULL' failed
(xfce4-panel:914): garcon-CRITICAL **: 07:40:55.465: garcon_gtk_menu_get_desktop_actions_menu: assertion 'actions != NULL' failed
(xfce4-panel:914): garcon-CRITICAL **: 07:40:55.629: garcon_gtk_menu_get_desktop_actions_menu: assertion 'actions != NULL' failed
(xfce4-panel:914): garcon-CRITICAL **: 07:40:55.697: garcon_gtk_menu_get_desktop_actions_menu: assertion 'actions != NULL' failed
(xfce4-panel:914): garcon-CRITICAL **: 07:40:55.747: garcon_gtk_menu_get_desktop_actions_menu: assertion 'actions != NULL' failed
Starting Dropbox...
** (xfce4-power-manager:927): WARNING **: 07:40:56.578: Failed to get name owner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.freedesktop.PowerManagement': no such name
** (xfce4-power-manager:927): WARNING **: 07:40:56.579: Failed to get name owner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.xfce.PowerManager': no such name
(xfce4-power-manager:927): GLib-GObject-WARNING **: 07:40:56.725: ../../../gobject/gsignal.c:2614: signal 'Changed' is invalid for instance '0x55b5796a19d0' of type 'GDBusProxy'
(xfce4-power-manager:927): xfce4-power-manager-WARNING **: 07:40:57.000: could not map keysym 1008ffa8 to keycode
(xfce4-power-manager:927): xfce4-power-manager-WARNING **: 07:40:57.102: Failed to get keyboard max brightness level : GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.UPower.KbdBacklight” on object at path /org/freedesktop/UPower/KbdBacklight
(wrapper-2.0:959): Gtk-WARNING **: 07:40:57.703: Attempting to add a widget with type GtkToggleButton to a container of type XfcePanelPlugin, but the widget is already inside a container of type XfcePanelPlugin, please remove the widget from its existing container first.
(xfdesktop:923): GVFS-WARNING **: 07:40:57.742: can't init metadata tree /root/.local/share/gvfs-metadata/home: wrong magic
(wrapper-2.0:958): Gtk-WARNING **: 07:40:57.854: Negative content width -3 (allocation 1, extents 2x2) while allocating gadget (node button, owner GtkButton)
(wrapper-2.0:959): Gtk-WARNING **: 07:40:57.865: Negative content width -3 (allocation 1, extents 2x2) while allocating gadget (node button, owner GtkToggleButton)
(wrapper-2.0:930): Gtk-WARNING **: 07:40:58.279: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node button, owner XfceArrowButton)
(xfdesktop:923): GVFS-WARNING **: 07:40:58.411: can't init metadata tree /root/.local/share/gvfs-metadata/home: wrong magic
(xfdesktop:923): GVFS-WARNING **: 07:40:58.736: can't init metadata tree /root/.local/share/gvfs-metadata/home: wrong magic
dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-189.4.8395/cryptography.hazmat.bindings._openssl.abi3.so'
dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-189.4.8395/cryptography.hazmat.bindings._padding.abi3.so'
dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-189.4.8395/apex._apex.abi3.so'
dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-189.4.8395/psutil._psutil_linux.cpython-38-x86_64-linux-gnu.so'
dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-189.4.8395/psutil._psutil_posix.cpython-38-x86_64-linux-gnu.so'
dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-189.4.8395/tornado.speedups.cpython-38-x86_64-linux-gnu.so'
dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-189.4.8395/wrapt._wrappers.cpython-38-x86_64-linux-gnu.so'
Dropbox isn't running!
Done!
dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-189.4.8395/PyQt5.QtCore.so'
dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-189.4.8395/PyQt5.sip.so'
dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-189.4.8395/PyQt5.QtGui.so'
dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-189.4.8395/PyQt5.QtWidgets.so'
dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-189.4.8395/PyQt5.QtDBus.so'
(xfce4-session-settings:1590): Gtk-WARNING **: 07:43:20.508: Content added to the action area of a dialog using header bars
(xfce4-session-settings:1590): Gtk-WARNING **: 07:43:20.509: Content added to the action area of a dialog using header bars
[Child 1732, MediaDecoderStateMachine #1] WARNING: 7f6dc5d56820 Could not set cubeb stream name.: file ./dom/media/AudioStream.cpp:321
[Child 4063, MediaDecoderStateMachine #1] WARNING: 7f354714e820 Could not set cubeb stream name.: file ./dom/media/AudioStream.cpp:321
[Child 4063, MediaDecoderStateMachine #1] WARNING: 7f3548632a60 Could not set cubeb stream name.: file ./dom/media/AudioStream.cpp:321
[Child 4063, MediaDecoderStateMachine #1] WARNING: 7f35440ce4c0 Could not set cubeb stream name.: file ./dom/media/AudioStream.cpp:321
Error in /root/.Xauthority: unknown address type 23041 at /usr/share/perl5/X11/Auth.pm line 60.
Expecting 3170 bytes, got 52 at -1 at /usr/share/perl5/X11/Auth.pm line 39.
Unexpected short read from authority file/root/.Xauthority at /usr/share/perl5/X11/Protocol.pm line 2309.
[GFX1-]: GFX: RenderThread detected a device reset in PostUpdate
[GFX1-]: GFX: RenderThread detected a device reset in PostUpdate
[GFX1-]: Failed to make render context current during destroying.
[Child 8414, MediaDecoderStateMachine #1] WARNING: 7f61ebdf4dc0 Could not set cubeb stream name.: file ./dom/media/AudioStream.cpp:321
[Child 8414, MediaDecoderStateMachine #1] WARNING: 7f61ecf30160 Could not set cubeb stream name.: file ./dom/media/AudioStream.cpp:321
[Child 8414, MediaDecoderStateMachine #1] WARNING: 7f61ed3bd940 Could not set cubeb stream name.: file ./dom/media/AudioStream.cpp:321
[Child 8414, MediaDecoderStateMachine #1] WARNING: 7f61edb95280 Could not set cubeb stream name.: file ./dom/media/AudioStream.cpp:321
(xfce4-session-settings:9915): Gtk-WARNING **: 12:22:58.274: Content added to the action area of a dialog using header bars
(xfce4-session-settings:9915): Gtk-WARNING **: 12:22:58.274: Content added to the action area of a dialog using header bars
(xfce4-session-settings:10234): Gtk-WARNING **: 12:27:13.532: Content added to the action area of a dialog using header bars
(xfce4-session-settings:10234): Gtk-WARNING **: 12:27:13.532: Content added to the action area of a dialog using header bars
(xfce4-session-settings:10240): Gtk-WARNING **: 12:27:56.133: Content added to the action area of a dialog using header bars
(xfce4-session-settings:10240): Gtk-WARNING **: 12:27:56.133: Content added to the action area of a dialog using header bars
Offline
In 'Current Session' I hit 'Save Session', rebooted and everything is there. So I don't know if that's what did it. I deleted the file, and it still seems very unhappy tho nothing seems broken:
Xsession: X session started for root at Tue 26 Dec 2023 03:23:53 PM PST
WARNING: tempfile is deprecated; consider using mktemp instead.
dbus-update-activation-environment: setting DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/0/bus
dbus-update-activation-environment: setting DISPLAY=:0
dbus-update-activation-environment: setting XAUTHORITY=/root/.Xauthority
localuser:root being added to access control list
dbus-update-activation-environment: setting GTK_MODULES=gail:atk-bridge
dbus-update-activation-environment: setting QT_ACCESSIBILITY=1
/usr/bin/x-session-manager: X server already running on display :0
/usr/bin/iceauth: creating new authority file /run/user/0/ICEauthority
xfce4-session-Message: 15:23:55.735: SSH authentication agent is already running
gpg-agent: a gpg-agent is already running - not starting a new one
(xfwm4:876): xfwm4-WARNING **: 15:23:57.273: Pixmap definition contains invalid number attributes (expecting at least 4, got 0)
(xfwm4:876): xfwm4-WARNING **: 15:23:58.079: Pixmap definition contains invalid number attributes (expecting at least 4, got 0)
(xfce4-panel:920): garcon-CRITICAL **: 15:24:00.125: garcon_gtk_menu_get_desktop_actions_menu: assertion 'actions != NULL' failed
(xfce4-panel:920): garcon-CRITICAL **: 15:24:00.413: garcon_gtk_menu_get_desktop_actions_menu: assertion 'actions != NULL' failed
(xfce4-panel:920): garcon-CRITICAL **: 15:24:00.627: garcon_gtk_menu_get_desktop_actions_menu: assertion 'actions != NULL' failed
(xfce4-panel:920): garcon-CRITICAL **: 15:24:00.687: garcon_gtk_menu_get_desktop_actions_menu: assertion 'actions != NULL' failed
(xfce4-panel:920): garcon-CRITICAL **: 15:24:00.737: garcon_gtk_menu_get_desktop_actions_menu: assertion 'actions != NULL' failed
** (xfce4-power-manager:955): WARNING **: 15:24:02.400: Failed to get name owner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.xfce.PowerManager': no such name
** (xfce4-power-manager:955): WARNING **: 15:24:02.400: Failed to get name owner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.freedesktop.PowerManagement': no such name
Xfce power manager is not running
(xfce4-power-manager:955): GLib-GObject-WARNING **: 15:24:02.818: ../../../gobject/gsignal.c:2614: signal 'Changed' is invalid for instance '0x55f53e3e0870' of type 'GDBusProxy'
(xfce4-power-manager:955): xfce4-power-manager-WARNING **: 15:24:03.241: could not map keysym 1008ffa8 to keycode
(xfce4-power-manager:955): xfce4-power-manager-WARNING **: 15:24:03.435: Failed to get keyboard max brightness level : GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.UPower.KbdBacklight” on object at path /org/freedesktop/UPower/KbdBacklight
(wrapper-2.0:957): Gtk-WARNING **: 15:24:03.746: Negative content width -3 (allocation 1, extents 2x2) while allocating gadget (node button, owner GtkButton)
(wrapper-2.0:958): Gtk-WARNING **: 15:24:03.763: Attempting to add a widget with type GtkToggleButton to a container of type XfcePanelPlugin, but the widget is already inside a container of type XfcePanelPlugin, please remove the widget from its existing container first.
(wrapper-2.0:958): Gtk-WARNING **: 15:24:03.808: Negative content width -3 (allocation 1, extents 2x2) while allocating gadget (node button, owner GtkToggleButton)
(xfdesktop:929): GVFS-WARNING **: 15:24:04.392: can't init metadata tree /root/.local/share/gvfs-metadata/home: wrong magic
(xfdesktop:929): GVFS-WARNING **: 15:24:08.122: can't init metadata tree /root/.local/share/gvfs-metadata/home: wrong magic
(xfdesktop:929): GVFS-WARNING **: 15:24:08.528: can't init metadata tree /root/.local/share/gvfs-metadata/home: wrong magic
Xfce Power Manager: Another power manager is already running
Another notification daemon is running, exiting
Connection failure: Connection refused
pa_context_connect() failed: Connection refused
Starting Dropbox...dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-189.4.8395/cryptography.hazmat.bindings._openssl.abi3.so'
dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-189.4.8395/cryptography.hazmat.bindings._openssl.abi3.so'
dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-189.4.8395/cryptography.hazmat.bindings._padding.abi3.so'
dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-189.4.8395/cryptography.hazmat.bindings._padding.abi3.so'
dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-189.4.8395/apex._apex.abi3.so'
dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-189.4.8395/apex._apex.abi3.so'
dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-189.4.8395/psutil._psutil_linux.cpython-38-x86_64-linux-gnu.so'
dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-189.4.8395/psutil._psutil_linux.cpython-38-x86_64-linux-gnu.so'
dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-189.4.8395/psutil._psutil_posix.cpython-38-x86_64-linux-gnu.so'
dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-189.4.8395/psutil._psutil_posix.cpython-38-x86_64-linux-gnu.so'
dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-189.4.8395/tornado.speedups.cpython-38-x86_64-linux-gnu.so'
dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-189.4.8395/tornado.speedups.cpython-38-x86_64-linux-gnu.so'
dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-189.4.8395/wrapt._wrappers.cpython-38-x86_64-linux-gnu.so'
dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-189.4.8395/wrapt._wrappers.cpython-38-x86_64-linux-gnu.so'
Another instance of Dropbox (1062) is running!
Dropbox isn't running!
Done!
dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-189.4.8395/PyQt5.QtCore.so'
dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-189.4.8395/PyQt5.sip.so'
dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-189.4.8395/PyQt5.QtGui.so'
dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-189.4.8395/PyQt5.QtWidgets.so'
dropbox: load fq extension '/root/.dropbox-dist/dropbox-lnx.x86_64-189.4.8395/PyQt5.QtDBus.so'
(xfce4-session-settings:1709): Gtk-WARNING **: 15:25:13.170: Content added to the action area of a dialog using header bars
(xfce4-session-settings:1709): Gtk-WARNING **: 15:25:13.170: Content added to the action area of a dialog using header bars
--------------------------------------------------
Any friendly advice as to some of those errors would be gratefully received.
Thanks ToZ
Offline
xfwm4:876): xfwm4-WARNING **: 15:23:57.273: Pixmap definition contains invalid number attributes (expecting at least 4, got 0)
There is something wrong with your xfwm4 theme. Which one are you using?
(xfce4-panel:920): garcon-CRITICAL **: 15:24:00.125: garcon_gtk_menu_get_desktop_actions_menu: assertion 'actions != NULL' failed
See: https://gitlab.xfce.org/xfce/garcon/-/issues/17. Should be fixed in recent versions of xfce4-panel. What version are you using?
Another notification daemon is running, exiting
You have more than one notification daemon installed and there is a potential conflict - one of them is exiting.
The rest are warnings or inconsequential messages. The xfce4-power-manager ones are currently being corrected.
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
> your xfwm4 theme. Which one are you using?
Where indicated? I've fooled around with that, but can't remember where or how.
> versions of xfce4-panel. What version are you using?
2 /usr/bin 0 % xfce4-panel -V
xfce4-panel 4.16.2 (Xfce 4.16)
> You have more than one notification daemon installed
Where indicated?
Awfully nice of you to wade into this with me ToZ.
Offline
> your xfwm4 theme. Which one are you using?
Where indicated? I've fooled around with that, but can't remember where or how.
xfconf-query -c xfwm4 -p /general/theme
> versions of xfce4-panel. What version are you using?
2 /usr/bin 0 % xfce4-panel -V
xfce4-panel 4.16.2 (Xfce 4.16)
It will be fixed in a later version. You can ignore the message for now - I believe it impacts the "Desktop Actions" section of your .desktop files.
> You have more than one notification daemon installed
Where indicated?
What does the following return:
ps -ef | grep -E 'notific|dunct'
Awfully nice of you to wade into this with me ToZ.
No worries - glad I can help.
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
2 % xfconf-query -c xfwm4 -p /general/theme
Raystheme
... so that's something I've screwed up. Now that I know the error msg. I'll figure out what I did.
% ps -ef | grep -E 'notific|dunct'
root 958 920 0 15:24 ? 00:00:00 /usr/lib/x86_64-linux-gnu/xfce4/panel/wrapper-2.0 /usr/lib/x86_64-linux-gnu/xfce4/panel/plugins/libnotification-plugin.so 10 14680073 notification-plugin Notification Plugin Notification plugin for the Xfce panel
root 11514 3044 0 18:28 pts/2 00:00:00 grep -E notific|dunct
... which means absolutely nothing to this mortal ;-)
Offline
Interesting. It would appear that xfce4-notifyd is trying to start twice. If you don't use saved sessions, try clearing them. Best way is to delete the contents of ~/.cache/sessions before you log in.
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
% ps -ef | grep -E 'notific|dunct'
root 933 904 0 19:11 ? 00:00:00 /usr/lib/x86_64-linux-gnu/xfce4/panel/wrapper-2.0 /usr/lib/x86_64-linux-gnu/xfce4/panel/plugins/libnotification-plugin.so 10 14680073 notification-plugin Notification Plugin Notification plugin for the Xfce panel
root 1396 955 0 19:12 pts/0 00:00:00 grep -E notific|dunct
... that' looks better. I nuked everything in that directory, restarted, nothing saved, then I manually saved the 'Default' session, and now everything seems fine :-)
Offline
Pages: 1
[ Generated in 0.012 seconds, 8 queries executed - Memory usage: 645.8 KiB (Peak: 678.64 KiB) ]