The officially official Devuan Forum!

You are not logged in.

#1 2024-10-21 16:54:04

genxr
Member
Registered: 2022-12-08
Posts: 11  

[SOLVED] Thunar freezes after NAS is shut down

So I came back to Devuan from Debian. I have installed Daedalus with XFCE. I connect to my Synology with NFS, and I have a bookmark for it in Thunar. My issue is that when my Synology NAS is shut down, my Thunar freezes, it gets unstable or rather it doesn't respond, and I can't use it. It looks like this:

b5qK8aB.png

Now, I've read somewhere that I might use soft option in my fstab, but it doesn't change anything. My fstab looks like this at the moment:

192.168.1.17:/volume2/Backup/   /mnt/Backup/    nfs     auto,defaults,soft,nofail,nolock 0       0

So, the question is what is wrong with this, and/or what can I do, so that Thunar doesn't freeze when the NAS shuts down? Thank you for your time.

Offline

#2 2024-10-21 17:28:35

genxr
Member
Registered: 2022-12-08
Posts: 11  

Re: [SOLVED] Thunar freezes after NAS is shut down

Update:
I have now tried to install autofs.

Then I have edited /etc/auto.master with this line at the end of the file:
/-   /etc/auto.misc

I edited /etc/auto.misc with my NFS info:

/mnt/Backup -fstype=nfs,rw 192.168.1.17:/volume2/Backup

But Thunar still freezes (and acts the same) after Synology is shut down.

Offline

#3 2024-10-21 20:07:54

genxr
Member
Registered: 2022-12-08
Posts: 11  

Re: [SOLVED] Thunar freezes after NAS is shut down

I have installed Nemo file manager, and when the computer loses connection to my NAS, it doesn't freeze as Thunar does. It does get slower when browsing through Nemo, but it's functional at least. Thunar just freezes.

On the left side is functional Nemo, on the right frozen Thunar.

RcJCmCY.png

Offline

#4 2024-10-21 20:59:33

rolfie
Member
Registered: 2017-11-25
Posts: 1,173  

Re: [SOLVED] Thunar freezes after NAS is shut down

Try a netdev in the fstab options?

Are you sure nofail and nolock are a good choice?

Last edited by rolfie (2024-10-21 21:01:10)

Online

#5 2024-10-21 21:07:23

swanson
Member
Registered: 2020-04-22
Posts: 104  

Re: [SOLVED] Thunar freezes after NAS is shut down

Restart Thunar? (thunar -q)

Offline

#6 2024-10-22 14:36:08

genxr
Member
Registered: 2022-12-08
Posts: 11  

Re: [SOLVED] Thunar freezes after NAS is shut down

When I restart thunar (thunar -q), I get this error:

(thunar:23463): GLib-GObject-CRITICAL **: 16:35:36.930: g_signal_handler_disconnect: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

I will try netdev in my fstab.

Offline

#7 2024-10-23 11:29:55

genxr
Member
Registered: 2022-12-08
Posts: 11  

Re: [SOLVED] Thunar freezes after NAS is shut down

I found out that the problem is present if I install manually a so-called minimal Devuan XFCE. Regular XFCE installation doesn't have this issue. I guess, this is a lesson for me not to fiddle too much with minimal installations. smile
I would like to know which missing package(s) gave this issue, but I will mark this topic as solved, even though it technically isn't. Thank you all for your help.

Last edited by genxr (2024-10-23 11:30:42)

Offline

#8 2024-10-23 13:34:26

stopAI
Member
Registered: 2023-04-04
Posts: 186  

Re: [SOLVED] Thunar freezes after NAS is shut down

Hello.

Maybe it is related to packages, called gvfs-backends and thunar-volman because in default xfce4 installation these packages do not exist, i.e. packages are not installed.

Offline

#9 2024-10-24 09:06:23

stargate-sg1-cheyenne-mtn
Member
Registered: 2023-11-27
Posts: 190  

Re: [SOLVED] Thunar freezes after NAS is shut down

did you keep notes on this

install manually a so-called minimal Devuan XFCE

so others might gain insight and knowledge so as to not repeat this?


Be Excellent to each other and Party On!
https://www.youtube.com/watch?v=rph_1DODXDU
https://en.wikipedia.org/wiki/Bill_%26_Ted%27s_Excellent_Adventure
Do unto others as you would have them do instantaneously back to you!

Offline

#10 2024-10-25 05:39:45

genxr
Member
Registered: 2022-12-08
Posts: 11  

Re: [SOLVED] Thunar freezes after NAS is shut down

I did install all gvfs files, but I am not sure about thunar-volman. That could be the culprit. I also did install thunar-volman.

@stargate-sg1-cheyenne-m: Actually, I do have notes, I will find them and post them here.

So, first I installed:

sudo apt install xfce4-panel xfdesktop4 xfwm4 xfce4-settings xfce4-session xfce4-terminal xfce4-appfinder xfce4-power-manager thunar thunar-volman xfce4-whiskermenu-plugin ristretto cinnabar-icon-theme gvfs policykit-1 lightdm xfconf xinit xorg 

Then:
sudo apt install ntfs-3g

Then network (and appimage-capability):
sudo apt install gvfs-fuse fuse3 libfuse3-3 gvfs-backends

If anyone sees what's missing, it would be a great help.

Last edited by genxr (2024-10-25 06:57:36)

Offline

Board footer