XU4 cloudshell v7 DietPi v130

Hi Fourdee,

I brought this up before but then forgot about it. If the XU4 is connected to NFS shares (in my case a QNAP) and the QNAP is off, the cloudshell display does not rotate.

I only noticed this again as I have stopped having the QNAP on all the time having moved some of its functions to less power-using devices.

Not a big problem really but I know you like to be informed about possible bugs :slight_smile:


Hi John,

Ah yes, you did, found the ticket: https://github.com/Fourdee/DietPi/issues/395

Ok, I just added NFS support in DietPi, so i’ll run some tests on this and look into it. NFS does seem to just “hang” if it cant establish connection, also seems to lock up other programs (ls). Leave it with me.



John, can you add the following to your NFS mount in /etc/fstab. This will allow the NFS connection to time out and prevent a endless hang of the df command, and therefor dietpi-cloudshell:


Example: /mnt/nfs_client nfs4 auto,_netdev,bg,intr,soft,timeo=5,retrans=5,actimeo=10,retry=2 0  0

Give your system a reboot, give it a test and let me know results.

Hi John,

I’ve also modified the dietpi-cloudshell code. It will no longer hang when df hangs. It monitors df, and if it hangs for 4 seconds, df will be terminated, allowing the next screen to update.


If the timeout NFS mount options fail, please try this updated script:

wget https://raw.githubusercontent.com/Fourdee/DietPi/dev/dietpi/dietpi-cloudshell -O /DietPi/dietpi/dietpi-cloudshell

Hi Fourdee,

With the changes to fstab the display still gave drive not available error messages but it rotated. With the new script, all good.

Thanks, John

Hi John,

Excellent, good to hear. Thanks for results and testing!