Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
prevent gnome-3 from starting without a /home directory
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
luciano
Tux's lil' helper
Tux's lil' helper


Joined: 18 Nov 2004
Posts: 88

PostPosted: Fri Apr 19, 2013 12:53 pm    Post subject: prevent gnome-3 from starting without a /home directory Reply with quote

Q: Is it possible to configure gnome's start-up behaviour, so it refuses to start if the user's home directory doesn't exist? I'm no gnome-3.6 currently.

I'm currently using the wonderful pam_mount to mount my user /home directories on login via NFS. The way this works is that it creates and mounts your user dir e.g. /home/john.smith at login time, rather than system startup. When you log out, it then unmounts and deletes the user mountpoint, so only /home remains.

However, at times the network or NFS server may not be available. When this happens, by default gnome creates an empty user directory, e.g. /home/john.smith, and obviously a new gnome config, on the local hard disk. Which I then have to delete manually, because I don't want both a local home directory; I'm afraid I'll mistakenly delete the (remote) user dir one day when trying to remove this manually.

Anyway to prevent this behaviour?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum