You are not logged in.

#1 2018-06-24 23:44:07

ozooha
Member
Registered: 2009-09-29
Posts: 174

SOLVED NFS mount, if unavailable login issues in gnome after gdm login

I use /etc/fstab to mount my NFS share using systemd automount as mentioned in the arch wiki.
My NFS in the /etc/fstab  file configuration is given below:

<server ip>:/media /media nfs noauto,_netdev,sync,user,x-systemd.automount,x-systemd.device-timeout=10,timeo=14,x-systemd.idle-timeout=10min,comment=x-gvfs-show 0 0

The problem is, after my gdm prompted login, I can never seem to see my gnome desktop if my server is unavailable.
I want to see my gnome desktop irrespective of the NFS server availability. How can I achieve this?
If it helps or not - I have a conky gnome.desktop startup application which references these above mentioned NFS drives.
Let me know if you require any other information.
Appreciate your time and patience.
OZooHA

Last edited by ozooha (2019-06-12 20:44:32)

Offline

#2 2018-06-25 06:50:29

seth
Member
Registered: 2012-09-03
Posts: 51,264

Re: SOLVED NFS mount, if unavailable login issues in gnome after gdm login

I have a conky gnome.desktop startup application which references these above mentioned NFS drives.

Which will subsequently try to mount them - as will anything that tries to open /media

Try adding ",intr,soft,bg" to the options and - yes, of course - check whether conky is the blocking process here.

Offline

#3 2018-06-25 12:24:40

ozooha
Member
Registered: 2009-09-29
Posts: 174

Re: SOLVED NFS mount, if unavailable login issues in gnome after gdm login

seth wrote:

I have a conky gnome.desktop startup application which references these above mentioned NFS drives.

Which will subsequently try to mount them - as will anything that tries to open /media

Try adding ",intr,soft,bg" to the options and - yes, of course - check whether conky is the blocking process here.

How do I know whether conky is blocking it...does it appear in the dmesg?

Offline

#4 2018-06-25 13:01:25

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,740

Re: SOLVED NFS mount, if unavailable login issues in gnome after gdm login

Disable/don't start conky and see if it's faster or not...

Offline

#5 2018-06-25 16:51:25

ozooha
Member
Registered: 2009-09-29
Posts: 174

Re: SOLVED NFS mount, if unavailable login issues in gnome after gdm login

So it works now - with/without conky i.e. it no longer hangs and goes straight right into the gnome desktop irrespective of the NFS drives' availablity.
This is how I wanted it.
I guess those  options -,intr,soft,bg did the trick.
What do those 3 options mean? Nevermind this site exlplains the options https://linux.die.net/man/5/nfs.
Thanks. Cheers.
OZooHA

Last edited by ozooha (2018-06-25 16:54:02)

Offline

Board footer

Powered by FluxBB