Posts: 1,028
SamK
Joined: 21 Aug 2011
#1
After a successful login, what is the appropriate point at which to start SMBnetFS unattended?

An entry could be added to ~/.icewm/startup but this has a drawback. The system has multiple user accounts and a range of user selectable window managers. Adding multiple entries (i.e. an entry for each WM for each account) is cumbersome.

Is there a single location that can be used to start SMBnetFS and is used by all WMs?
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#2
etc/rc.local
Posts: 1,028
SamK
Joined: 21 Aug 2011
#3
anticapitalista wrote:etc/rc.local
This seems to be run as root which prevents the expected use of SMBnetFS. Is there an equivalent to rc.local that is run as the logged-in user?
Posts: 1,062
Dave
Joined: 20 Jan 2010
#4
in your ~/.xinitrc, outside and before any window manager entries.
You will need to check with anti, or bitjam as I am not sure how it has been changed with .xinitrc and .xinitrc-custom.
Posts: 1,028
SamK
Joined: 21 Aug 2011
#5
Dave wrote:in your ~/.xinitrc, outside and before any window manager entries.
You will need to check with anti, or bitjam as I am not sure how it has been changed with .xinitrc and .xinitrc-custom.
OK, I'll wait for comments as you suggest. The downside to placing entries in ~/anything will require separate enties for each user. I was hoping to find a single location to place the command and rc.local seemed OK for a while.