Xfce4, Thunar, GNOME Keyring and Seahorse

Hello,
I'm trying to get these four software to work together!


# freebsd-version

Code:
14.3-RELEASE-p2


# pkg install -y xorg



# pw groupmod video -m myusername || pw groupmod wheel -m myusername



# pkg install -y nvidia-driver



# sysrc kld_list+=nvidia-modeset



# kldload nvidia-modeset



# edit /usr/local/etc/X11/xorg.conf.d/xorg-Multiple_Display_Devices_on_One_X_Screen.conf



# pkg install -y xfce



# echo 'dbus_enable="YES"' >> /etc/rc.conf && service dbus start



$ echo 'exec /usr/local/bin/startxfce4 --with-ck-launch > ~/.xsession-errors 2>&1' > ~/.xinitrc



$ startx


So far, everything is working perfectly.

Next, I'm trying to configure a desktop shortcut to connect to a folder on a remote server using Samba, and I want to ensure that after installing 'gnome-keyring' and 'seahorse', it stores the password so it doesn't prompt for it every time I try to connect.


$ edit ~/Desktop/server.desktop


Code:
[Desktop Entry]
Version=1.0
Type=Link
Name=server
Comment=Samba shared
Icon=samba
URL=smb://DOMAIN;myusername@server/shared/


$ chmod 755 ~/Desktop/alpha.desktop



$ f=~/Desktop/alpha.desktop; gio set -t string "$f" metadata::xfce-exe-checksum "$(sha256sum "$f" | awk '{print $1}')"



# pkg install -y gnome-keyring seahorse


According to information found on the internet, these lines should be added to the ~/.xinitrc.


$ edit ~/.xinitrc


Code:
# Start the gnome-keyring as a daemon service
eval $(gnome-keyring-daemon --start --components=pkc11,secrets,ssh)
export XDG_RUNTIME_DIR=/var/run/xdg/$USER/keyring

# Xfce (always at the end of everything!)
exec /usr/local/bin/startxfce4 --with-ck-launch > ~/.xsession-errors 2>&1


$ startx


Using Ctrl + F1, I go back to check the status and I see this:

Code:
Sep 18 15:02:31 fbsd gnome-keyring-daemon[2032]: couldn't  access control socket: /var/run/xdg/angel/keyring/control: No such file or directory
** Message: 15:02:31.926: couldn't access control socket: /var/run/user/1001/keyring/control: No such file or directory
Discover_other_daemon: 0Sep 18 15:02:31 fbsd gnome-keyring-daemon[2032]: discover_other_daemon: 0

When opening the network folder using the shortcut on the desktop and entering the password, the desktop freezes. You then have to kill the X server and restart it using startx.

Any idea what I'm doing wrong?

Thank you very much in advance for your time and recommendations!
 
Back
Top