You are not logged in.
Pages: 1
I'm getting the following error when attempting to launch anything from the desktop that isn't a folder:
GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying
The item will launch but this error comes up every time. This also for some reason causes any open Thunar windows to close. I've attempted to uninstall and reinstall xfce4 and xfce4-goodies, as well as xfdesktop to no avail.
The error only appears when launching from the desktop directly, but not if done through a window manager (Thunar).
Last edited by pwn3r (2023-07-28 00:59:02)
Offline
Hello and welcome.
Sounds like a dbus issue. Can you let us know the version of Xfce and xfdesktop that are you running? Also the distro you are using.
How are you starting Xfce? Are you using a display manager, and if so which one, or alternatively post your .xinitrc file.
And finally, post the output of:
ps -ef | grep xf
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
Thanks,
This is:
Arch
Xfce 4.18
Xfdesktop 4.18.1
#!/bin/sh
userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap
# merge in defaults and keymaps
if [ -f $sysresources ]; then
xrdb -merge $sysresources
fi
if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
fi
if [ -f "$userresources" ]; then
xrdb -merge "$userresources"
fi
if [ -f "$usermodmap" ]; then
xmodmap "$usermodmap"
fi
# start some nice programs
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
[ -x "$f" ] && . "$f"
done
unset f
fi
twm &
xclock -geometry 50x50-1+1 &
xterm -geometry 80x50+494+51 &
xterm -geometry 80x20+494-0 &
exec xterm -geometry 80x66+0+0 -name login
username 951 898 0 17:14 ? 00:00:00 /usr/lib/xfce4/xfconf/xfconfd
username 973 908 1 17:14 ? 00:00:04 xfwm4
username 980 908 0 17:14 ? 00:00:00 xfsettingsd
username 990 908 0 17:14 ? 00:00:01 xfce4-panel
username 1001 908 0 17:14 ? 00:00:01 xfdesktop
username 1005 990 0 17:14 ? 00:00:00 /usr/lib/xfce4/panel/wrapper-2.0 /usr/lib/xfce4/panel/plugins/libwhiskermenu.so 9 14680071 whiskermenu Whisker Menu Show a menu to easily access installed applications
username 1009 990 0 17:14 ? 00:00:00 /usr/lib/xfce4/panel/wrapper-2.0 /usr/lib/xfce4/panel/plugins/libsystray.so 6 14680072 systray Status Tray Plugin Provides status notifier items (application indicators) and legacy systray items
username 1024 990 0 17:14 ? 00:00:00 /usr/lib/xfce4/panel/wrapper-2.0 /usr/lib/xfce4/panel/plugins/libactions.so 14 14680073 actions Action Buttons Log out, lock or other system actions
username 1032 908 0 17:14 ? 00:00:00 xfce4-screensaver
username 1041 908 0 17:14 ? 00:00:00 /usr/lib/xfce4/notifyd/xfce4-notifyd
username 1044 908 0 17:14 ? 00:00:00 xfce4-power-manager
username 4349 1 8 17:19 ? 00:00:00 /usr/bin/xfce4-terminal
username 4378 4375 0 17:19 pts/0 00:00:00 grep xf
Offline
Are you using a display manager like lightdm? Your .xinitrc file is starting twm....
Also:
env | grep -i dbus
One more thing (long shot) to try would be to delete the contents of ~/.cache/sessions before you log in - via another virtual tty.
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
I deleted sessions from root account and removed twm from .xinitrc (I have lightdm and lightdm-webkit2-greeter), nothing changed.
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
Last edited by pwn3r (2023-07-27 00:15:21)
Offline
I deleted sessions from root account
Make sure you deleted your user's cached sessions in /home/username/.cache/sessions. Are you running your system with your root account? Is there anything non-standard about your desktop?
Also, can I see xfdesktop's environment?
cat /proc/$(pidof xfdesktop)/environ | tr '\0' '\n'
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
Yes it was from the user account that sessions was deleted. I do not normally use root.
SHELL=/bin/bash
XDG_CONFIG_DIRS=/etc/xdg
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
XDG_MENU_PREFIX=xfce-
DOTNET_ROOT=/usr/share/dotnet
DESKTOP_SESSION=xfce
GTK_MODULES=canberra-gtk-module:canberra-gtk-module
XDG_SEAT=seat0
PWD=/home/username
XDG_SESSION_DESKTOP=xfce
LOGNAME=username
XDG_SESSION_TYPE=x11
XAUTHORITY=/home/username/.Xauthority
XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/username
MOTD_SHOWN=pam
HOME=/home/username
LANG=en_US.UTF-8
XDG_CURRENT_DESKTOP=XFCE
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
DOTNET_BUNDLE_EXTRACT_BASE_DIR=/home/username/.cache/dotnet_bundle_extract
XDG_SESSION_CLASS=user
USER=username
DISPLAY=:0
SHLVL=0
XDG_VTNR=7
XDG_SESSION_ID=2
XDG_RUNTIME_DIR=/run/user/1000
DEBUGINFOD_URLS=https://debuginfod.archlinux.org
GTK3_MODULES=xapp-gtk3-module:xapp-gtk3-module
XDG_DATA_DIRS=/usr/local/share:/usr/share
PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/home/username/.dotnet/tools:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
GDMSESSION=xfce
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
MAIL=/var/spool/mail/username
SESSION_MANAGER=local/archusername:@/tmp/.ICE-unix/882,unix/archusername:/tmp/.ICE-unix/882
SSH_AUTH_SOCK=/tmp/ssh-XXXXXXqI5mG5/agent.938
SSH_AGENT_PID=939
Last edited by pwn3r (2023-07-27 00:59:14)
Offline
This is strange. Everything looks okay. Are you running another file manager like nautilus, nemo or caja? One that has maybe overtaken desktop control?
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
I did have nemo installed, it had never caused any problems before. I uninstalled it but the problem still persists (I re-deleted sessions after uninstalling to be sure).
Offline
Found a related bug report: https://gitlab.xfce.org/xfce/xfdesktop/-/issues/255. Can you try the suggestion there?
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
Trying thunar -q;thunar got me these errors in the terminal:
thunar -q;thunar
Segmentation fault (core dumped)
(thunar:9202): GLib-GObject-CRITICAL **: 22:52:51.268: invalid uninstantiatable type '<invalid>' in cast to 'GObject'
(thunar:9202): GLib-GObject-CRITICAL **: 22:52:51.268: instance of invalid non-instantiatable type '<invalid>'
(thunar:9202): GLib-GObject-CRITICAL **: 22:52:51.268: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
Running xfdesktop from terminal and trying to use a file from it got this error.
** (xfdesktop:9287): WARNING **: 22:54:19.779: Unable to rename temp file to /home/username/.config/xfce4/desktop/icons.screen0-3424x1401.rc: Operation not permitted
I tried to change permission from read only to read and write for that icons.screen file but it won't let me, similar error of "operation not permitted," even with sudo and also logged in as root.
Last edited by pwn3r (2023-07-27 03:01:50)
Offline
Did you set the file immutable (via the chattr command)?
lsattr /home/username/.config/xfce4/desktop/icons.screen0-3424x1401.rc
What version of thunar are you running?
thuanr -V
which thunar
pacman -Qi thunar
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
I think I may recall what I did with the icons.screen files several months ago, I changed permissions because my desktop icons kept being shifted after every reboot. Though I may have found the culprit of that eventually; the "save session for future logins" was checked when I choose logout > shutdown, and I did various things to prevent this before I found out this was the cause.
Not sure why it won't let me set it back to read and write now though.
lsattr /home/username/.config/xfce4/desktop/icons.screen0-3424x1401.rc
----i---------e------- /home/username/.config/xfce4/desktop/icons.screen0-3424x1401.rc
pacman -Qi thunar
Name : thunar
Version : 4.18.6-1
Description : Modern, fast and easy-to-use file manager for Xfce
Architecture : x86_64
URL : https://docs.xfce.org/xfce/thunar/start
Licenses : GPL2 LGPL2.1
Groups : xfce4
Provides : None
Depends On : desktop-file-utils libexif hicolor-icon-theme libnotify pcre2 libgudev exo libxfce4util
libxfce4ui libpng
Optional Deps : gvfs: trash support, mounting with udisk and remote filesystems [installed]
tumbler: thumbnail previews [installed]
thunar-volman: removable device management [installed]
thunar-archive-plugin: archive creation and extraction [installed]
thunar-media-tags-plugin: view/edit ID3/OGG tags [installed]
Required By : thunar-archive-plugin thunar-media-tags-plugin thunar-volman xfdesktop
Optional For : None
Conflicts With : None
Replaces : None
Installed Size : 8.60 MiB
Packager : Evangelos Foutras <foutrelis@archlinux.org>
Build Date : Sun 30 Apr 2023 07:04:49 AM EDT
Install Date : Wed 26 Jul 2023 02:11:12 PM EDT
Install Reason : Explicitly installed
Install Script : No
Validated By : Signature
Last edited by pwn3r (2023-07-27 21:55:02)
Offline
Not sure why it won't let me set it back to read and write now though.
lsattr /home/username/.config/xfce4/desktop/icons.screen0-3424x1401.rc
----i---------e------- /home/username/.config/xfce4/desktop/icons.screen0-3424x1401.rc
Try:
sudo chattr -i /home/username/.config/xfce4/desktop/icons.screen0-3424x1401.rc
pacman -Qi thunar Name : thunar Version : 4.18.6-1 Description : Modern, fast and easy-to-use file manager for Xfce Architecture : x86_64 URL : https://docs.xfce.org/xfce/thunar/start Licenses : GPL2 LGPL2.1 Groups : xfce4 Provides : None Depends On : desktop-file-utils libexif hicolor-icon-theme libnotify pcre2 libgudev exo libxfce4util libxfce4ui libpng Optional Deps : gvfs: trash support, mounting with udisk and remote filesystems [installed] tumbler: thumbnail previews [installed] thunar-volman: removable device management [installed] thunar-archive-plugin: archive creation and extraction [installed] thunar-media-tags-plugin: view/edit ID3/OGG tags [installed] Required By : thunar-archive-plugin thunar-media-tags-plugin thunar-volman xfdesktop Optional For : None Conflicts With : None Replaces : None Installed Size : 8.60 MiB Packager : Evangelos Foutras <foutrelis@archlinux.org> Build Date : Sun 30 Apr 2023 07:04:49 AM EDT Install Date : Wed 26 Jul 2023 02:11:12 PM EDT Install Reason : Explicitly installed Install Script : No Validated By : Signature
What do the following commands return:
which thunar
...and:
thunar -V
Also, run the following commands in order and post back any output that might appear:
thunar -q
thunar
xfdesktop -Q
xfdesktop
...and then try clicking on an icon to see if it works.
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
I was able to change all the icons.screen files except for:
sudo chattr -i /home/username/.config/xfce4/desktop/icons.screen.latest.rc
chattr: Operation not supported while reading flags on /home/username/.config/xfce4/desktop/icons.screen.latest.rc
[username@archusername ~]$ which thunar
/usr/local/bin/thunar
[username@archusername ~]$ thunar -V
thunar 1.8.17 (Xfce 4.18)
Copyright (c) 2004-2019
The Thunar development team. All rights reserved.
Written by Benedikt Meurer <benny@xfce.org>.
Please report bugs to <https://bugzilla.xfce.org/>.
I didn't get anything from the rest of the commands except "Segmentation fault (core dumped)" only when I exit the newly created thunar, which I suspect is normal.
Problem remains, I tried chattr from root account but that had the same 'operation not supported' error.
Offline
It looks like you may have manually built thunar at some point in time and installed it to /usr/local. This older version (1.8.17) is taking precedence to the version in the repository (4.18.6). This is most likely the cause of your problems. The solution is to "make uninstall" the older version that you manually installed (and reboot).
With respect to the "icons.screen.latest.rc" file, it is a link so the chattr command won't work with it. You can ignore changing this file.
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
That did it, just had to find that version from https://archive.xfce.org/src/xfce/thunar/ as 1.8.17 is not on https://archive.org/download/archlinux_pkg_thunar some reason.
I can't recall the exact reason I would have gotten that version, might have been having some issues with another version at the time but I doubt it's anything of issue now.
Thanks for the help and breakdown.
Offline
Pages: 1
[ Generated in 0.015 seconds, 7 queries executed - Memory usage: 643.84 KiB (Peak: 676.68 KiB) ]