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?
topic title: Automatically Starting SMBnetFS
5 posts
• Page 1 of 1
-
Posts: 1,028
- Joined: 21 Aug 2011
-
anticapitalista
Posts: 5,955
- Site Admin
- Joined: 11 Sep 2007
#2
etc/rc.local
-
Posts: 1,028
- Joined: 21 Aug 2011
#3
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?anticapitalista wrote:etc/rc.local
-
Posts: 1,062
- 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.
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
- Joined: 21 Aug 2011
#5
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.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.